Puppet is a configuration management tool (Unix & Windows) with its own Domain Specific Language (Puppet or Ruby DSL). Puppetmaster is the central server for this tool.

learn more… | top users | synonyms

1
vote
1answer
31 views

Order of resource/class execution in puppet manifest file

I working on configuring CQ5 on vagrant managed virtual machine. The provisioning is done using puppet. I have query regards to the order of execution of classes/resources in puppet manifest file. ...
0
votes
1answer
29 views

Duplicate declaration: Exec[] is already declared in defined type

Please help me with solution to a problem I was facing , I am trying to install adobe CQ5(author/publish modes) using puppet script. I have defined instance.pp as defined type and passing ( ...
0
votes
0answers
22 views

Foreman can't import Puppet Environments

I'm running Foreman 1.7 with puppet 3.4.3. I've configured my environments using this: ...
-1
votes
1answer
39 views

puppet enterprise installation error

I am using puppet-enterprise-3.3.2-el-6-x86_64.tar.gz to install puppet enterprise, after installation I got ERROR: Could not install required packages--this may be due to a network failure or ...
0
votes
1answer
22 views

Puppet agent cannot find environment

Puppet master can find the environment, [user@puppetmaster]$ sudo puppet agent --configprint modulepath /etc/puppet/environments/development/modules:/etc/puppet/modules:/usr/share/puppet/modules ...
0
votes
1answer
10 views

Generate foreman-installer-answers.yaml

Is there a way to generate a foreman-installer-answers.yaml file from a current setup? After initially installing Foreman I changed a couple of things in the web interface and also used ...
-1
votes
0answers
20 views

unable to connect agent

I want to check whether my master refer abcd.hdt.com agent. I tried puppet cert name Warning: Setting manifestdir is deprecated. See http://links.puppetlabs.com/env-settings-deprecations (at ...
1
vote
0answers
25 views

Why would Puppet revoke a client's certificate?

We started getting an error from one of the Puppet-agents: Could not send report: SSL_connect returned=1 errno=0 state=SSLv3 read finished A: sslv3 alert certificate revoked Indeed, according to ...
0
votes
2answers
44 views

Halt the puppet master while Exec is running a script

I am fairly new to puppet and thinking if there is a way to apply a resource only after the command initiated by Exec completes it's job. My requirement is that I should schedule a backup job only ...
4
votes
1answer
45 views

Missing Puppet.conf

I'm configuring a puppet master server for the first time. I've completed the Pre-install Tasks I'm now working on the post-install tasks The Puppet documentation indicates that before starting ...
0
votes
2answers
62 views

how to check physical disk in puppet

I have below linux script cre_disk=$(ls /dev/sd[b-z]) for disk in $cre_isk do pvcreate $i done My understanding from the above code is, it is checking the sdb,sdc..sdz disk file. if it exist, then ...
0
votes
0answers
13 views

How to kick off puppet jobs via http api

Good day, I'm trying to figure out how I would go about telling Puppet (master?) to spin up a new VM and provision it with the specified settings. Basically, I have a form that a user fills out and ...
1
vote
1answer
45 views

Puppet: Unable to add physical volume

I want to create a physical volume in Puppet. Below is my code class lvm::crelvm { physical_volume { '/dev/sdb2': ensure => present } volume_group { 'vg_cas': ensure => present, ...
1
vote
2answers
26 views

multiple array in def

I have two file class hadoopfile::file { $diskname = [aaa,bbb,ccc,ddd,eee,'] $filename = [02,03,04,05,06] hadoopfile::diskcreate_def { '$diskname:','$filename:' } #hadoopfile::diskcreate_def { ...
0
votes
1answer
30 views

How to seperate the CA server from Master (basic setup)?

I followed Centralize the Certificate Authority guide to seperate my ca from the master however I'm running into trouble. My Setup Hosts file I have the following in the /etc/hosts file on all ...
0
votes
1answer
35 views

future parser error in puppet

I have below code class dummy::eachtest{ $filename = [1,2,3] each($filename) |$value| { file {'/etc/dummy/manifests/${value}': ensure => 'directory', } } I got below error when I compile ...
-1
votes
1answer
27 views

Puppet-dashboard with two CAs

On my company we have two puppet master with a ca on each one. Each puppet master manages its own puppet agents The puppet-dashboard certificat is signed by the first ca, however it gathers repots ...
6
votes
2answers
179 views

Can Puppet File Source be from a web service?

Is there a (simple) way to have puppet use a file available on the internet for the Source property of a File? eg: file { "/home/text.txt": source => [ "http://www.example.com/text.txt", ...
5
votes
2answers
93 views

Puppet: Can't manually generate cert and issue cert request over API

I've spent far too much time trying to figure this out now, and I could really need a pointer. The tl;dr is that I need to manually generate a certificate on one node, and then issue a certificate ...
0
votes
1answer
66 views

Use puppet to change the IP address on the nodes

I have 3 CentOS nodes. Each of them has 2 IP addresses: 10.0.1.* (eth0) and 192.168.1.* (eth1). All of them have puppet installed and there is a master puppet server for managing configuration in ...
1
vote
1answer
55 views

puppet server hostname does not match certificate - can't authenticate.

I know this question has been asked before in many different variant. I read all the post related to the problem but I cannot get agent and master talking to each other. I boot up 2 vm via vmwork ...
0
votes
1answer
277 views

How to get Run Puppet button working on Foreman?

First of all, I know there is already a very similar question here on serverfault, but it doesn't quite answers my problem. So, my setup is the following: I have one server, running Ubuntu 14.04 LTS ...
0
votes
1answer
23 views

Creating a self-governing puppetmaster (puppetlabs)

I am working on my first puppetlabs puppet installation. I have a question concerning the overall setup. Is the puppetmaster able to govern it's own server as it governs its puppet agents? Is there ...
1
vote
1answer
30 views

Puppet manifest versioning

How does puppet manifest versioning work? I can't find any documentation around this area. Most stuff I read so far says to check in to svn and do update on puppet master, but unless a puppet client ...
1
vote
2answers
131 views

What is required to transition a puppet installation to use directory environments?

I am currently running a small puppetmaster + client configuration that is not utilizing Puppet's directory environment feature. My puppet version is 3.6. I have tried the following: On the ...
-7
votes
1answer
85 views

Use puppet to update Yum repository [closed]

I have just started working on puppet and successfully installed the master server and agents. As part of my test, I am of the understanding that Puppet can replicate my configuration to the different ...
0
votes
1answer
70 views

What does r10k provide since Puppet natively supports directory environments?

I'm just starting to read about r10k because I love the fact that it can create dynamic environments based on Git branches. Now, I just read that Puppet can do this without r10k. What does r10k ...
1
vote
1answer
294 views

The Foreman Provisioning Preseed default finish wget erroring

im new to foreman and puppet. I'm not sure what I changed but now my provisioning templates aren't running. Ubuntu installation fails with exit code 8 with the following screen: i found out that ...
0
votes
1answer
316 views

puppet cert list -all: Error: header too long

I tried restarting my puppet master but the error still persists. Also see it from all the puppet agents that try to join. puppet agent --server puppet.example.com --waitforcert 60 --test --verbose ...
3
votes
1answer
79 views

Centos 5 - Using official repository to upgrade manually installed Puppet server

I have Puppet server version 2.6.4 that was manually installed using RPM packages directly (instead of using Yum to fetch packages from a repository). Now I want to upgrade it to the latest version ...
0
votes
1answer
65 views

Puppet master receiving a YAML error after upgrade to 2.7.25-2

Our puppetmaster server was upgraded to the latest available on RHEL6 (puppet-2.7.25-2.el6.noarch). We are now receiving errors such as this on the master: Aug 26 11:36:59 master1 ...
0
votes
1answer
105 views

Audit says nothing to do, yet puppet won't run with SELinux enforcing

I'm determined to get my puppet master running with SELinux set to enforcing. If I make it permissive, it runs fine. I'm on RHEL 7, with systemd, apache2, passenger 4, and puppet 3. I've gone ...
1
vote
1answer
73 views

Puppet Enterprise 3.3 Not Adding Modules to Classes

I am running Amazon Linux with a stock install of Puppet Enterprise 3.3. When I launch the command: puppet module install puppetlabs-ntp As per the puppet labs documentation, it does not show up ...
1
vote
0answers
271 views

Puppet Enterprise 3.3 on RHEL 7 - Error: Could not find terminus console for indirection node

With a fresh install (monolithic) of PE (Puppet Enterprise) 3.3 on RHEL (Redhat Enterprise Linux) 7 I'm currently getting the following error: ... Info: Loading facts in ...
1
vote
1answer
191 views

How can I diagnose and speed up slow Linux puppet sync?

I'm running puppet and it functions okay, but it's taking about 15 minutes on a sync without any changes, and it seems to me that this shouldn't take more than a minute or two. Here are some stats: ...
1
vote
1answer
921 views

puppet-master/foreman “undefined method `[]' for nil:NilClass on node” after update

After updating my puppet-master from 2.7 to 3.6.2 I get the following message when running puppet agent on a node: err: Could not retrieve catalog from remote server: Error 400 on SERVER: undefined ...
1
vote
0answers
91 views

Puppet Enterprise and parser=future error. Uninitialized constant Puppet::Pops

When trying to set parser=future on PE I get this error Could not autoload puppet/indirector/node/console: uninitialized constant Puppet::Pops This works using open source puppet 3.6 but not with ...
0
votes
0answers
2k views

PuppetDB: Connection refused

I'm trying to get PuppetDB to run on my puppetmaster machine. The problem is that I always get the following message when doing an agent run: err: Could not retrieve catalog from remote server: Error ...
3
votes
0answers
32 views

advantages of using puppetmaster over git pull [duplicate]

I am currently setting up puppet for a network of around 30 servers in a master / agent setup, but since I am using the open source version of puppet, is there really any advantage of using a ...
1
vote
1answer
30 views

Intelligently handling puppet master unavailable (almost caching)

Is there a good way to set up caching for Puppet, specifically templates? I have a number of modules that would be really, really useful to have available in a DR situation. Proposed Solution I know ...
-5
votes
2answers
59 views

How to Install automatically PE agents in different Nodes?

I am new in Puppet. I am done for installing PE Master. I am done for install and setup Two PE agents. My question is how to automatically install PE Agents in different Nodes or Virtual machines. ...
-1
votes
1answer
63 views

Nested Puppet Resources

Iv recently installed a puppetmaster and im trying to configure a puppet class with a nested resource. eg. class base { user { 'testuser': name => 'test', ensure => ...
2
votes
1answer
2k views

Puppet agent -t results in error: Failed to generate additional resources using 'eval_generate:

This problem occurs intermittently. I first experienced it yesterday, and I simply restarted from scratch and it disappeared but just came back today. I'm running Puppet v2.7.11 on EC2 servers running ...
0
votes
2answers
163 views

Unable to install Puppet Server

I am encountering an error when installing Puppet Server on CentOS6.5. I pulled down the repository for my yum install: rpm -ivh http://yum.puppetlabs.com/puppetlabs-release-el-5.noarch.rpm After I ...
6
votes
6answers
371 views

Version Controlling Foreman & Puppet

I have just setup Foreman for the first time & am not sure how to go about putting all of my configurations under version control. I know I can use Git for each module I install on my Puppet ...
1
vote
1answer
505 views

puppet: how to submit command “yum update” to all agents?

I'm new to puppet and trying to create manifest which will request all agents to update all currently installed yum packages. What should be the best way to describe this in manifest?
1
vote
1answer
147 views

Puppet 2.7 Ensure file on client updates when puppet:///file is updated on Master

I have a Perl script that I pushed out to all my Puppet Linux clients. I have since edited my script, module/modulename/files/scripts/a_script script on the Puppet master, but the clients don't get ...
2
votes
1answer
30 views

Puppet master executes a catalog on itself

Can a puppet master execute its catalog on itself? I want to automate some tasks on my master server. The best would be to create a node for the master server and apply the catalog directly. If it's ...
2
votes
1answer
380 views

Different hiera hierarchy per dynamic environment

Is it possible to define a separate hiera.yaml for a given environment? Currently I am using dynamic environments. Each one has it's own hiera data directory, per my hiera.yaml file. :yaml: ...
1
vote
1answer
89 views

How do you upgrade puppet on Apache / passenger on EL6.4?

I have a Scientific Linux 6.4 server running apache / passenger with puppet-server installed. Also installed is Foreman 1.4. When I upgraded my agents to 3.4.2, they started all logging: Using less ...