Questions tagged [puppet]

Puppet is a ruby-based Configuration Management system incorporating a model-driven DSL. Its purpose is to provide configuration file enforcement, service state monitoring, package installation and other server-side management.

Puppet is a ruby-based Configuration Management system made by Puppet Labs.

Puppet has its own DSL, a model-driven language.

Its purpose is to provide configuration file enforcement, service state monitoring, package installation and other server-side management.

Functionality is provided by types. Out of the box, puppet comes with a number of commonly used types such as package, service and file.

It can be extended with modules available from the Forge.

Puppet is written in Ruby and licensed under the Apache v2 and the source code is avaliable on Github.

Useful Links:

See Also

4080 questions
5
votes
2 answers

Puppet 3 file recurse terribly slow

I'm using Puppet 3 on Amazon Linux 2012.09, one of my manifests sets up and reconfigs some directories. One of the tasks is just changing the folder owner and group recursivelt to another user - however, this takes over a 60 seconds to complete and…
user1741694
  • 237
  • 4
  • 13
5
votes
1 answer

How can I get Puppet to install .NET Framework 4.5?

So I am using Vagrant and Puppet on Mac OS X to instantiate and configure the Windows 2008 R2 Datacenter Full basebox found on http://www.vagrantbox.es/ (in VirtualBox) and I'm wondering if anyone has been able to successfully install .NET 4.5 to…
David P
  • 3,604
  • 3
  • 37
  • 54
5
votes
5 answers

Configure ulimit using Puppet

I am wondering how to run the ulimit command using Puppets exec type. The problem with ulimit seems to be that it isn't a binary so it has to be called using /bin/bash in front of it. I am trying to change the core file size to unlimited. I have…
Alan Smith
  • 1,069
  • 4
  • 19
  • 23
5
votes
5 answers

Puppet agent fail to connect to master

I'm struggling since 2 days with signing of Puppet-Agents now. The Problem is as follows: On the master I delete all existing signatures with puppet cert clean esx-poc-1.xxx.de On the agent I delete the whole ssl directory with rm -rf…
heinkunibert
  • 361
  • 2
  • 5
  • 15
5
votes
3 answers

Puppet does not start a service (varnish) when puppet apply is run

I have a puppet manifest which states that the service "varnish" should be running, but it is not. I have another service defined, apache2, which works fine, and get started whenever I run puppet apply. vagrant@lucid32:~$ sudo netstat…
marianov
  • 875
  • 1
  • 9
  • 19
5
votes
3 answers

How far should I go with puppet?

I'd like to preface by saying I'm new to puppet. I have been working with it via vagrant and am starting to feel comfortable writing manifests, but I lack perhaps the experience, or intuition, that can answer my question. I am trying to grasp how…
5
votes
4 answers

Puppet Nodes.pp Include Modules Execution Order

I am trying to set a sequential order on some of my modules for certain nodes. node basenode{ include ps include netfx include hg include reportviewer2012 include wdeploy30 include sqlexpress2008 include windowsrolesfeatures include…
Maverick
  • 1,293
  • 1
  • 19
  • 39
5
votes
2 answers

Using Chef/Puppet and managing hand-made changes

I'm running a complex server setup for a defacto high-availability service. So far it takes me about two days to set everything up so I would like to automate the provisioning. However I do a quite a lot of manual changes to (running) server(s). A…
tillda
  • 18,150
  • 16
  • 51
  • 70
5
votes
2 answers

Vagrant/Puppet --- ensure: change from present failed: Could not set 'present on ensure: No such file or dir

I am using Vagrant and Puppet to install Apache and PHP on Ubuntu. However I am getting the error below during vagrant up. I think the path for the templates are correct, then why the error? I'm using the setup here modified to ensure apt-get update…
Nyxynyx
  • 61,411
  • 155
  • 482
  • 830
5
votes
2 answers

Puppet init script doesn't create the pid file?

CentOS release 5.4 (Final) puppet-server-2.7.19-1.el5 is installed from the puppetlabs repo. puppetmaster is started successfull, but it doesn't create the pid file. It is the reason for [ FAILED ] message when stopping: /etc/init.d/puppetmaster…
quanta
  • 3,960
  • 4
  • 40
  • 75
5
votes
3 answers

Output ruby array via an erb template

I'm using puppet to provide a set of constants for a ruby program. I need to provide an array of hostnames over which my program will iterate. In the bash script I was using before this, I simply had as a puppet variable hosts =>…
Hitch
  • 51
  • 1
  • 6
5
votes
1 answer

Problems running Vagrant/Puppet on osx 10.7

I'm just getting started with Vagrant and Puppet. I'm able to get a Virtualbox running but now I want to automate the software that gets installed on it. In my Vagrantfile I have: Vagrant::Config.run do |config| config.vm.box = "precise64" …
ed209
  • 11,075
  • 19
  • 66
  • 82
5
votes
4 answers

Augeas support on my Vagrant machine?

I'm trying to getting support for augeas on my Vagrant machine. I tried to install some package with these directives: package { "augeas-tools": ensure => installed } package { "libaugeas-dev": ensure => installed } package { "libaugeas-ruby":…
Francesco Casula
  • 26,184
  • 15
  • 132
  • 131
5
votes
1 answer

Puppet run ordering for optional classes

I am trying to solve the following problem with Puppet: I have multiple nodes. Each node includes a collection of classes. For instance, there is a mysql class and webserver class. node1 is a webserver only, node2 is webserver + mysql. I want to…
Roman Zenka
  • 3,514
  • 3
  • 31
  • 36
5
votes
1 answer

How to handle data such as Mysql, web sites sources with Vagrant?

How to handle data such as Mysql, web sites sources with Vagrant ? As a programmer, I like being able to easily set up environments for develop. So I created a vagrant box and provisioned it with puppet but I'm asking to myself, what about the data…
JulienD
  • 3,172
  • 3
  • 16
  • 16