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

learn more… | top users | synonyms

0
votes
3answers
439 views

puppet 2.6.4 .deb package

Is there any 3rd party repositories that keeps up to date puppet client versions? I am looking for a puppet 2.6.4 .deb package?
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
2answers
1k views

Puppet: more than one array passed to a definition?

I can understand according to http://docs.puppetlabs.com/guides/language_guide.html that I can pass an array to a definition. define php::pear() { package { "`php-${name}": ensure => ...
4
votes
4answers
368 views

What's new in Puppet since 2007?

I've got a copy of the Pulling Strings with Puppet book (written in 2007) but given that it has a bunch of equivocal language, I'm wonder how much has changed since then? I've found this Release Notes ...
1
vote
3answers
1k views

Chef/Puppet with multiple configuration servers

Does either Puppet or Chef support replicated puppetmasterd/Chef servers? It seems very surprising to me that these tools would force a single point of failure, but I haven't been able to find any ...
2
votes
1answer
1k views

Puppet or Chef to configure webapplication

I'm looking for a deployment tool for java based webapps deployment to QA/preprod enviroments. Application is typical webapp, compiled to war/ear with .properties file. During deployment (Jboss,...
2
votes
2answers
2k views

How can I configure exim4 with a smarthost via puppet?

I have tried to automate the exim setup via puppet. I followed the approach described here, whiched worked for me for a few packages, but for exim I had a problem: one selection was not correctly ...
2
votes
2answers
3k views

How can I edit puppet .pp files with Eclipse & DLTK

The puppet editor tips page seems to suggest that using eclipse & dltk (presumably the ruby tools) will assist with editing .pp files. http://projects.puppetlabs.com/projects/1/wiki/Editor_Tips ...
2
votes
3answers
9k views

puppet propagate variable from node to erb template?

Is it possible to declare variable in node and than propage it way down to the erb template? Example: node basenode { $myvar = "bar" # default include myclass } node mynode extends basenode { ...
2
votes
4answers
877 views

Placement of Variables in Puppet module

I've got a puppet module to setup several Gigaspaces PU's. Each of these have quite a few variables to be placed within the configuration file templates. We're also using several different ...
2
votes
2answers
829 views

puppet variables

I am trying to use variables in my modules manifest.pp with little luck class mysoftware($version="dev-2011.02.04b") { File { links => follow } file { "/opt/mysoftware": ensure =&...
12
votes
2answers
10k views

Why should I use a puppet parameterized class?

Generally when working with complex puppet modules, I will set variables at the node level or inside a class. e.g., node 'foo.com' { $file_owner = "larry" include bar } class bar { $...
2
votes
1answer
896 views

puppet parameterised classes

I am having trouble getting parameterised classes working in puppet 2.6.4 (client and master) ######## from /etc/puppet/manifests/nodes.pp # defining one node to use certain version #################...
5
votes
1answer
4k views

migrating puppet clients to a new puppet master (old puppet master server gone, only using backup)

My puppet master server had a hardware failure, and I have restored to another box. However this box has different hardware and hostname. If I restore the existing /etc/puppet directory to the new ...
10
votes
2answers
815 views

Configuration Management overkill for 3 node clusters?

I have 2-3 node clusters for our load balancers and various web applications. I'm having to make the change in QA first, then in staging (on 2-3 servers), then in production (on 2-3) servers. Is a ...
5
votes
6answers
2k views

Automating and deploying new linux servers

I'm in the process of developing a method to automate new virtual machines into my environment. 90% of our machines are virtual but the process is similar for both physical and vmware based images. ...
2
votes
2answers
3k views

Puppet- ERB template- Question about defined classes

Puppet template files are erb rails files. I want the line: Include modsecurity.d/*.conf To be included in the final file if the class mod_security is included. From the puppet docs: http://docs....
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?
8
votes
3answers
4k views

Deploy our own software using Puppet?

(Apologies in advance for the stupidity in this question. I'm normally a programmer, not a sysadmin, but I've taken it upon myself to automate some things, and clean up some other things which are ...
3
votes
1answer
2k views

Is there a Ruby/ERB cheat sheet for puppet users not familiar with Ruby in general?

I'm still getting to grips with puppet and starting to mess around with templating, which is based on Ruby's ERB system. I am not familiar with Ruby in general, does anyone know of a cheat sheet for ...
2
votes
2answers
5k views

Setup Tomcat with Puppet (noob question)

I have been learning Puppet (as in, the last 24 hours) and have come up with the following module to install Tomcat. It works great, but I can't help but feel like this is not the most optimal way to ...
1
vote
1answer
110 views

Puppet keeps trying to install mongrel

I'm using Puppet to administrate my servers and one of the things I'm doing is installing Mongrel from the Gem: package { mongrel: provider => gem, ensure => latest, require => ...
5
votes
2answers
530 views

Collecting and centralizing information from many servers, sort of like Puppet's facter

We manage hundreds of RedHat Enterprise Linux servers happily with Puppet. One of the cool side effects is that we can go to /var/lib/puppet/yaml/facts and look at the output of the "facter" utility (...
7
votes
2answers
590 views

Puppet Packages, Puppet Forge, and good Puppet code?

Does anyone have a ranking system for the packages available from the Forge at PuppetLabs? For example, there a half dozen Apache packages. Given normal distribution, one will probably work, one ...
2
votes
1answer
121 views

How do I get puppet to load other policy files in the manifest directory?

How do I get puppet to load other policy files in the manifest directory? It loads site.pp fine, but I would like to load a couple others I have in the directory and it is not loading them with a ...
24
votes
1answer
20k views

How to update a package using puppet and a .deb file

I am trying to figure out the proper way to update/upgrade a deb package using puppet from a local source deb file. My current config looks like this... class adobe-air-2-0-4 { file { "/opt/air-...
2
votes
4answers
1k views

Automatic deployment and configuration for Windows servers

I'm an experienced UNIX and Linux sysadmin who is about to start working for a mixed UNIX/Windows shop. I've been deploying servers automatically using tools like Puppet, Chef, FAI, etc. I haven't ...
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
605 views

I've broken my puppet, clients are failing reporting “ Could not run Puppet configuration client: Invalid parameter stage”

I'm getting this error on all my clients, debian and CentOS, where the line number depends on which case is selected for the OS; err: Could not run Puppet configuration client: Invalid parameter ...
1
vote
1answer
301 views

debian puppet clients (0.24.5-3) failing to retrieve file , centOs (0.25.5-1) working ok

I have got a puppetmaster and a mix of CentOs 5.4 and Lenny 5.0.3 clients. The CentOs have puppet-0.25.5-1.el5 installed and are working fine to retrieve files. The Debian boxes have the 0.24.5-3 ...
2
votes
2answers
430 views

Installing Zend Server via Puppet, on RHEL and Ubuntu?

I'm learning Puppet by example and writing some modules to manage our current RHEL and Ubuntu servers. My first serious attempt is a Zend Server module. Since Puppet has a Yumrepo, but no Aptrepo ...
2
votes
2answers
1k views

CPAN installer for Puppet can't find relationship target

Based on some code from this blog and in the comments I'm trying to define some simple CPAN install functionality for Puppet, and I'm trying this: class perl { define install-cpan () { exec { "...
4
votes
3answers
2k views

Is Capistrano or Puppet capable of this?

I find myself spending a lot of time setting up new servers. I always have the same exact software stack: nginx mysql php + php-fpm + xcache memcached munin I pull all the configuration and init.d ...
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 ...
5
votes
2answers
6k views

Puppet could not retrieve information from plugin source

Every time I run puppet, I get this error. err: /File[/var/lib/puppet/lib]: Failed to retrieve current state of resource: Could not retrieve information from source(s) puppet://puppet/plugins
1
vote
1answer
240 views

Should a puppet server be local to the network or available to all networks?

We have several servers that I'd like to start managing with Puppet. We have: Linux servers in our California office that I access over a VPN Linux servers in an Oklahoma data center that I access ...
2
votes
1answer
1k views

Creating a file with Puppet with facts from multiple hosts

I'm trying to have puppet build a configuration file that looks like this: [All] Hosts=apt-dater@puppetmaster;apt-dater@blaster; (etc...) Basically, this file needs an entry for each node that ...
0
votes
1answer
91 views

Can I make Puppet's module-to-file mapping to start searching at the top of the modules tree?

Consider these two Puppet module files: # File modules/a/manifests/b/c.pp class a::b::c { include b::c } # File modules/b/manifests/c.pp class b::c { notify { "In b::c": } } It seems that ...
2
votes
1answer
993 views

Load balancing with puppet

Im trying to setup a loadbalancing system. My load balancer (nginx) has a conf file where i should list all IP's of the upstream servers. I could put the IP's on the conf manually, but this ways i ...
2
votes
1answer
3k views

Is there any way to use arrays in a puppet module (not in template)?

I want to use puppet to manage a hadoop cluster. On the machines we have several directories which must be created and set permissions. But i'm unable to add array values for defined methods. define ...
3
votes
2answers
2k 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.
14
votes
4answers
5k views

Managing an application across multiple servers, or PXE vs cfEngine/Chef/Puppet

We have an application that is running on a few (5 or so and will grow) boxes. The hardware is identical in all the machines, and ideally the software would be as well. I have been managing them by ...
6
votes
2answers
483 views

Do you remove unwanted packages (*NIX), or do you disable them?

Im currently building a cobbler and puppet setup. One thing I do is disabling unwanted services with puppet, but then I thought: Should I remove them with cobbler, rather than disabling them after ...
3
votes
1answer
3k views

Depend on a resource only if it exists in Puppet

I have a class for enabling firewall on nodes (using ufw, in Ubuntu): class ufw { package { ["ufw"]: ensure => latest } exec { "enable-firewall": command => "/usr/bin/yes | /usr/...
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
4answers
757 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 ...
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....
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....
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': { $...