Puppet is a configuration management tool (Unix & Windows) with its own Domain Specific Language (Puppet or Ruby DSL). Puppetmaster is the central server for this tool.

learn more… | top users | synonyms

1
vote
1answer
27 views

puppet: how to submit command “yum update” to all agents?

I'm new to puppet and trying to create manifest which will request all agents to update all currently installed yum packages. What should be the best way to describe this in manifest?
1
vote
1answer
24 views

Puppet 2.7 Ensure file on client updates when puppet:///file is updated on Master

I have a Perl script that I pushed out to all my Puppet Linux clients. I have since edited my script, module/modulename/files/scripts/a_script script on the Puppet master, but the clients don't get ...
2
votes
1answer
20 views

Puppet master executes a catalog on itself

Can a puppet master execute its catalog on itself? I want to automate some tasks on my master server. The best would be to create a node for the master server and apply the catalog directly. If it's ...
2
votes
1answer
53 views

Different hiera hierarchy per dynamic environment

Is it possible to define a separate hiera.yaml for a given environment? Currently I am using dynamic environments. Each one has it's own hiera data directory, per my hiera.yaml file. :yaml: ...
1
vote
1answer
41 views

How do you upgrade puppet on Apache / passenger on EL6.4?

I have a Scientific Linux 6.4 server running apache / passenger with puppet-server installed. Also installed is Foreman 1.4. When I upgraded my agents to 3.4.2, they started all logging: Using less ...
1
vote
2answers
49 views

Puppet master digest issues

I am running the following setup of Puppet : Puppet master : CentOS 6.4 x86_64 with puppet-server-3.2.1-2.2 and openssl-1.0.0-27.el6_4.2.x86_64 Puppet agent 1 : RedHat AS 4.8 x86 with ...
0
votes
3answers
48 views

Puppet: Trying to configure puppet client for first use but got some problems with certificates

I'm trying to configure my clinet 'Itai-test' to receive puppet settings from the puppet server which is called 'puppetmaster'. On the server I ran: [root@puppetmaster requests]# puppet cert ...
4
votes
3answers
71 views

What is the recommended puppet server directory layout?

I am just setting up a new puppet server and wanted to find out what the best practise directory structure is? Ive had a look around on different forums and on the puppet site and what strikes me is ...
3
votes
0answers
89 views

Puppet reporting without master

I am planning a Puppet infrastructure for about 100-200 servers. This is the design so far: Stash (git) for storing puppet config (not planning on using a master). Hiera to query either yaml, json, ...
1
vote
0answers
60 views

Foreman-Installer change certificate

Looking to install Foreman for a puppet deployment in my environment. I ran foreman-installer with defaults at first and didn't care for the SSL certificates and URLs being server01.example.com I ...
-1
votes
1answer
37 views

New puppet master VM counted towards licenses used, old puppet master node made agent no longer responsive

*Using VSphere Client 5.1 Ubuntu precise VM's with Puppet Enterprise 3.3.1 and PostgreSQL 9.3.1 I am utilizing the same postgresql database to manage a new puppet master and I know that the licenses ...
2
votes
0answers
71 views

When using the puppet node init command, are the parameters to specify in the answers.install file

On puppet-enterprise version 3.3.1, I am attempting to use the puppet node init command on a VMware puppet master node hosted on a VMware VSphere client with VCenter 5.1.0. My puppet master node has ...
3
votes
2answers
56 views

How does active puppet agent handle downed puppetmaster?

Say that a puppet agent is in the middle of a refresh and I stop the puppet master service. Is there any point that it would potentially cause an incomplete or corrupt setup to be pushed out like I ...
1
vote
0answers
81 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 ...
3
votes
1answer
51 views

puppet 3.2.4: stack level too deep

I am working on a refactoring project for a large repository of custom puppet modules. This includes an upgrade from puppet 2.x to 3.2.4. When I finally hit critical mass and started testing some of ...
0
votes
1answer
78 views

Disk usage of Puppet reports

We are running puppet-dashboard on the puppetmaster which processes all the reports and puts them in a MySQL table. Every month about 5GB of reports are generated however in /var/lib/puppet/reports. ...
0
votes
1answer
61 views

Can I use Puppetmaster 3.2.x with Puppet 2.7 clients?

We are using RHEL 6.2 with Puppet 2.7 on about 100 servers. I am planning to update the puppetmaster to RHEL 6.2 with Puppet 3.2. I understand that I have to rewrite a few manifests in order for the ...
0
votes
1answer
70 views

Amazon cloud provisioning using puppet & theforeman

Does puppetlabs have modules to help provision for Amazon Ec2 instances within VPC / outside VPC? Any recommendations ? I would like to launch an instance based on an AMI image. This instance should ...
0
votes
1answer
266 views

Puppet: remote clients are not updated by puppetmaster [duplicate]

I'll start with the fact that I'm noob to Puppet, I have 2 servers; one is called puppetmaster and the other is called puppetclient. I've installed puppet-3.2.2 and created some basic nodes.pp file, ...
0
votes
1answer
192 views

Centos - cant access node from puppet dashboard

I am trying to setup puppet's dashboard to be monitor the status of my servers. With the below shown configurations, my clients (or nodes) only show up as Unreported and says Has not reported in the ...
0
votes
1answer
28 views

Puppet module resource attributes

Is there a way to print the value of an attribute in a puppet module? For example, if you have a file resource: file {'myfile': path => '/this/is/my/path', ensure => present, ...
1
vote
1answer
67 views

Handling exceptions for modules in Puppet

I have an LDAP module in Puppet that is used by 100 servers and edits about 10 files on all servers, before it runs authconfig --updateall to activate the new LDAP configuration. Most (98) of these ...
3
votes
1answer
69 views

puppet inserts two lines as one into a configuration file

I've created the next Puppet manifest file: node 'puppetmaster' { package { "screen": ensure => "installed"} $enhancers = [ "pixman","pixman-devel","libXfont","tigervnc-server" ] ...
2
votes
0answers
102 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
2answers
99 views

Creating user accounts with Puppet?

I'm just getting started with Puppet and I have the following code in my test site.pp file: class { 'account': { 'danny': home_dir => '/home/danny', groups => [ 'sudo', 'users' ], ...
0
votes
1answer
2k views

Puppet server hostname does not match certificate - can't authenticate. How to disable puppet authentication? [duplicate]

I am having issues with getting the puppet agent to authenticate the master. On the agent, I first did sudo puppet agent --test info: Creating a new SSL key for m-agent-2 info: Caching certificate ...
0
votes
1answer
143 views

Configure autosign to automatically replace certificate of reinstalled machines?

Sometimes we have to kickstart a machine multiple times before everything is alright. It becomes quite of a hassle to manually remove the SSL certificate on the Puppetmaster first, especially since ...
4
votes
1answer
862 views

Can I remove Puppet reports after Puppet-dashboard processed them?

Puppet reports are using a lot of disk space in: /var/lib/puppet/reports /var/lib/mysql I assume it stores all reports in the MySQL database, because both paths are about the same size. The ...
2
votes
1answer
916 views

Puppet: certificate verify failed

Due to a screw up, I have to regenerate client & server certificates. As far as I know, the master certificates are automatically generated. So I generated keys on the client: MASTER # puppet ...
0
votes
0answers
122 views

What causes this logrotate behavior in Puppet?

After running logrotate, Puppet starts writing it's logs into /var/log/puppet/masterhttp.log-20130616. How come it doesn't keep logging in /var/log/puppet/masterhttp.log? It seems normal behavior is ...
2
votes
2answers
1k views

Puppet agent certificate verify failure

I have a Puppet Master/Agent set up, and have successfully signed the certificate for the agent on the master. However, when I run puppet agent --test I get a failure that looks like this: Warning: ...
1
vote
1answer
84 views

Puppet changes directory ownership frequently from “users” to “users”

I see many messages in my Puppet dashboard that say a change has taken place, changing ownership of a group from "users" to "users". It seems to be related to the group 'users' existing twice, once ...
2
votes
2answers
464 views

How to exclude Puppet modules for a few nodes?

I have 80 nodes, 78 need to have a specific module, except for 2. [root@puppetmaster puppet]# cat hiera.yaml :backends: - yaml :hierarchy: - environment/%{::environment}/%{::hostname} - ...
0
votes
1answer
68 views

configure F5 via Puppet

I have an Ubuntu PuppetMaster instance. I need to manage a F5 BIG-IP (v10.2.4) device. I'm following the directions for the Puppet Labs F5 module ( http://forge.puppetlabs.com/puppetlabs/f5 ). Is ...
0
votes
1answer
65 views

Puppet:get real-time status of catalog evaluation and post to remote server

According to this article http://docs.puppetlabs.com/guides/puppet_internals.html There are four phases when puppet agent got a catalog from master. resource generation => relationships => ...
0
votes
2answers
225 views

Puppet client not connection to master - SSL connect Error

I installed the puppet master and agent on the same machine. When the client is started, I got the following error message. puppet agent --server=agent.com --no-daemonize --debug err: Could not ...
0
votes
4answers
214 views

Puppet not applying config but returns without error

Using Puppet 3.2.1 attempting server / client setup, running both on same host. I'm also using puppet-dashboard and puppetdb. My manifest/init.pp: node 'my.fqdn' { file { '/tmp/test': ensure ...
2
votes
2answers
270 views

Error “Illegal instruction (core dumped)” while running Puppet agent (version 3.2.1)

I just upgraded puppet to version to 3.2.1, and when running the agent, I get an error saying "Illegal instruction (core dumped)". Here is some details: Both master and agent is run on the same ...
0
votes
0answers
70 views

Generate and sign certificates from Puppet Master

I'm developing a AWS console to manage my cluster and the application provisioning is based in Puppet. My problem is with autoscaller. If it runs a new instance it has to be signed, and I don't want ...
1
vote
2answers
1k views

Puppet:Could not find default node or by name with node test2

I installed Puppet 3.1.1 on an Ubuntu Server. My manifests folder looked like this: ├── nodes │   └── test1.pp └── site.pp The content of site.pp was: # site.pp import "nodes/*.pp" Node test1 ...
1
vote
1answer
73 views

Puppet generates errors every time a module changes

I have a trivial puppet 2.7.18 installation as follows: === manifests/site.pp === node build-1 { include mod1 include mod2 include mod3 } === modules/mod1/manifests/init.pp === import "*" === ...
1
vote
0answers
278 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 ...
1
vote
1answer
254 views

Change config file by puppet - depend hostname

I want to push some config file to my all servers by puppet. File is almost the same for all servers, but there is one change - hostname. I've created module in puppet with manifest and ...
0
votes
1answer
198 views

Puppet(-master) 3.1 after wheezy upgrade

Today I've updated a Puppet client and a Puppet master to Wheezy. For some reason, Puppet client was updated to version 3.1 but the master stayed at 2.7. So I've installed the latest stable version ...
0
votes
1answer
44 views

How to have Puppet enforce enabled reporting?

For Puppet clients to report results back to the master server, "report = true" needs to be in the "[agent]" section of the client's puppet.conf. But how can I get Puppet to enforce that? It's ...
6
votes
3answers
209 views

Puppet & Puppetmaster for development on VMs

I'm in the situation where I am constantly spinning up new vms for development. I've got a base image that i can clone but it quickly gets out of date and you have no method of adding a change across ...
1
vote
1answer
128 views

Puppet: build DNS file from node config (or: how do I iterate over node variables globally)

I also use puppet for my nodes. I am also running a (BIND) dns server. Would it be possible to use the $aliases variable I have for each node in a template for the DNS module? My nodes look like ...
2
votes
2answers
3k views

Puppet Enterprise 2.7 - Error 400 on Server - Error 403 on Server - Can't puppet agent -t without the following error?

Running into an issue using two VM's running REL6. I set up the master and agent correctly and was able to cert the agent. When I go to run: puppet agent -t On the agent, I receive the following ...
0
votes
0answers
137 views

puppet augeas with more than one array in a single key

I am trying to put together a set of puppet policies for grub/menu.lst. The serial::grubmenulst is a puppet define type that looks like this : define serial::grubmenulst ( $value ) { $key = $title ...
0
votes
1answer
37 views

How do I create and exception to a puppet catalog?

How do I create and exception to a puppet catalog? Specifically I want to use Puppet to manage a one-off set of firewall rules, to be combined with the default ruleset. This is for a single legacy ...