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

learn more… | top users | synonyms

1
vote
1answer
216 views

Installed ruby from source on debian, apt-get no longer works due to failed dependencies, how do I fix it?

I installed ruby from source, and everything ruby related seems to work just fine. I can't install anything that depends on ruby using apt because I don't want 2 versions of ruby installed. After I ...
2
votes
2answers
970 views

use local file as puppet template

I'm developer of a java software and try to find a smart way to get my app distributed and configured in our datacenter. For that, I build an rpm package and we have set up a satellite. Target OS is ...
12
votes
3answers
2k views

Server credential management for Linux and Windows

We are a relatively small shop (as far as number of sysadmins) with a mix of RHEL, Solaris, Windows 2003 and Windows 2008 servers; about 200 servers in all. For our administrator accounts (root in ...
3
votes
3answers
2k views

Enforcing hashed home directory permissions with puppet

Home directories in our environment are hashed using the first two letters of a username. For example, the home directory for user lars is /home/l/a/lars. I would like to use puppet to enforce mode ...
1
vote
0answers
241 views

puppet dashboard upgrade is failing

following this page: Not able to get the latest puppet dashboard installed.... http://docs.puppetlabs.com/dashboard/manual/1.2/upgrading.html#upgrading-code Commands typing: git init rm .gitignore ...
5
votes
3answers
672 views

How do I prevent puppet interfering with manual server changes

A lot of our server configuration is managed via puppet. Puppet runs every 15 minutes via cron and applies configuration changes. If a server has problems I sometimes need to change configuration ...
2
votes
2answers
417 views

Puppet parameter lookup

I would like to know if it is possible to lookup the value of another Puppet resource, something like the following example: define foo( $username ) { $home = User[$username].home .... } ...
0
votes
3answers
6k views

puppet execute remote script on all servers

how can i execute a python script on all puppet clients. i have added a class for the script to be executed class curp { exec { "/usr/src/scripts/curp.py": } } and included it in nodes.pp ...
0
votes
1answer
1k views

puppet startup error

For some reason, not able to start puppet client... Have removed /var/lib/puppet and /etc/puppet/ssl... resigned the cert, same problem.... puppetd --no-daemonize --debug --server puppet debug: ...
2
votes
1answer
9k views

How to organize nodes.pp file to group class/define?

How to group some class / define in the node.pp file? node 'node1' { ntp { ntp: server_is => "node" } dns_resolv { dns: server_is => "node" ...
1
vote
1answer
1k views

How to create a user with Puppet

I am trying to create a user with Puppet but everything I have been trying has failed. I am trying to create a user named "capistrano" that will be placed in the "www-data" group. I have done the ...
1
vote
1answer
2k views

using puppet host resource with hiera data source

I'm trying to implement puppet /etc/hosts handling using hiera as data source, but my current implementation requires data duplication because I could pass only array of strings as $name to host ...
2
votes
3answers
2k views

emulate fabric/capistrano with puppet or chef

i have a few remote environments where i can only connect from outside but not from inside to outside. for my deployments/configuration needs i used fabric and capistrano that works fine but I have ...
2
votes
2answers
623 views

Accessing node variable in class and using it in a conditionnal

I am trying to configure Apache Virtual Hosts with Puppet and have been trying different things with little success. I have defined a node as the following : node 'test1.cob' inherits serveurClient ...
1
vote
3answers
1k views

What determines Puppet pluginsync directory structure on clients?

I'm using puppet 2.6.8. I've got pluginsync=true on both master and client. I've created a module and a type which lives on the puppetmaster at: ...
1
vote
1answer
635 views

Puppet can't access MySQL meta-information even when root

When running: $ sudo puppetd --verbose --no-daemonize -o I get errors such as: err: //webserver/Mysql::Rights[Setup SW Database]/Mysql_user[scraperwiki@localhost]: Failed to retrieve current state ...
8
votes
5answers
24k views

How to deploy applications (in .tar.gz) with Puppet?

I'm a beginner with Puppet and I would like to know if I'm on the right way to deploy applications with Puppet. The applciations are in a tar.gz file which contains a file with the version number. ...
4
votes
3answers
986 views

Problems validating Puppet manifests with “puppet parser validate”

I'm using puppet parser validate in a git pre-commit hook in order to spot problems before committing files to our Puppet configuration repository. Unfortunately, this command appears to be a very ...
2
votes
1answer
258 views

Multiple Masters For Puppet

I would like to have a master puppet server for each of my physical locations. However, I don't want to have to maintain them separately. Is there a good model/method for this with puppet?
1
vote
2answers
845 views

Upgrade the Ubuntu puppet package within kickstart process

My Ubuntu based kickstart-host is almost working like it should, serving Ubuntu 10.04 (both i386 & amd64) and CentOS 5.6 to new (VMware-)hosts. One of the things that bothers me is that Ubuntu ...
0
votes
4answers
2k views

Puppet agent failing

I am not able to get puppet agent running. I've tried removing /etc/puppet/ssl on the client, and ./puppetca --clean on the server. Nothing worked. notice: Starting Puppet client version 2.6.8 ...
0
votes
3answers
85 views

How to give a name to File{} for next steps whith “require” on Puppet?

Give an alias for a file seems to work. As example, the file which the name "tomcat_dir" could be used for next steps with " require => File["tomcat_dir"] " : file {"tomcat_dir": ...
4
votes
3answers
9k views

Can I run a shell built-in command with Puppet?

I want ~/.bashrc will be source whenever changing its content. I created a bashrc class with something like this: file { "/root/.bashrc": ensure => present, owner => root, group ...
1
vote
2answers
3k views

Adding a yum repo with puppet - Error 400 on SERVER: Invalid parameter enable at curly bracket?

I'm trying to automate some tasks when receiving a new server. The first thing is adding some yum repos. My /etc/puppet/modules/repo/manifests/init.pp: 1 class repo { 2 file { ...
7
votes
2answers
2k views

Puppet configuration using augeas fails if combined with notify

I'm having a problem with the following Puppet manifest, which is meant to enable the passwdqc pam module on a RHEL-6 system (this is using Puppet 0.25.5 and augeas 0.7.2): augeas { 'authconfig': ...
2
votes
3answers
3k views

How to set variables with basenode (in nodes.pp)?

I'm trying Puppet and it seems to be good. My question is very easy but I can't answer. I have a file "node.pp" : node basenode { include "dns" # include "ntp" } node ...
2
votes
1answer
444 views

puppet: nagios hosts file keeps having duplicates added

We have a puppet set up using the nagios types. Mostly it works fine, but sometimes I find that the generated puppet-hosts.cfg file keeps growing - the hosts are just added and re-added ad nauseam. ...
2
votes
2answers
235 views

Is it possible to use the Puppet inventory for puppet modules and other systems?

I'm diving into Puppet in our environment and I'm realizing there are many files I'd like to build that use Puppet Facts and inventory data about our environment. Is it possible, for example, to ...
6
votes
3answers
4k views

Using Puppet to install software “bundles”

We're in the process of researching a configuration/systems management implementation and we've done quite a lot of demoing of Puppet. Puppet seems to excel at the somewhat simple "ensure this ...
1
vote
3answers
5k views

Puppet: variable overriding best practices

I'm wondering what are best practices for overriding variables in puppet. I'd like to have all my nodes (which located in different places, some of them are qa, some live) with same classes. Now I ...
3
votes
4answers
801 views

Reference of Built-In Puppet Facts

Is there a reference for the facts that are included in a default puppet installation? For example, some examples I see include $operatingsystem which can be used to identify the distribution. Is ...
6
votes
2answers
5k views

What's the difference between include and require in puppet

I have a class in puppet if I have the following code: class A { require B .... } I get circular dependencies error. If I have: class A { include B .... } everything works fine
2
votes
1answer
910 views

How do I install puppet automatically on image startup?

I'm working on setting up a new Ubuntu 10.04 (lucid) cluster in the Rackspace cloud environment. I'm using Puppet for the first time to automate as much as I can. I've setup a puppet master and I'm ...
9
votes
2answers
2k views

Installing open-vm-tools in Ubuntu via Puppet; what's the lesser evil?

In an ideal world, configuring puppet to install the open-vm-tools should be as simple as this: class vm-tools { package { 'open-vm-tools': ensure => installed } package { ...
8
votes
2answers
4k views

Migrating puppet clients to new puppetmaster

How can I migrate our existing puppet clients to point to a new puppetmaster server? I'd rather not manually go to each client box and generate a new certificate. When trying the obvious -- rsync all ...
0
votes
2answers
1k views

Puppet - Update packages on repo installation

I am attempting to have puppet (0.25.5-1.el5) update an already installed package when a new yum repo gets installed. The basic image we have has package X installed at version 1.1 by default. In ...
0
votes
3answers
303 views

Tools to use for ec2 instance management [closed]

I am looking over couple of tools for managing the ec2 instances: Requirement: 1) I should be able to spin-off a new instance and the new instance get all the configurations required. 2) I ...
4
votes
2answers
509 views

Configuration Management Software for Linux for “harvesting” config-files

Managing 50 servers manually, and been looking through the different cms for linux (cfengine,puppet,chef etc) It's use will primarily for CM for config-files. Is there a cms out there that gather ...
0
votes
1answer
457 views

puppet does not work over openvpn: Could not retrieve catalog from remote server

We have a network 10.10.0.0/24, and one of the hosts (server0, 10.10.0.123) have puppetmaster installed. Others are connecting to it and everything seems fine. Another one host (server1) is on ...
1
vote
2answers
490 views

Puppet nodes cant' find master, ec2 public versus internal ip addresses and hosts files

If I setup my hosts files such that they reference all other ec2 nodes using the internal ip addresses, will this work or do I have to use the external ip addresses? Do I need to specify anything in ...
2
votes
3answers
343 views

Installing puppet from source b/c Ubuntu versions via apt are old

Is my only option to get version 2.6.8 via downloading from source? My ubuntu version that was installed was 2.6.1 via apt-get. If I download it by source, then I have to write the ...
3
votes
4answers
8k views

How to set puppet on the agent to start on reboots?

I'm on ubuntu, is this the correct way to get puppet to start on reboots? update-rc.d puppet default If yes, where can I see the result of that command? Does it update a file that gets called on ...
0
votes
2answers
172 views

Puppet and modules, doesn't it get to be a lot?

I'm reading the latest puppet book, and it breaks things down into modules which is nice. In one example, they created a module for SSH, so: /modules/ssh/{files, manifests, ...} Then you can ...
1
vote
1answer
572 views

Puppet: Install one of two packages only if neither are installed - otherwise nothing

Using Puppet... I had a situation with NTP whereby I wanted to install ntpd if NTP was not installed, but only if neither openntp nor ntpd were installed. (I solved this by using the Alexandrian ...
1
vote
2answers
864 views

Puppet offloading using NGINX, 403 forbidden error

I'm currently trying to offload some of the file serving puppet does using NGINX (As displayed here http://www.masterzen.fr/2010/03/21/more-puppet-offloading/), however I keep having 403 errors on ...
4
votes
3answers
2k views

Puppet is used for configuration management, what about software updates etc?

I understand how puppet helps setup servers etc., but would you use puppet for something like: apt-get update && apt-get upgrade I get the feeling the answer is no, if that is the case, ...
0
votes
1answer
536 views

puppet: nagios service subscribe not working

I've just set up puppet to generate nagios config files, which is great :) I have the services being put into a file named as $nagios_puppet_service_file and here is part of the nagios service class: ...
1
vote
3answers
396 views

Puppet defined resource - selective parameterization?

I'm currently banging my head trying to find the "best way" to achieve this type of granularity for puppet: I have a server running memcached in testing environment and another one running for the ...
1
vote
2answers
1k views

puppet or chef for stand alone server with limited resources

I have a small virtual linux server (500 megs ram). I may eventually get one or two more servers, not more. I'm a dev, not a sys admin so I don't know the best practices involving linux ...
2
votes
2answers
482 views

Is there something like puppet or chef that can manage dependencies across hosts?

Chef/puppet are great tools for managing the configuration of individual hosts, but they seem to fall down slightly when a configuration has dependencies between hosts. For example, I'd like to have ...