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

learn more… | top users | synonyms

3
votes
0answers
113 views

Puppet removes packages while installing “lsscsi”

We wanted to install the "lsscsi" package on all our Linux Servers and build a manifest for it: # pack_lsscsi.pp class common::pack_lsscsi { case $operatingsystem { RedHat, ...
3
votes
0answers
224 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 ...
2
votes
0answers
45 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
31 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
158 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 = ...
2
votes
0answers
142 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
67 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
368 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 ...
2
votes
0answers
714 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
2k 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
votes
0answers
740 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
201 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 ...
1
vote
0answers
67 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
65 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
26 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' ] } ...
1
vote
0answers
177 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 ...
1
vote
0answers
398 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. ...
1
vote
0answers
57 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
60 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 ...
1
vote
0answers
178 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
307 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
0answers
124 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
223 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
78 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
137 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
190 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
401 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
622 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 ...
1
vote
0answers
126 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
288 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, ...
1
vote
0answers
48 views

How to find and modify a puppet resource transaction?

I recently applied a puppet transaction: puppet resource cron puppet-apply ensure=present user=root minute=30 command='/usr/bin/puppet apply $(puppet --configprint manifest) To undo it, I simply ...
1
vote
0answers
35 views

What is the syntax to bring up the man page for a puppet subcommand in 2.6?

I tried $ puppet help master but got an error. Apparently this syntax only works in version 3.2
1
vote
0answers
100 views

Using wildcards for Puppet Packages?

Is there way I can do this ? package { 'firmware': ensure => $version-*, } instead of specifying the entire version, package { 'firmware': ensure => $version-r20130530 }
1
vote
0answers
116 views

“Puppet device” not working with catalyst 2950

I have setup the puppet and made suitable tweaking for puppet device management to work. I have device config set for my switch catalyst 2950. Certificate request and signing works good and when it ...
1
vote
0answers
891 views

Puppet agent (v3.0.1) hangs connecting to master (v3.1.1) in VM behind firewall (with NAT based access)

I am using puppet agent v3.0.1 (On FreeBSD), trying to connect to a puppet master v3.1.1 (On Ubuntu) and the puppet agent hangs with the following debug output: puppet agent --debug --no-daemonize ...
1
vote
0answers
711 views

Puppet + HAProxy Configuration

I am trying to get HAProxy running. I have the puppet master setup serving configurations to two agents. One is the HAproxy server and the other is a simple web server (certname=webserver2). HAproxy ...
1
vote
0answers
61 views

Configuration Management of a set of windows App servers

We have several sets of app servers in a clients network running different code. Each set has Dev, UAT and Prod and we are developing outside the network. At the moment I'm manually pushing the ...
1
vote
0answers
352 views

puppetrun when the client certname != FQDN

I have a puppet client 'my-client' where the certificate name is 'my-clients-certname' instead of the being the same as the hostname. The puppet client and puppetmaster server have been working fine ...
1
vote
0answers
230 views

How to test that an exported resource in puppet exists after collecting?

I want to create a nagios_hostgroup if some hosts exists. For creating hosts in nagios I am using exported resources which I collect on the monitoring server. How can I test that a exported ...
1
vote
0answers
483 views

Hashes with Puppet and templates

I did this: $worker_name = { "app-fr" => { host => [ "app01/10.2.0.1/8009", "app02/10.2.0.2/8009" ] }, "app-uk" => { host => [ "app09/10.2.0.5/8009", ...
1
vote
0answers
226 views

puppet dashboard upgrade is failing

following this page: Not able to get the latest puppet dashboard installed.... http://docs.puppetlabs.com/dashboard/manual/1.2/upgrading.html#upgrading-code Commands typing: git init rm .gitignore ...
0
votes
0answers
18 views

writing module for fisheye/crucible

I'm in the process of writing a init.pp file to automate installation of Atlassian fisheye/crucible. But I'm keep running into "Error: Could not retrieve catalog from remote server: Error 400 ...
0
votes
0answers
19 views

Puppet: remediation handler 'Recieved API Response (404)'

What would cause a 404 when trying to run 'touch /tmp/hello' on CentOS6.5? The server has a subscription to its hostname, I don't see anything on the sensu-agent.log on the server showing it got the ...
0
votes
0answers
25 views

Securing SSL Keys (for production web application) with Puppet and Hiera

I'd like to know what is the best way to secure SSL keys and certificates for web applications. I am using the roles/profiles pattern. Here is the scenario: I have a web application. There is a ...
0
votes
0answers
36 views

Augeas: setting multiple array elements

I'm trying to modify multiple entries in grub.conf via augeas that are broken down by the lens in an array. augtool> ls /files/boot/grub/grub.conf/ default = 0 timeout = 5 splashimage = ...
0
votes
0answers
22 views

vsftpd service with tls enabled exit code 2

I am trying to set up TLS for VSFTPD on CentOS7. Whenever I try to start the service it fails with exit code 2 and no other information. anonymous_enable=NO local_enable=YES write_enable=YES ...
0
votes
0answers
30 views

Centralized package management of Ubuntu servers with QA

I currently manually maintain 3 Ubuntu servers, but now we're taking on another project that will have something like 25. So I'm looking into how to maintain that many servers without making ...
0
votes
0answers
108 views

Puppet Master doesn't get certificate request from agent

I have a puppetmaster server and four puppet agent clients. Here I'm attaching my puppet.conf files and hosts in all node. When I call 'puppet cert list' it returns nothing. But, when called with ...
0
votes
0answers
38 views

Puppet - apt::unattended_updates

Im trying to configure the apt::unattended_updates class which comes as part of the puppet labs/apt module. It states in the notes that - You can configure the class to automatically upgrade all new ...
0
votes
0answers
21 views

Zenworks Linux Puppet Policies: how to use external modules?

Novell Zenworks Configuration Management is relying on Puppet for Linux endpoint policy enforcement. The setup has no Puppet master in place, instead ZCM device management is used for targeting and ...