3
votes
0answers
60 views

Puppet removes packages while installing “lsscsi”

We wanted to install the "lsscsi" package on all our Linux Servers and build a manifest for it: # pack_lsscsi.pp class common::pack_lsscsi { case $operatingsystem { RedHat, ...
0
votes
1answer
342 views

nginx on Ubuntu: Permission denied

I am new to system administration. After installing nginx via puppet on Ubuntu I get the following output: [alert] could not open error log file: open() "/var/log/nginx/error.log" failed (13: ...
3
votes
1answer
294 views

No APT Recommends with puppet

I use puppet to manage a bunch of Debian servers at work, part if that includes installing packages. One package I install on several systems is nmap which is used to verify that firewall rules are ...
0
votes
1answer
196 views

Puppet provider does not install prerequisites

I have cloned a module for virtual machines, but when I try to apply a virtual machine to a node, I get Error: Could not find a suitable provider for virt, which is understandable given that the ...
0
votes
1answer
138 views

puppet user module not updating /etc/group on servers

i am using the puppet user module, its able to create the users and add them to the correct group, however i have moved one user to another group and puppet moved the user to that group on the remote ...
2
votes
2answers
846 views

how to pass parameters to puppet modules?

What is the best practice for configuration of puppet modules? I have puppet 2.7.11. I find this way quite messy, it looks like using global variables. node default { $always_apt_update = true ...
0
votes
1answer
318 views

puppet environment variable $PATH is not set

I'm trying to install a module with puppet 2.7 on Debian 6.0 and I keep getting this error: returns: change from notrun to 0 failed: Could not find command 'tar' this is the relevant code: file ...
0
votes
1answer
97 views

Puppet do wrong command for create user

I have 2 debian boxes. One with puppetmaster, second with puppetd. # puppet -V 2.7.18 In manifest i have: group { "tipadima": ensure => present, } user { "tipadima": ...
5
votes
2answers
379 views

Puppet sometimes can't find standard facts like osfamily

Quick brief - for testing purpose, I installed puppet agent on 5 nodes (Debian Squeeze + puppet 2.7.20-1puppetlabs1), and puppet master on 1 server (same version). On puppetmaster side in every ...
2
votes
1answer
214 views

Puppet Can't Start Service That Can Be Started By Hand?

On Debian, I have written a simple init script for a Pyramid application using pserve. I am not 100% sure that it is complete/correct, but it works for now: ...
1
vote
3answers
1k views

Using a proxy with Vagrant & Puppet

I'm trying to run a puppet manifest which depends on the target machine having proxy settings to access the Internet. I haven't been able to pass http_proxy_host as Puppet suggests (I believe its a ...
9
votes
1answer
2k views

How to use a custom status command for a service in puppet?

I am using debian squeeze with PostgreSQL 9.1 from backports. Puppet has version 2.7.14. Unfortunatly the init script returns the wrong exit code for status. Therefore I wrote a custom status command ...
3
votes
1answer
329 views

Kill a puppet manifest

Say I have a manifest that has a different action for each version of Debian case $lsbdistcodename{ 'squeeze':{//stuff} 'lenny' : {//stuff} default : die I want the manifest to throw a fatal error. ...
0
votes
1answer
534 views

Tool for managing ssh keys in a server cluster

I have couple of Debian servers and currently I am struggling around with adding manually ssh keys to the server's authorized_keys files. Do you know an application which can do this in a nice ...
0
votes
1answer
797 views

Why does this nginx/thin run puppet master interpret paths differently than a lone puppetmasterd?

For the purposes of this question I need to make a distinction between my Production puppet master and my Development puppet master. In either case, my /etc/puppet/puppet.conf is: [main] ...
2
votes
1answer
725 views

Why does this puppet node definition not run on the hostname it matches?

I'm running puppet 2.7.9 on a Debian Squeeze system. The box I'm targeting is named 'puppet' # hostname puppet # facter | grep hostname hostname => puppet # cat /etc/hosts | head -n2 127.0.0.1 ...
2
votes
2answers
435 views

Puppet doesnt sign certs

I have build an testlap for puppet, but it doesnt work. I start the Puppet Agent on the Node and he waits for the Certificate. root:~# puppet agent --server xxxx --waitforcert 60 --test warning: ...
9
votes
9answers
1k views

System updates for many servers

We have many servers and still want to update them all. The actual way is that any of the sysadmins go from server to server and make a aptitude update && aptitude upgrade - it's still not ...
0
votes
1answer
319 views

puppet on amazon ec2: could not change hostname

I'm running ec2 debian instance and trying to get puppet working on it. I'd like my hostnames to be something more readable, so I've changed /etc/hostname, run /etc/init.d/hostname.sh start and I can ...
6
votes
2answers
3k views

How do I provide dpkg configuration parameters to aptitude or apt-get?

When installing gitolite I find that: # aptitude install gitolite The following NEW packages will be installed: gitolite 0 packages upgraded, 1 newly installed, 0 to remove and 29 not upgraded. ...
6
votes
1answer
1k views

How do I generate a response file to be used with apt-get or aptitude?

I need to install exim4 through puppet. Because this installation requires interactive configuration, I need a response file, but I don't know how to generate one. So, how do I generate a response ...
19
votes
1answer
11k 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 { ...
1
vote
1answer
275 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 ...
22
votes
9answers
9k 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 ...
19
votes
4answers
11k 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 ...