Puppet is a configuration management tool (Unix & Windows) with its own Domain Specific Language (Puppet or Ruby DSL)

learn more… | top users | synonyms

0
votes
1answer
31 views

With directory environments enabled, does the form of a Puppet URL change?

We upgraded to Puppet 3.7 and some things stopped working. Some files that we refer to using puppet URLs are not found by Puppet Enterprise anymore. The biggest change is that we are now using ...
1
vote
0answers
131 views

Sensu/Uchiwa - No 'checks' listed

I've configured Sensu and Uchiwa using Puppet. I have clients reporting in, and raising events when checks fail. I have checks in my server's /etc/sensu/conf.d/checks/ folder, created by Puppet, for ...
2
votes
1answer
52 views

Puppet: how do I run a configtest before restarting a service

Is there a way to run a configtest utility (e.g. apache2ctl -t) before trying to restart a service when one of its configuration files changed? Use case here is that I want to be resilient against ...
1
vote
2answers
68 views

Configuring PAM with Augeas

I am attempting to use Augeas to configure the files in my /etc/pam.d directory in a default Ubuntu 14.04 install. My goal is to find all nodes that have an argument of either 'nullok' or ...
0
votes
1answer
94 views

Copy and rename files matching a pattern

I have this bash script that I would like to translate into puppet: for f in $PROJECT_DIR/config/*.example do cp -n "$f" "${f%\.example}" done Essentially, find all files matching a certain ...
3
votes
1answer
87 views

How should I handle Mint instances with Puppet?

I use Puppet to set up VMs from time to time. Sometimes I run Linux Mint on these VMs. I have a lot of Puppet modules I like to use, but when they check the LSB facts they recoil from the strange ...
0
votes
1answer
66 views

mcollective - different ruby path/environment

How do I tell the mcollective server to use a different ruby path, or otherwise control the ruby environment? I'm running on Centos 6.5, and have installed the ruby193 collection onto the servers and ...
2
votes
1answer
120 views

Puppet ensure file is directory OR link. Or ensure directory only if absent?

2 CentOS servers that I'd like to apply the same manifest to. The manifest creates a user with a custom home directory location under /var/username Problem is on one of the servers /var/username has ...
0
votes
1answer
68 views

unattended update PCs via foreman

I have recently became responsible for about 50 workstations running Mint Linux 17. The PCs are used for very basic data entry and only require a working browser. Although i'm told the PCs basically ...
3
votes
1answer
162 views

Configuring Puppet to set up Cinder with GlusterFS

I've spent quite some time now attempting to configure Puppet so that it will setup Cinder to use GlusterFS as the backend, rather than the LVMISCSI backend, but I haven't had any luck. Versions: ...
0
votes
0answers
18 views

Cobbler doesn't honor remove_old_puppet_certs_automatically parameter

I have setup cobbler with puppet and everything is working fine, except that cobbler does not honor the remove_old_puppet_certs_automatically parameter. I am still in testing phase so I will be ...
1
vote
1answer
37 views

Puppet: How can I decide the order of module loading?

I'm using Puppet in my environment to automatically configure the Linux servers. There are many puppet modules configured and it works like a charm. There's a motivation to allow a specific user ...
5
votes
1answer
2k views

New server unable to fetch configuration from Puppetmaster due to some ssl error

Three machines in the production environment had some hardware issues and were decommissioned. The infrastructure team has reinstalled them and gave them the same hostnames and IP addresses. On the ...
0
votes
0answers
116 views

Could not find terminus puppetdb for indirection facts

I'm attempting to install PuppetDB but I'm running into an issue when executing puppet -t. I'm getting: Error: Cached facts for puppet.asc.ohio-state.edu failed: Could not find terminus puppetdb for ...
1
vote
0answers
332 views

PuppetDB: unable to get local issuer certificate

I'm attempting to use puppetdb on but I'm running into some issues. I have a node called puppet. It is the master as well as where I've installed puppetdb. It's also a node that puppet manages. ...
0
votes
1answer
50 views

Cobbler with puppet - slow in installing packages

I have setup cobbler that runs puppet automatically after OS installation. It works fine, except that it takes a while for puppet to install all of the packages. This is still a testing phase, so it ...
1
vote
1answer
48 views

Cobbler and puppet with multiple clients - best setup?

I have setup a cobbler and puppet and they are working fine (quite). I am still in a testing phase, so all testing are performed on a single client server. However, in the real environment, this ...
1
vote
2answers
388 views

Run puppet exec command only if output file has changed

I am using an exec command to run a shell script which modifies certain configuration files of other packages. The exec command is triggered whenever input parameters such as ip addresses, ports or ...
0
votes
1answer
94 views

Puppet Master attempts to resolve agent hostname

Running puppet agent -t from a non-dns resolvable client dumps out the following from a puppet master running in verbose mode: Error: Could not resolve 10.110.x.xx: no name for 10.110.x.xx (Where ...
1
vote
1answer
468 views

Puppet Dashboard giving “The environment must be purely alphanumeric” error under Passenger

Please refer to this gist for the puppetmaster.conf and dashboard-vhost.conf files. I have my Puppetmaster (3.7.3) running on CentOS 6.5 under Apache and Passenger on port TCP/8140. It works fine. ...
1
vote
2answers
79 views

How can I test the date in puppet to implement a temporary rule?

What's a good way to test the current date/time in puppet in order to implement a temporary change? e.g. we've just had a security issue with NTP, and it took a while for Debian to come out with an ...
1
vote
1answer
197 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. ...
1
vote
1answer
41 views

Is it possible to execute «unless» clause as a specific user?

Background: I am upgrading our lxc puppet module to support the emerging unprivileged LXC technology. The code that creates the container is executed unless the following test if the container ...
0
votes
1answer
339 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 ( ...
-1
votes
1answer
178 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 ...
-1
votes
1answer
30 views

puppet enterprise3.7 installation validation

I have installed puppet 3.7, to validate I referred yum.log,install_log and used command puppet --version. Is there any command to validate for successful puppet installation. Also I would like to ...
1
vote
0answers
54 views

Can not access www with puppetlabs apache module

The vhosts are managed with the puppetlabs-apache module and I can not access the website with www but I can without it. When i use www I get a blank page and there are no errors an any logs and non ...
0
votes
1answer
92 views

Is there a way to upgrade OS using Puppet without exec to run yum?

We will be upgrading our RHEL 6.5 machines to RHEL 6.6 in the coming week. I know how to create repos using Puppet, but instead of just using exec to run a yum -y update, is there a way to tell Puppet ...
2
votes
2answers
271 views

Why aren't my puppet variables getting assigned by Vagrant's puppet.facter options?

Given that the following is config'd in my Vagrantfile: puppet.facter = { 'variableOne' => 'one', 'variableTwo' => 'two' } ... and the following is in the manifest: notify{ "Got here ...
4
votes
1answer
83 views

Puppet: How to skip restart during package upgrade until config is replaced?

I'm trying to get Puppet to upgrade our Varnish 3 servers to Varnish 4, a major update which requires an updated config file or it won't start. This is on Ubuntu 12.04. The Varnish module is ...
4
votes
2answers
1k views

Ansible, Chef, Puppet or ____ : Which has the strongest Windows support and smallest init footprint

We do mostly (but not exclusively) win servers. Preferably, we can start the OS and do little or nothing to it to make it ready to receive commands (we know we may need to create a base image with ...
0
votes
1answer
41 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
0answers
10 views

Is it possible to exclude certain directory sync from Puppet reports?

For some of my Puppet nodes I need to sync a directory with about 50K files. I noticed that yaml reports for these nodes are huge - about 50M every one. Is it possible to decrease verbosity of logging ...
1
vote
1answer
149 views

setting up suPHP with puppetlabs/apache on centos 6.5

I am trying to set up suPHP on a centos 6.5 box with the puppetlabs/apache module. Apache Configuration file { "/var/www/vhosts": ensure => "directory", owner => "root", ...
2
votes
0answers
30 views

Creating a CA signing chain when there wasn't one before

Here is the problem... 3 years ago we created a multi-datacenter setup, with as little cross-DC resource dependencies as we could make. Different AD sites. Different puppetmasters. Different syslog ...
0
votes
0answers
16 views

Using yum-builddep instead of yum install in Puppet

Is there a simple way to change the default behaviour of yum when installing packages to for instance instead of doing a yum install instead use yum-builddep to install only the dependencies of a ...
1
vote
2answers
208 views

Puppet Augeas with /etc/hosts

I'm fairly new to Augeas, but I've been told it is the tool for modifying config with puppet. I'm trying to create a simple class that adds a line to /etc/hosts if it doesn't already exist. ...
0
votes
1answer
36 views

How can I use a rubygem in a puppet provider on debian stable?

I'm trying to use a puppet provider which requires a ruby gem. It's being run on Debian stable (wheezy), but I get the following error: err: Could not run Puppet configuration client: no such file ...
0
votes
1answer
46 views

Puppet (machine) State

I'm trying to wrap my head around Puppet, to be able to tweak our automatic build/deployment process. The one thing that I'm missing at the moment is a concept of a "state" the machine can be in: if ...
0
votes
1answer
68 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 ...
0
votes
1answer
85 views

How to instantiate multiple instances of the same resource using Hiera

Using Hiera, is it possible to instantiate two classes with different properties? I know I can do add to my node declaration: user{'francois': uid => 1000, # ... } user{'julien': uid => ...
0
votes
2answers
204 views

Using Puppet to sync two directories

I have a bunch of servers that have two directories on them that need to be in sync. For instance, on the same server i might have /var/path/to/dir1 and /var/path/to/dir2 which could have files and ...
1
vote
2answers
52 views

Puppet not recognising packages (which exist in yum) in Centos

I am trying to install a package in Centos using puppet. The package can be installed using yum install (sudo yum install bash-completion), but puppet says it doen't exist! (I have had this problem ...
1
vote
0answers
54 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
96 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 ...
1
vote
1answer
256 views

How to solve No request sent, we did not discover any nodes while trying to run Puppet using MCollective?

MCollective [vagrant@localhost ~]$ mco ping localhost.localdomain time=117.12 ms ---- ping statistics ---- 1 replies max: 117.12 min: 117.12 avg: 117.12 [vagrant@localhost ~]$ ...
0
votes
1answer
66 views

Deploying distributed apps with Puppet - advice?

I'm looking into migrating our deployment process over to using Puppet. I'm starting by deploying the third-party apps we use for the system, which include Solr Cloud orchestrated by a Zookeeper ...
4
votes
1answer
83 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 ...
2
votes
2answers
112 views

How to subscribe to package coming from array of Hiera?

I've got the following in my hiera definitions: # common.json { "classes": [ "sysbase", ], "sysbase::packages": [ "less", "build-essential", "bash" ] } # dev.local.json { ...
0
votes
2answers
132 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 ...