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
13
votes
2 answers

puppet log file in redhat and centos

I am running puppet agent in CentOS and Redhat. I would like to see its log file but cannot find it. In these operating systems, I clearly specify logdir = /var/log/puppet in the puppet.conf, but upon checking this directory, it is empty. Note that…
Henry Vu
  • 151
  • 1
  • 1
  • 5
12
votes
1 answer

puppet apply vs puppet agent -t

I am new to puppet and while going through puppet courses, I found one person using 'puppet agent -t' command to configure an agent node while in another course, the instructor using 'puppet apply' command. What is the difference between these two…
JavaYouth
  • 1,536
  • 7
  • 21
  • 39
12
votes
5 answers

Puppetserver service fails to start

I have a Vagrant CentOS VM running with ps.memory = 2048 RAM allocated. When I try to start the puppetserver service: $ puppet --version 4.4.0 $ sudo puppet resource service puppetserver ensure=running Error: Could not start Service[puppetserver]:…
lollercoaster
  • 15,969
  • 35
  • 115
  • 173
12
votes
1 answer

Puppet: What's the difference between an ordering arrow and a notification arrow?

In the official Puppet docs it says that there are two chaining arrows: https://docs.puppetlabs.com/puppet/latest/reference/lang_relationships.html -> (ordering arrow) Causes the resource on the left to be applied before the resource on the right.…
Peter Smit
  • 1,594
  • 1
  • 13
  • 27
12
votes
6 answers

Vagrant Installing Anaconda Python?

Anaconda python is installed (in linux) via a bash script. I am trying to use Vagrant provisioning to get Anacaonda Python installed. In the bash script (following the documentation bootstrap.sh example) I have a bootstrap.sh script that: wget the…
Jzl5325
  • 3,898
  • 8
  • 42
  • 62
12
votes
3 answers

puppet to override bind-address mysql variable

I am using https://github.com/puphpet/puppetlabs-mysql to set up mysql configuration and I need to change bind-address variable to 0.0.0.0. I am trying to do that as mysql::config::override_options { 'mysqld' : 'bind-address' => '0.0.0.0' } but…
Yuriy Gerasimov
  • 123
  • 1
  • 6
12
votes
1 answer

simple puppet script to copy files

Hi I'm new to puppet and trying to work on a sample to copy files from one location to another location. Any sample script to do that? Ex: I've my file at d:\temp\test.txt and I want to copy this file to E:\mycopy\ folder.
jestges
  • 3,686
  • 24
  • 59
  • 95
12
votes
2 answers

Using Vagrant, why is puppet provisioning better than a custom packaged box?

I'm creating a virtual machine to mimic our production web server so that I can share it with new developers to get them up to speed as quickly as possible. I've been through the Vagrant docs however I do not understand the advantage of using a…
Michelle
  • 2,155
  • 4
  • 26
  • 42
12
votes
4 answers

How to set config=value in php.ini with Puppet?

I'm doing my first steps in Puppet and ran into a problem. I've installed PHP on a Linux server and I want to do some slightly changes to php.ini file. I don't want to overwrite the whole ini file with one from repository, just change/create one…
mibutec
  • 2,929
  • 6
  • 27
  • 39
11
votes
2 answers

Any configuration management software using RDF?

Do any configuration management software (such as Puppet, Chef, Pallet, SmartFrog, etc.), open or closed source, using RDF data model to describe and configure infrastructure and software running on it? Alternatively, is there an RDF vocabulary or…
castagna
  • 1,349
  • 10
  • 12
11
votes
1 answer

How to fix encoding problems with Puppet

I am in the file encoding hell with Puppet. Even the simplest try does not work: hiera-data/test.yaml: --- test: Äñö init.pp: $test = hiera('test') file { "/root/encoding.txt": ensure => file, content => $test } On the Puppet server…
mmoossen
  • 1,237
  • 3
  • 21
  • 32
11
votes
3 answers

Puppet hiera equivalent in Ansible

hiera.yaml --- :hierarchy: - node/%{host_fqdn} - site_config/%{host_site_name} - site_config/perf_%{host_performance_class} - site_config/%{host_type}_v%{host_type_version} - site/%{host_site_name} - environments/%{site_environment} -…
MavWolverine
  • 846
  • 1
  • 9
  • 24
11
votes
1 answer

How to set hostname in EC2 instance with puppet based bootstrapping

I'm trying to build a puppet managed infrastructure (non-enterprise) in AWS with EC2 instances. Using puppetlabs-aws module I'm able to create the machines by convenient means. Next up is to make local settings on each node, most importantly setting…
Johan
  • 5,003
  • 3
  • 36
  • 50
11
votes
6 answers

Why does bundler use more than one gem location?

This is happening in Puppet's bundle. The Gemfile specifies gem "puppet", :path => File.dirname(__FILE__), :require => false But one of the gems I installed in $GEM_HOME appears in $: after all. $ bundle exec ruby -e 'puts…
Felix Frank
  • 8,125
  • 1
  • 23
  • 30
11
votes
3 answers

Could not retrieve information from environment production source

I'm using puppet as my provisioner in one of my vagrant project. I'm trying to add a module for a custom bash_profile. The module_path for puppet is set to: puppet.module_path = "puppet/modules" The class for my bash_profile module looks like…
Chris Schmitz
  • 20,160
  • 30
  • 81
  • 137