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

learn more… | top users | synonyms

5
votes
0answers
317 views

Puppet Error: undefined method 'captures'

I posted this question on the networkengineering SE site, but it was determined to be off topic.... blah. I'm toying with the idea of using puppet for core network device configuration to increase ...
3
votes
0answers
1k 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. ...
3
votes
0answers
431 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 ...
2
votes
0answers
37 views

Disabling ctrl+alt+delete in systemd with logging

I'm trying to update some of my Puppet manifests that disable CAD on RHEL machines. Right now I'm doing it the over the top way on systemd: masking (ie. linking to /dev/null) $ctrlaltdel_process = '/...
2
votes
0answers
42 views

Can't figure out how to use schedule and tidy resource in puppet

I have puppet code, that I can't manage to get to work: schedule { 'daily_once': period => daily, repeat => 1, } node 'puppet1' { tidy { '/opt/puppetlabs/server/data/...
2
votes
0answers
172 views

Understanding packets dropped by iptables from puppetmaster

I am seeing packets getting dropped during my puppet client runs on a semi regular basis. And I do not understand what is causing this. I should mention that Puppet is managing the firewall rules ...
2
votes
0answers
194 views

Centralized ubuntu update server

I am in the process of configuring a Central Update Server so we can better manage the security updates on our ubuntu based cloud servers. Here is my plan so far Install apt-mirror on cloud instance ...
2
votes
0answers
46 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 ...
2
votes
0answers
6k 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 ...
2
votes
0answers
241 views

Puppet Split function fails

Problem Puppet split function fails since Puppet has been upgraded puppet to version 3.5.1, while this worked until 3.4.3 Code 1 $ports_regex = "80\\|443" 2 3 $ports_string = regsubst($...
2
votes
0answers
201 views

How do I obtain the ssh public key from my VSphere ESXi 5.1 host hypervisor residing in vcenter with puppet-enterprise cloudprovisioner

I am using the learn puppet 3.1 vm and trying to connect to a host hypervisor. I followed the instructions to create a .fog file under root which includes a yaml hash, and I read that the yaml hash ...
2
votes
0answers
77 views

Puppet variables best practice, generalise or specialise?

I'm trying to figure out which things should be in git within the puppet manifest and which should be in env vars like FACTER_my_var and use that in the manifest instead. Scenario: you are deploying ...
2
votes
0answers
631 views

Puppet/Hiera: Error 400 on SERVER: undefined method `empty_answer' for Hiera::Backend:Module

I had a puppet master running for quite some time. After a restart of the process recently, I started getting: # puppet agent -t info: Retrieving plugin info: Loading facts in /var/lib/...
2
votes
0answers
1k views

Puppet Error - Must pass puppet_server to Class[Puppet::Agent]

I am receiving the following error using a puppet module on my Puppet master to manage both master (Apache / Passenger) and agent [ashinn@puppet1 ~]$ sudo puppet agent --test Info: Retrieving plugin ...
2
votes
0answers
4k views

Puppet gives SSL error because master is not running?

I started with two clean machines this time. My master is running 12.04 Version: 2.7.11-1ubuntu2 Depends: ruby1.8, puppetmaster-common (= 2.7.11-1ubuntu2) My client is 10.04 Version: 2....
2
votes
0answers
801 views

Puppet apache vhost automatic deployment

Hi there puppeters :), I hope you can help me with a situation. Namely, I will use puppet to deploy many (I mean really many) nodes with Apache installed. The problem I have is that for now the only ...
2
votes
0answers
222 views

Clean up old Domain Name for Nodes in Puppet Dashboard

I changed the domain name for some servers, i.e. web1.foo.com to web1.baz.com. In my Puppet Dashboard, I see two entries now for the same server. I can destroy a node with something like rake node:...
1
vote
0answers
8 views

mcp puppet runonce not executing manifests

I am using mcollective with puppet . The setup is successful . But when I apply manifests , the manifests is not getting executed . My manifests is as follows: node default{ } node 'Node-009....
1
vote
0answers
20 views

puppet master is not executing autosign script

I have created a shell script to autosign Puppet certificate requests at /etc/puppet/autosign.sh and have configured this path in the puppet master's configuration. autosign = /etc/puppet/...
1
vote
0answers
23 views

Setting dnsmasq_config_file with Puppet managed OpenStack installation

Our OpenStack installation is rolled out with Puppet. We use the excellent puppetlabs-openstack module for that. Due to the slow turnover cycles we are still stuck with version 5.0.2, right now we ...
1
vote
0answers
32 views

How to manage clusters with foreman/puppet

I need to deploy i.e. three distinct Zookeeper clusters. Each server inside a cluster should be configured to know what its ID is (and create a myid file). Also every Zookeeper server needs to know a ...
1
vote
0answers
26 views

How to maintain empty directories recursively via Puppet

We have a puppet module which contains s class which creates a bunch of directories on a Linux filesystem: class dim_dcm::dirstruct::workflow () { file { "/opt/dirstruct/etc": ensure => '...
1
vote
0answers
70 views

Periodical changes in Remote Host Identification (SSH) on CentOS 6

I have this following error when I tried to connect using SSH: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ @@@@@@@@@@@@@@@@@...
1
vote
0answers
51 views

Getting puppetlabs-apt module apt::ppa working in puppet hiera

I'm using the puppetlabs-apt forge module together with hiera in puppet 3.8.5. Adding apt::sources works: apt::sources: 'ubuntu': location: 'http://server.com/ubuntu' release: "%{::...
1
vote
0answers
30 views

hiera_hash/hiera_array in foreman?

Is there a way in foreman to have puppet variables appended from parent host groups? Example of desired functionality: AllHosts: ssh_allow[10.1.1.0/32] AllHosts/publicHosts: ssh_allow[71.0.0.0/8] ...
1
vote
0answers
50 views

Permission error when puppet-agent requesting ssl certificate on fedora 23

I recently set up puppet server/agent instances on separate vm both running fedora 23 workstation. When requesting a certificate from agent I get the following error: Error: Could not request ...
1
vote
0answers
70 views

Foreman and puppet notify resource in node report status

We're using Puppet + Foreman to monitor changes in environment by checking custom facts. For example, whenever a custom fact equals 'true' puppet calls the Notify resource with a message sent to the ...
1
vote
0answers
51 views

Puppet missing deprecation warnings

I'm running a Puppet 3.4.3 master which I use to provision VMs. I noticed that a lot of deprecation warnings I can see when provisioning locally are missing when using the server as master. (For ...
1
vote
0answers
52 views

Use puppet to deploy bareos/bacula to server and clients

I'm not sure if this is the right place to ask, but I would really love to use puppet to deploy bareos on my servers. To do this I'm using netmanagers/bareos. I'm using this profile to install bareos ...
1
vote
0answers
32 views

Puppet device wildcard names for nodes?

I'm using Puppet's device management to mange some Cisco devices. Right now my device.conf looks like this: [someCity] type cisco url telnet://puppet:123456@10.123.1.1/ [someOtherCity] type cisco ...
1
vote
0answers
71 views

Puppet enterprise installation Issue in CENTOS

Puppet enterprise Installation issue on CENTOS7(Vmware) While running the monolithic installation i encountered the following issue " "Error: Could not start Service[pe-puppetserver]: Execution of '/...
1
vote
0answers
106 views

Issue with policy-based autosign in puppet

I am trying to implement policy based autosign in puppet. I have performed following steps: On puppet master: I have created a ruby utility to autosign the certificate if matching the extension ...
1
vote
0answers
28 views

Debugging Puppet File Server

I'm attempting to retrieve a file from puppet using the following: file { '/etc/shibboleth/attribute-map.xml': ensure => 'present', source => file( "puppet:///private/etc/shibboleth/...
1
vote
0answers
49 views

Can I accumulate an array of values in puppet from a collector

I need to instantiate a firewall related class which takes an array of the hosts allowed to access a database port on a db server. What's in that list depends on which of various web apps are turned ...
1
vote
0answers
76 views

Puppet 3.8.1 hanging on windows

I am using puppet 3.8.1 and running command line as a administrator but puppet is hanging. With debug turned on I get too Debug: Runtime environment: puppet_version=3.8.1, ruby_version=2.0.0, ...
1
vote
0answers
1k views

Puppet node no picking up hiera parameter from global.yaml file

I am using Foreman, Puppet and Hiera to provide parameter data for my nodes. Each node has its own node.yaml file on the Puppet Master in /etc/puppet/hieradata. There is also a global.yaml file ...
1
vote
0answers
138 views

Trying to auto-register a Nagios NSCA client

I am setting up Nagios monitoring using NSCA to report in from monitored hosts and all monitoring is using passive checks. Currently the monitored hosts each have a configuration file in the nagios ...
1
vote
0answers
35 views

Is it possible to declare Exported Resources as an Attribute instead of a Type in Puppet?

Avoid to add a host manually as an attribute class::define { 'title': attribute3 => [ 'stone', 'wood' ], hosts => [ 'host1.domain', 'host2.domain' ] } class::...
1
vote
0answers
113 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 ...
1
vote
0answers
379 views

Puppet Agent fails to run install.bash

I am having my CentOS 6.5 installed with Puppet Entrprise 3.3. The dashboard is running fine. Now I want to add a puppet agent on another CentOS 6.5 box. Since both are same OS type, Following the ...
1
vote
0answers
360 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 /var/opt/lib/pe-puppet/lib/...
1
vote
0answers
189 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 ...
1
vote
0answers
397 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
0answers
125 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 ...
1
vote
0answers
253 views

Puppet Apply on Windows more than 28 times slower since version 3.3

Problem Puppet on Windows has been upgraded from 2.7.22 to 3.5.1 on Windows7. When puppet apply was executed it looked like puppet was stuck. A retry demonstrated the same behavior and the run ...
1
vote
0answers
307 views

Identical Vagrant VM's install pip packages differently?

I have a vagrant VM being provisioned via Puppet. I'm testing this on two different Ubuntus, 12.04 and 13.10, both using the "standard" precise32 box. The application I'm testing is a Django ...
1
vote
0answers
584 views

Puppetlabs Apache module: Debian PHP-FPM FastCGI APC

I'm currently setting up a new web server on Debian Wheezy and use the following modules from the forge: http://forge.puppetlabs.com/puppetlabs/apache http://forge.puppetlabs.com/example42/php The ...
1
vote
0answers
1k views

Puppet agent runs as a daemon but manifests are only applied when puppet agent is run manually?

I have puppet agent daemonized # service puppet status * agent is running And can confirm that it is retrieving the configurations from the master # cat /var/lib/puppet/state/last_run_summary....
1
vote
0answers
185 views

Puppet on windows is extremely slow

Windows 7, installed puppet via chocolatey. Running "Start Command Prompt with Puppet", and then creating an EMPTY file "tennessee.pp", and then invoking within the prompt puppet apply -v --debug --...
1
vote
0answers
507 views

Puppet: How to generate a dynamic dependency chain

First I get an array like this: $myarray = [ {name => resource_1, type => define_type1}, {name => resource_2, type => define_type2, require => resource_1}, {name => resource_3, ...