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
0answers
24 views

Puppet agent unable to connect through Load Balancer

I am currently trying to setup a load balanced puppet infrastructure. I am using puppetserver for the puppet server(s) and puppet agent 3.7.3 for the clients. Currently I have four servers setup in ...
0
votes
0answers
48 views

Vcsrepo fails with gitlab

I want to pull some gitlab repositories using vcsrepo but for some reason it fails to execute. vcsrepo { "/tmp/repo/update": ensure => present, provider => git, source => ...
1
vote
2answers
51 views

Command file 'nagios.cmd#015' does not exist issue if passivecheck is sent to NSCA daemon

Introduction As /usr/local/nagios/etc/nsca.cfg is replaced by the default config if opsview has been restarted the reference to this file that resides in /etc/init.d/opsview was changed to ...
1
vote
0answers
28 views

How to make Supervisord read bash environment variables [closed]

I am using Supervisord to run my java application, which requires some environment variables for configuration. I am setting the environment variables in /etc/environment export ...
1
vote
1answer
13 views

How to access to the environment name in Puppetfile

I'm using R10K with Puppet. The Puppetfile is basically DSL: Because the Puppetfile format is actually implemented using a Ruby DSL any valid Ruby expression can be used. Ref: ...
0
votes
2answers
27 views

On a Windows system, where should I put the gemrc file so that Puppet can find it?

Running Puppet Enterprise 3.7. The Agent machine is a Windows 2012 Server R2 box. Question: Where do I put the gemrc file so that Puppet's internal ruby can find it? On Linux, the place to put the ...
1
vote
1answer
36 views

Puppet for Patch Management

I am thinking of using Puppet for massive patch management. The way to go with this, based on some research, is to create a class and apply it wherever you need, like in the following case: class ...
0
votes
1answer
39 views

Best practices for puppet module management with software development life cycle approach?

How do people organize their Puppet manifests and modules in your source code repository? I am not seeing any obvious way to implement changes in Puppet in a phased manner on a single Puppet master. ...
2
votes
2answers
36 views

Puppet master (3.6.2) error on signing puppet client (2.7.25)

I was hoping someone might have an answer for this: While upgrading overall from Centos6 to Centos7 I'm handling the upgrade for puppet's version. Our new puppet server's version is 3.6.2 and I'd ...
0
votes
1answer
25 views

Understanding exported resources in Puppet

In order to understand exported resources in Puppet the following documentation was read. After reading the documentation the understanding was that exported resources consist of declaring and ...
5
votes
2answers
54 views

Can Puppet run a shell script (that it downloads from the master) without saving it?

I have a step in a Puppet module that roughly does the following to set up some application keys: file { '/root/setup_app_keys.sh': ensure => file, owner => 'root', group => 'root', ...
0
votes
1answer
26 views

Puppet working with nested hashes and arrays

I want to checkout several SVN projects and I need to be able to choose the directory names for each branch or trunk. Now I want to check out the SVN project called svn_name in the folder service_dir ...
0
votes
1answer
29 views

Puppet and agent server with same host name but different private keys

I am trying to use puppet as follows in Amazon AWS: I deploy an instance which has hostname "server.example.com", which launches the puppet agent on boot and gets an initial software payload. I then ...
0
votes
1answer
21 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 ...
0
votes
0answers
28 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
35 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
30 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
0answers
22 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
0answers
38 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
21 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
46 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
0answers
16 views

How to use puppet repository modules (example :Archive) in manifest file

I am trying to install eclipse in vagrant managed virtual machine using Puppet provisioning. I am copying part my eclipse_download.pp file where puppet is throwing an error **Invalid resource type ...
0
votes
1answer
42 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
43 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
11 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
28 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 ...
4
votes
1answer
206 views

Puppet: New server unable to fetch configuration from puppet, with some ssl error, what could be the reason?

3 machines in the production environment had some HW issue and were decommissioned. The infrastructure team has re-installed them and gave them the same hostnames and IP addresses. On the ...
1
vote
0answers
40 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
42 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
31 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
34 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
58 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
44 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
58 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
34 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
54 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
0answers
23 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
68 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
71 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
27 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
26 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
52 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
60 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
44 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 ...
3
votes
2answers
317 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
31 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
9 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
58 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
26 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
13 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 ...