Questions tagged [puppet]

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

Puppet is a configuration management tool for Unix and Windows. It works either standalone mode (puppet apply) or in client-server mode (puppet agent) with puppet agents running on client systems checking in with the master daemon on the server on a regular basis. Puppet's written in ruby, and puppet source code, i.e. puppet manifests, uses its own domain-specific language that focuses on declaring the system resources and it's intended state.

Combined with system provisioning tools (PXE, kickstart, FAI, etc), puppet can fully automate any software installation and configuration process that doesn't require a GUI interface.

More info:

Related:

1792 questions
1
vote
2 answers

Custom fact to copy bar file from all Puppet clients to main Puppet server

I know that Facter is not intended to do this, but I would be glad to know how to write a custom fact to copy files from Puppet clients to main Puppet server. Thank you.
1
vote
1 answer

puppet: capitalisation of definitions

I have a definition in my puppet manifests called postgresql::user I have put in the following, to make sure puppet doesn't try to do something twice: if !defined (Postgresql::User["dbuser"]) { postgresql::user { "dbuser": …
bobinabottle
  • 579
  • 2
  • 7
  • 19
1
vote
2 answers

Converting from one puppetmaster to another

I have a puppet host which has been pulling data from a remote puppetmaster, and now I want to turn this host into a puppetmaster. The host (as puppet agent) had already been configured and SSL certificates exchanged. Now there is a new puppetmaster…
Mei
  • 4,590
  • 8
  • 45
  • 53
1
vote
2 answers

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 => installed } } php::pear { ['ldap', 'mysql', 'ps', 'snmp',…
bobinabottle
  • 579
  • 2
  • 7
  • 19
1
vote
3 answers

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 mention of this in their docs or Google. I know…
npt
  • 313
  • 3
  • 10
1
vote
4 answers

puppetca never returns anything

Hi: I'm trying to configure Puppet on Ubuntu, and strangely I am never able to generate a certificate because my server never shows any pending certificate requests. Put differently, on the server I am running puppetmasterd and on the client I am…
mrisher
  • 401
  • 1
  • 5
  • 12
1
vote
1 answer

Can't push new script via Puppet and Git system

We have a puppet (version 0.24.5) server configured with Git, running on Debian Lenny x64. This is a currently functioning environment that pushes puppet updates as needed, except for one snag. I recently defined a custom check command that calls a…
user63019
  • 21
  • 4
1
vote
1 answer

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 => Package[rubygems], } but it seems there's some issue because…
Pablo Fernandez
  • 7,438
  • 25
  • 71
  • 83
1
vote
1 answer

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 stage at /etc/puppet/manifests/nodes.pp:32 The server…
Tom
  • 11,176
  • 5
  • 41
  • 63
1
vote
1 answer

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 puppet from the repos, and are failing with the…
Tom
  • 11,176
  • 5
  • 41
  • 63
1
vote
2 answers

Using Puppet to Install PHP 5.2 on Ubuntu 10.04

I'm working on installing PHP 5.2 on Ubuntu using Puppet (with the goal of using Puppet and Drush to install Drupal), but the packages it installs are all PHP 5.3. I found instructions to install PHP 5.2…
avaleske
  • 137
  • 1
  • 1
  • 5
1
vote
1 answer

Can Puppet be configured like this?

This entire set-up is in INTRANET. I am working on SuSe Linux Platform (SLES/SLED). Recently there was package which had to be updated because of some problem. So this time we could manually go to desktops and update the package one by one. Since at…
user50076
  • 11
  • 1
1
vote
1 answer

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 over SSH Linux servers in Amazon Elastic Compute…
John Whitlock
  • 1,107
  • 2
  • 9
  • 14
1
vote
2 answers

Problem getting puppet to sync custom fact

I am having trouble getting puppet to sync a custom fact. I am using puppet version 0.25.4. The fact is inside a module as described in http://docs.reductivelabs.com/guides/plugins_in_modules.html If I specify --pluginsync on the command line it…
byron-appelt
1
vote
1 answer

How to use puppet-apache mod (v8.3.0) with hiera?

Queston: Using the roles & profiles method, is it possible to use 'puppetlabs-apache', '8.3.0' with a hiera lookup? Context: I am using mod 'puppetlabs-apache', '8.3.0' to configure an apache server. I have a large number of apache re-write rules…
John-H
  • 11
  • 2