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

learn more… | top users | synonyms

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 ...
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 => ...
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 ...
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
577 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
722 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 ...
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
948 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 ...