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
18 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
25 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
18 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
1answer
31 views

Puppet: how to run an exec only if puppet has made changes

We are doing basic management of some servers via puppet - The servers themselves run as part of a clustered system that handles other aspects like user accounts etc and includes a monitoring script ...
0
votes
2answers
26 views

Puppet node does not pull changes from master

I have followed the following three How-To's http://terokarvinen.com/2012/puppetmaster-on-ubuntu-12-04 https://help.ubuntu.com/12.04/serverguide/puppet.html#puppet-installation ...
-2
votes
0answers
44 views

Chef or Puppet or other [closed]

Currently for server management I'm using Sprinkle scripts https://github.com/sprinkle-tool/sprinkle This tool was ok, when we managed 3-5 servers. Now we have more and more nodes coming, in that case ...
1
vote
1answer
42 views

Puppet class / node dependencies

as many people, I have a class dependency problem with puppet. Either one class gets executed too early or I end up in a dependency cycle. Following setup: node foo: require base include ...
3
votes
0answers
28 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 ...
2
votes
1answer
56 views

How to install and run Puppet Device in order to configure Cisco Switches and Routers?

According to this documentation it should be possible to configure a Cisco Switch by using the Puppet Module Device. Where could this module be found? Is this module restricted to Puppet ...
0
votes
1answer
31 views

Foreman environment import

I have foreman installed on an ubuntu 14.04 server. Now following problems: I have installed many puppetlab modules (puppetlabs/apt, puppetlabs/ntp, etc). After a click on "Import from..." I were ...
-1
votes
1answer
38 views

puppet logical conditions- “onlyif” and “unless” not working

I have written the following code and this works fine if swap is not in place, but once swap is created and if the script is executed again, it leads to error. I tried adding conditions using onlyif ...
0
votes
1answer
32 views

Management of system directory in linux using git

I'm using puppet to manage my linux systems. I have to use /etc/puppet directory to keep manifest files instead of user home directory, and I want to manage them by git. But because /etc/puppet's ...
1
vote
1answer
16 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 ...
0
votes
1answer
35 views

Manage workstations with Puppet and TheForeman

I'm building an IT infrastructure for managing all the workstations in my company. I am interested in Puppet and a external node classifier as The Foreman, but I see all the time that Puppet and The ...
2
votes
1answer
26 views

File resource should not skip files if a separate file resource exists in the puppet project

It seems like puppet does not copy a file which is part of a recursive resource, if there is a separate definition for that file somewhere else. Is there a way to avoid this? For example this does ...
0
votes
1answer
14 views

MCollective metadata refresh returns: Host name lookup failure

With puppet installed, the command /opt/puppet/sbin/refresh-mcollective-metadata is run every 15 minutes. It loggs hostname: Host name lookup failure when it runs. hostname, hostname -i, and hostname ...
0
votes
1answer
28 views

Puppet augeas fails on insert with lens and incl specified

The augeas insert command is throwing an error if I specify a lens and incl in the resource. I haven't really been able to find anyone with a similar problem. When I include the following resource it ...
5
votes
1answer
33 views

Exclude named pipes and sockets in Puppet

We have an application which spawns named pipes (type p) on the fly. We want to manage the other files of the directory where the pipes are spawned with Puppet. Is there a simple way to tell puppet to ...
0
votes
1answer
42 views

puppetlabs/firewall - “Could not find resource type 'firewall'”

I'm fairly new to puppet, so this might just be me not seeing the obvious. I want to use the puppetlabs-firewall module and wrote a small module of my own. The init.pp looks like this: class ...
0
votes
1answer
56 views

Install php 5.5 on centos with puppet

I am trying to get a more recent version of php and mysql on a centos 6.5 x64 box. I added the yum repos epel and remi and have the remi as a dependency for php but it will not install. The error I ...
1
vote
1answer
38 views

external fact not available at very first puppet run

Introduction: We are using puppet to configure the nodes via a custom fact which is then referenced in hiera. The fact can either reside in the golden image in /etc/facter/fact.d/ or via pluginsync ...
1
vote
1answer
58 views

Puppet random password generating

I am going to install around 100 mysql servers and I would like to have different root password on every of them. I am going to use puppet mysql (https://forge.puppetlabs.com/puppetlabs/mysql) which ...
2
votes
2answers
41 views

Puppet - determine if another host is reachable?

Is there any ready way / custom fact / etc to be able to have Puppet respond differently if a given host and port isn't available from the managed system? For example I have some products that use ...
-5
votes
2answers
28 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. ...
2
votes
1answer
83 views

Vagrant's puppet provisioner not reading hiera.yaml backend correctly?

I have a puppet problem that is specific to the way that Vagrant uses the manifests/modules/hiera-config with its puppet provisioner, since a "puppet apply site.pp" works fine in the resultant vagrant ...
2
votes
0answers
34 views

A testing framework for Linux server configuration management

We are a medium sized shop that uses Puppet for Linux configuration management. Since we are a small shop, it's difficult to deploy and maintain DTAP environment. We normally perform manual testing ...
0
votes
1answer
23 views

Reapply a template at different points with different variable values

I don't appear to understand how to change the content of a file resource a different points in the application of Puppet manifests. I'm using this with Vagrant to set up a dev environment. I want to ...
2
votes
2answers
37 views

Puppet sshkey collection for non-puppet systems

On my systems I use the exported resources, and resource collection to manage the /etc/ssh/known_hosts ref of my systems. This works great for all my SSH hosts that are managed via puppet. But I ...
4
votes
1answer
97 views

Can Vagrant point to a directory of Puppet manifests for execution?

I am using Vagrant to jump start some initial Puppet config and am confused on how to include/run multiple manifests (other than just site.pp) in the puppet execution workflow without making the extra ...
0
votes
2answers
87 views

Foreman installation on amazon ec2 instance

Hi there and thank you for reading, I am currently in the process of setting up a puppet service for our ec2 instances and decided to give foreman a try (node certificate management and automatic ...
0
votes
1answer
32 views

Vagrant is creating files and folders in my project

Recently I updated Vagrant (v 1.6.3) and I noticed that in the folder of my project there are some new folders and files like: d20140610-11944-1j6n1cz/ d20140610-15421-1pkz3t8/ ...
1
vote
0answers
51 views

need help writing puppet module for sssd.conf using Hiera

I need to build a module to manage /etc/sssd/sssd.conf on our Red Hat VMs. The sssd modules published on the forge don't seem to do what I want, nor do I feel like forking any of them. I want to keep ...
1
vote
1answer
50 views

Puppet, Windows, and UAC

Is it possible to use Puppet on Windows where UAC is enabled? Does Puppet have any method for automatically saying yes to UAC prompts for a software install? My module does the following workflow: ...
1
vote
1answer
99 views

Facter - custom fact, returns empty data set when invoked by Puppet agent

According to this puppet labs article, I can create custom facts from shell scripts. I have created a bash script that returns a single fact, it is packaged in a modules facts.d directory. The module ...
-1
votes
1answer
98 views

Install PHP 5.3.X, PHP 5.4.x and PHP 5.5.x in the same environment using Puppet

Anyone already tried to install these three version using Puppet in Ubuntu? I have a VM that is managed by Vagrant and I want to have these three version so I can specify which PHP version I should ...
1
vote
1answer
48 views

On MacOS X, can I configure Wifi from Puppet or the command line?

I would like to create entries for the company's Wifi in every Mac via Puppet. Is this possible? (or if it is possible from the command line, I can figure out how to do it in Puppet)
0
votes
0answers
21 views

Can MacOS VPN be configured via Puppet (or the command line)

I run Puppet on MacOS X. I want to configure the Cisco VPN client using Puppet. Is this possible? (Or ... if it can be done from the command line, I can figure out how to do it in Puppet).
0
votes
2answers
44 views

Hiera datatypes wont load in Puppet

I have spent a couple of days on this, followed the instructions on http://downloads.puppetlabs.com/docs/puppetmanual.pdf and even the Puppet Training Advanced Puppet manual. When I run a test ...
1
vote
0answers
33 views

Renaming an OpenVPN server - how to keep from losing all clients?

I have been instructed to change the domain name on a bank of servers. One of these is for OpenVPN and I'm wondering how best to do this without cutting off all the clients. Each client is also ...
0
votes
1answer
30 views

Puppet: Nagios with regex node names

I am configuring a puppet master and want to rely heavily on hiera. Many of my systems will be almost identical due to being scalable. I have therefore created node manifests which use regex rather ...
0
votes
1answer
40 views

Need help writing a wrapper for Hiera yaml data

This post seems like it might be helpful but I haven't been able to adapt it to my needs. The meat of it is: $custom_thing = ('custom_thing',{}) create_resources(param, $custom_thing) full post on ...
0
votes
1answer
45 views

Hiera concatenated lookup from yaml

I am trying to configure the puppet-logstash module via Hiera. When I make the call to hiera('profiles::logstash::config'), the return value is a concatenated string. It tells me that it cannot ...
1
vote
1answer
56 views

puppet-logstash module produces a blank logstash.conf

I am probably confused on the proper usage. I have setup the configuration of my shipper using Hiera: classes: - os::repo - profiles::logstash::shipper logstash::configfile: 'input_file': ...
0
votes
1answer
25 views

cluster of services and restarting on package upgrade

I'm using puppet to manage a bunch of servers. Those servers run a simple service - exposed to the world via load balancer. That service's instances are independent in that they can run on their own, ...
1
vote
4answers
56 views

How do I use saz-sudo puppet module to deploy my own sudoers file with hiera?

I have saz-sudo installed and have created a site_sudo module based (I hope) on it. Here's what I have in my site_sudo/manifest/init.pp file: class { 'site_sudo': } sudo::conf { 'web': ...
1
vote
1answer
42 views

Puppet on Windows failing silently

None of my newly added Windows Puppet nodes seem to work, though none give errors. My Linux nodes work fine. I tried this line below in my nodes.pp, and a puppet kick runs without error, but does ...
-1
votes
1answer
38 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 => ...
1
vote
1answer
136 views

Puppet Duplicate declaration errors with virtual defines

I'm trying to use puppet to add all my users to a system and add all of them to a single group. However, I keep getting Error 400 on SERVER: Duplicate declaration: Group[users] is already declared ...
4
votes
1answer
30 views

Puppet implicitly includes a class?

A fellow engineer came to me with an interesting puzzle. He discovered that third party module (docker, in this case) which contains a class he wants to customize with parameters is not referenced ...
3
votes
1answer
82 views

“net ads join” fails in puppet exec but runs OK directly from command line

I have the following exec that joins a Linux (CentOS 6) host to an Active Directory domain. When run as root from the bash terminal, it runs successfully and the host is joined to the AD domain ...