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

learn more… | top users | synonyms

0
votes
1answer
911 views

cherrypy fails to stop when puppet tries to ensure running and refresh it at the same time

I am trying to manage a cherrypy service with puppet. However, when the configuration is applied, cherryd ends up with no PID file although the process is up and running. Since the PID file is lost I ...
24
votes
7answers
31k views

Adding a yum repo to puppet before doing anything else

Is there a way to force puppet to do certain things first? For instance, I need it to install an RPM on all servers to add a yum repository (IUS Community) before I install any of the packages.
4
votes
4answers
799 views

What methods are there to configure puppet to serve resources for multiple environments?

I seem to come across two ways for using puppet in multiple environments: 1) Install a puppetmaster in each environment and only update the recipes from source control for that environment when ready ...
3
votes
2answers
2k views

Accessing puppet configuration variables from manifests?

Is it possible to access Puppet master configuration variables (like confdir, masterport, etc) from within a Puppet manifest?
3
votes
1answer
6k views

Uninstalling/Upgrading Puppet

The questions below are all related to the topic of uninstalling/upgrading Puppet: How do I uninstall previous versions of puppet? What files do I need to delete and where are they located? Is there ...
8
votes
3answers
2k views

Global vs local puppet management

Have anyone ever managed several geographically distributed systems with Puppet? I have several almost exactly similar deployments (except the server IP's), which management I'm looking to convert to ...
6
votes
4answers
10k views

Puppet manifest example

Can anyone point me to a full example (tar/zip) directory of a Puppet manifest? I get the guides but it would be way easier just to look at a working directory.
1
vote
1answer
1k views

Puppet in DNS-less enviroment

While I know DNS recommended for Puppet, is it a mandatory requirement? Or I can get with using plain IP's for this? Thanks.
6
votes
1answer
3k views

Fine line between kickstart and puppet

I'm interested in Puppet configuration management system, but wonder where the fine line goes between kick-start and Puppet? Today I do a lot of tasks in kick-start (powered by Cobbler), including ...
8
votes
2answers
2k views

SSH keys management system

I'm looking to switch from password based (which I starting to become overwhelmed with) to SSH keys based system. I'd like to know if there any SSH keys management system or server solution, which ...
6
votes
2answers
2k views

Scripted install vs cloning

What are the downside of cloning vs scripted installation (using Kick-start / Puppet)? I read a lot of pro-scripted install opinion, where cloning is considered as unreliable method due to ever ...
54
votes
6answers
14k views

Puppet vs Chef, pro and contra from users and use cases [closed]

I already googled and read the "to-puppet-or-to-chef-that-is-the-question" article. I'm interested in use cases, real world implementations in which people had choosen one or the other on real ...
27
votes
9answers
11k views

Are configuration management tools (Puppet, Chef) capable of keeping installed packages up to date?

This is probably a simple question for those of you already running configuration management tools. Are configuration management tools such as Puppet or Chef the right approach for keeping installed ...
6
votes
4answers
8k views

Puppet : How to override / redefine outside child class (usecase and example detailled)

The use case i try to illustrate is when to declare some item (eq mysqld service) with a default configuration that could be included on every node (class stripdown in the example, for basenode), and ...
6
votes
8answers
2k views

any way to use puppet or chef without launching daemons?

Is there any way to use puppet or chef recipes without launching daemons and such? I'd like to be able to interpret files and apply them without all of the heavy lifting. If not, is there an ...
8
votes
4answers
755 views

Configuration management: Cross-machine dependencies

I've used tools like puppet to manage individual systems, with generally a high level of success. Where puppet falls down is that it isn't good at managing dependencies outside of an individual ...
44
votes
4answers
22k views

automate dpkg-reconfigure tzdata

I'm using puppet to admin a cluster of debian servers. I need to change the timezone of each machine on the cluster. The proper debian way to do this is to use dpkg-reconfigure tzdata. But I can ...
1
vote
2answers
189 views

Unable to get defined path in 'source' type on AIX node

I am trying to create a set of users on my AIX node and trying to get their authorized_keys which are already hosted on my server with name like, 'myuser_id_dsa.pub'. Currently i am managing 2 nodes ...
1
vote
1answer
2k views

Puppet: Adding require parameters after the fact

I want to be able to add some requires to a file I setup: define daemontools::service( $ensure = 'running', $source ){ case $ensure { 'running': { $real_ensure = $source } 'stopped': { $...
20
votes
2answers
12k views

Puppet: Node name seems dependent on reverse dns?

I seem to be running into a little bit of a problem understanding how to get this to work. I have a new server I'm building sitting behind the office NAT at work, its reverse dns maps to office....
4
votes
1answer
9k views

Puppet 0.25.0: Problems with access control, how can I fix them?

So, I've been playing with puppet for a while now, and I have managed to get my site.pp file setup and working the way I want it to when I run puppet manually against it, and I'm starting to move on ...
11
votes
4answers
13k views

Puppet: Test if Resource is defined, or create it

I've been trying to figure out a way to test if a resource is already defined in another file, and if not create it? A quick example: if File[$local_container] { alert("Testing - It existed $...
4
votes
1answer
14k views

Puppet: Referencing variables from a define in a template

I have the following class and definition in puppet: $certDirectory = "/var/lib/ssl/certs" class openssl { package { "openssl": ensure => latest } file { "openssl": path => "/var/...
8
votes
4answers
18k views

How can I have puppet deploy ssh keys for virtual users?

I am trying to get puppet to assign authorized ssh keys for virtual users but I keep getting the following error: err: Could not retrieve catalog: Could not parse for environment production: Syntax ...
1
vote
4answers
1k views

Puppet: sharing info between classes

I don't think there is a right way to do the following (yet) in Puppet, but this strikes me as desirable. I want my classes to be able to influence the content of a templated file from another class ...
3
votes
2answers
1k views

What is the best process to automate Zimbra deploy using cobbler+puppet?

I set up a fully working cobbler server on a RHEL5 machine. This is able to deploy a new server on bare metal machine, partitioning the disks, using LVM and creating as much virtual machines as I need....
2
votes
1answer
1k views

How do I add “ensure” arguments to puppet definitions?

I have a puppet definition that runs an exec type to create a mysql user that looks like this: define mysql::mysql-user ($user, $host="$mysql_subnet", $passwd="", $ensure="present") { exec { "...
5
votes
3answers
2k views

Is there any strong, well tested and general purpose puppet recipes-base to be used as starting point for customization?

I have configured a working cobbler system that successfully handles my bare metal server deployment and I'm going to start the configuration management issues using puppet (integrating it as much as ...
26
votes
7answers
2k views

Puppet Security and Network Topologies

Background: I am finally setting aside some time to join the 21st Century and look at Puppet. As it stands today we version control all server configurations in a repository that is held internally ...
6
votes
3answers
4k views

Managing the puppet filebucket?

We're implementing Puppet and hoping to use the filebucket to replace an in-house file change tracker. The physical layout of the filebucket into a hashed directory tree and the lack of "which client" ...
8
votes
4answers
5k views

How to set up Cobbler with Puppet or Cfengine?

I've heard a lot about using Cobbler together with Puppet/Cfengine for rapid deployment & configuration. Can you point me to some tutorials or share you experience of how you do it? Would also ...
2
votes
4answers
8k views

How to fix Puppet fully-qualified parameter path error?

I regularly but randomly get the following error message when I run the puppet client on machines (non-daemonized): err: Could not create : Parameter path failed: File paths must be fully qualified ...
19
votes
4answers
29k views

puppet: force service restart after configuration file was modified

how can i ensure that if new version of configuration file is downloaded via puppet from master repository to one of managed servers relevant service is restarted. typical scenario - let's say there ...
6
votes
3answers
579 views

Puppet Module Resources

Instead of continually writing my own modules to convert systems into puppet management, I would prefer to leverage the community as much as possible. So far I have come across two sites that compile ...
10
votes
3answers
5k views

Call Puppet function from Puppet template?

As of 0.24.8, can a Puppet template call a Puppet function? I can get similar functionality by calling the function in my manifest, assigning the return value to a variable, and then using the ...
3
votes
2answers
1k views

How does one configure puppet for push-only updates?

Setting runinterval=0 in /etc/puppet/puppet.conf causes continuous pulls, not no pulls. I'm trying to arrange puppet so that it will listen for puppetrun calls, but never pull without one.
10
votes
3answers
11k views

puppet - define wildcard host in nodes.pp

Is there a way to define wildcard hosts in puppetmaster´s nodes.pp say i want all the hosts in one domain to receive a set of classes can i do something like: # nodes.pp # node basenode { include ...
0
votes
0answers
863 views

How can I pre-sign puppet certificates?

Puppet requires certificates between the client (puppet) being managed and the server (puppetmaster). You can run manually on the client and then go onto the server to sign the certificate, but how do ...
4
votes
1answer
723 views

Puppet master and resources graph

I've setup rrd reporting + graph on my puppet master, my nodes report as expected and I can see the 'changes' and 'time' graphs, but I miss the 'resources' (html and daily weekly monthly yearly graphs)...
4
votes
2answers
646 views

puppetrun not reporting client errors

puppetrun doesn't report errors my puppetclients encounter. for instance, if I put jibberish into site.pp and run puppetd --test on the clients I get an error. if I run puppetrun on the puppetmaster ...
3
votes
1answer
949 views

puppet node update at will

What is the preferred method (or any for that matter) to tell puppet nodes to update when I make a change to site.pp for instance and need it deployed right away? I have thought of pssh-ing to the ...
10
votes
6answers
9k views

puppet hostname problem

I searched online and I see a few other people have had this issue on other lists/boards. When I run sudo puppetd --waitforcert 60 --test for the 2nd time after signing the cert on the master server ...
24
votes
4answers
7k views

How can I pre-sign puppet certificates?

Puppet requires certificates between the client (puppet) being managed and the server (puppetmaster). You can run manually on the client and then go onto the server to sign the certificate, but how do ...