0
votes
1answer
35 views

Manage workstations with Puppet and TheForeman

I'm building an IT infrastructure for managing all the workstations in my company. I am interested in Puppet and a external node classifier as The Foreman, but I see all the time that Puppet and The ...
2
votes
0answers
33 views

A testing framework for Linux server configuration management

We are a medium sized shop that uses Puppet for Linux configuration management. Since we are a small shop, it's difficult to deploy and maintain DTAP environment. We normally perform manual testing ...
5
votes
3answers
94 views

Version Controlling Foreman & Puppet

I have just setup Foreman for the first time & am not sure how to go about putting all of my configurations under version control. I know I can use Git for each module I install on my Puppet ...
2
votes
0answers
79 views

Need a PHP version manager to deploy multiple versions of PHP on production servers [closed]

I'm currently running a few LAMP stacks, where I've setup PHP 5.2, 5.3 and 5.4 by hand. All servers are running Ubuntu 12.04 LTS. 5.3 is currently installed via apt-get but all other PHP versions are ...
6
votes
1answer
372 views

Puppet package “ensure => latest” doesn't always work

I have a unique situation where the Puppet package ensure => latest directive only worked on some of my systems. Out of 30 servers, the packages updated properly on all but 4. I'm trying to get ...
8
votes
1answer
603 views

Configuration management: push versus pull based topology

The more established configuration management (CM) systems like Puppet and Chef use a pull-based approach: clients poll a centralized master periodically for updates. Some of them offer a masterless ...
0
votes
1answer
71 views

Puppet node ordering

Can someone help me with puppet node ordering, I know how to control sequence inside classes using require, before, subscribe etc but I need to be 100% sure that my node2 will be executed only after ...
2
votes
1answer
99 views

Can we get git-like functionality with a tool like puppet?

I'm thinking about a convenient way to track my vps configurations and to deploy them in one click (or more or less one). I have been reading up and looking into different config deployment tools of ...
2
votes
1answer
228 views

How to update grub with puppet?

I would like to change a line in /etc/default/grub with puppet to this: GRUB_CMDLINE_LINUX="cgroup_enable=memory" I've tried to used augeas which seems to do this magic: exec { "update_grub": ...
3
votes
1answer
171 views

Is it worth it to do revision control/puppet/etc. on a single-server-setup?

After reading Using revision control for server configuration files?, I decided to install etckeeper on my server. However, it's a one-server setup, so I only have one physical machine and no load ...
42
votes
6answers
10k views

Why use Chef/Puppet over shell scripts?

New to Puppet and Chef tools. Seems like the job that they are doing can be done with shell scripting. Maybe it was done in shell scripts until these came along. I would agree they are more readable. ...
1
vote
1answer
148 views

How auto configure or mirror my dev Ubuntu installation onto other dev machines?

I have a lot of packages and configurations done to setup my dev machine. I have other developers in my team and want them to have the same setup to start with to ensure compatibility and availability ...
2
votes
2answers
251 views

puppet fileserver serve non-module file

I'd like to server file which is located in /etc/puppet/files/key.pgp file { "/var/www/key.gpg": ensure => present, source => 'puppet:///files/key.gpg', } I'm getting this ...
1
vote
1answer
146 views

How to grant in Puppet a global permissions to PostgreSQL?

Official postgresql module from puppetlabs allow granting privileges on specific database. postgresql::database_grant{'grant to myuser': privilege => 'CREATE', db => ...
1
vote
1answer
311 views

How to install packages from source code with Puppet?

I'd like to install source code packages which doesn't have binary packages (deb, rpm) yet. How do I stop execution of a module in case that the module is already install on that machine? I'm using: ...
1
vote
3answers
207 views

Need puppet server sizing and scale limits [duplicate]

My company is considering adopting Puppet to manage our infrastructure. We've heard that Puppet is not as efficient as other solutions such as CFEngine. Does anyone have any hard data about how many ...
2
votes
2answers
1k views

Why Puppet can require each package just once?

When defining dependencies in a class each Package can be globally defined just once. I have hierarchy of configuration and some packages should be installed on all machines (that goes to default ...
0
votes
2answers
533 views

how can I call ruby function basename in puppet

I'd like to call function File.basename which is available in Ruby. Is it possible in puppet? Something like: $filename = basename($download_url)
2
votes
2answers
1k 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
400 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 ...
2
votes
1answer
294 views

Managing multiple linux\freebsd server? [closed]

I currently have 5 FreeBSD servers that I'm handling on my own. I just bought 10 more servers and I want to start using some centralized configuration system like Puppet. I was wondering if there ...
3
votes
3answers
2k views

How to generate customized sudoers files in puppet depending on the environment they're deployed to?

the sysadmins are present in the sudoers files of all environments, but other sudoers are not. Different environments all have slightly different sudoers. Most of the time, 90% of users are the same, ...
48
votes
2answers
6k views

Why is it so difficult to upgrade between major versions of Red Hat and CentOS?

"Can we upgrade our existing production EL5 servers to EL6?" A simple-sounding request from two customers with completely different environments prompted my usual best-practices answer of "yes, but ...
2
votes
1answer
1k views

Puppet Enterprise vs. Open Source

I'm interested in learning to use Puppet. One example I see over and over again is user management. According the the Puppet website, "Configuration management – User accounts" is a feature that only ...
1
vote
1answer
342 views

Puppet: array in parameterized classes VS using resources

I have some use cases where I want to define multiple similar resources that should end up in a single file (via a template). As an example I'm trying to write a puppet module that will let me ...
7
votes
1answer
2k views

Puppet: managing (lots of) Apache VirtualHosts

I'm learning my way through configuration management in general and using puppet to implement it in particular. I have already done some generic research (also on SF) and right now I'm considering ...
32
votes
0answers
4k views

What advantages/features does Puppet or Chef offer over Salt (or vice versa)? [closed]

I am looking at rolling out a new configuration management tool to replace our home-grown solution. The defacto standards are Chef and Puppet, both of which are Ruby-centric (though can be used to ...
47
votes
6answers
4k views

What should NOT be managed by puppet?

I'm learning my way through configuration management in general and using puppet to implement it in particular, and I'm wondering what aspects of a system, if any, should not be managed with puppet? ...
0
votes
1answer
178 views

Arbitrary software configuration management with Puppet?

I am evaluating Puppet as a potential replacement for an in-house software configuration and distribution system. I am looking for advice on whether Puppet can satisfy certain requirements for ...
69
votes
6answers
10k views

How can the little guys effectively learn and use Puppet?

Six months ago, in our not-for-profit project we decided to start migrating our system management to a Puppet-controlled environment because we are expecting our number of servers to grow ...
2
votes
1answer
2k views

Generating Puppet resources from array of hashes

I'm new to Puppet and to start using it I want to learn how to manage system users. I have several users, which share common properties, so I thought I should factor things out. After some struggle, ...
-4
votes
1answer
1k views

Is Chef/Puppet too complicated? [closed]

I know both of them are amazing tools, and have great feature sets. But maybe, just maybe, they are like Word/Excel, which I probably only use < 10% feature in my lifetime. To me, a bash-based ...
1
vote
1answer
1k views

Using Augeas to modify Squid configuration

I'm running squid-deb-proxy and I want to alter the configuration using Puppet/Augeas. When I try this: augeas {'squid-deb-proxy.conf': lens => 'Squid.lns', incl => ...
9
votes
3answers
6k views

Set sysctl.conf parameters with Puppet

This was a breeze in CFEngine... But I'm in a Puppet environment now, and need to be able to assign/ensure/check certain sysctl.conf variables. In the CFEngine world, I could simply check for specific ...
5
votes
1answer
413 views

Automatic management of SSL certificate on multiple servers…good or bad

We're using puppet to manage a group of Ubuntu boxes and will shortly require each of these servers to share a common SSL certificate, in order to serve a site over HTTPS. Naturally, we'd like to use ...
5
votes
2answers
6k views

How to comment out / uncomment a line in a configuration file with Augeas?

Assumming that I have the following in the /etc/syslog.conf file: # Log all kernel messages to the console. # Logging much else clutters up the screen. #kern.* /dev/console ...
5
votes
2answers
2k views

Patching with Puppet

I am new to Puppet, and I am wondering if it is an effective solution for patch/pkg management on Solaris as well as Linux. I am more interested on the Solaris side. So far am unable to locate any ...
1
vote
3answers
1k views

Specifying prerequisites for Puppet custom facts?

I have written a custom Puppet fact that requires the biosdevname tool to be installed. I'm not sure how to set things up correctly such that this tool will be installed before facter tries to ...
3
votes
3answers
1k 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 ...
0
votes
3answers
285 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 ...
1
vote
2answers
835 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
455 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 ...
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 ...
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 ...
1
vote
3answers
3k views

Using MCollective to run Puppet

I have to administrate a big cluster of servers in the cloud and now I want to automate the installation process of these machines. Therefore I use puppet as configuration management system. I want ...
16
votes
7answers
2k views

What are the right questions to ask when deciding whether to use Chef or Puppet?

I am about to start a new project which will, in part, require deploying many identical nodes of approximately three different classes: Data nodes, which will run sharded instances of MongoDB. ...
9
votes
2answers
703 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 ...
14
votes
5answers
3k views

What's the strengths and weaknesses of existing configuration management systems? [closed]

I was looking up here for some comparisons between CFEngine, Puppet, Chef, bcfg2, AutomateIt and whatever other configuration management systems might be out there, and was very surprised I could find ...
5
votes
3answers
281 views

What configuration management solutions exist in a non-networked environment?

My servers exist in an environment without outside network connectivity (this is a requirement), so when I deploy updates all packages, binaries, config files, etc. must be included on the delivered ...
1
vote
2answers
394 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 ...