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
1
vote
0 answers

Puppet - invalid facter options error message

I have a local Vagrant set-up running on my machine building out a Ubuntu 14.04 box with a LAMP stack. Vagrant kicks off the process to initialise the box and then it kicks into a puppet script to build and configure the box to my requirements.…
Adrian Walls
  • 852
  • 3
  • 19
  • 31
1
vote
0 answers

How to provision rds instance inside vpc via puppet

I'm trying to provision rds instance inside existing VPC using puppetlabs/aws module. I'm able to provision rds instance in non-VPC mode using following declaration of resource: rds_instance { $instance_name: ensure => present, …
Bakir Jusufbegovic
  • 2,806
  • 4
  • 32
  • 48
1
vote
1 answer

Updating Local Administrators

Purpose: Utilize Puppet to use an access control list to regulate which users should have local administrator accounts on a server. If a local admin is on a server that isn't on the ACL, that account is deleted. Setup: With Puppet, I'm using an EPP…
jamStrong
  • 11
  • 2
1
vote
2 answers

Run command in Puppet Master

Is there a way to run a command in puppet master that will bring changes to the hosts right away? I have used different scripts using crontab to schedule my tasks and it changes whenever I have specified, but I am trying to learn if there is a way I…
James
  • 193
  • 2
  • 4
  • 15
1
vote
0 answers

How to connect Cloudera Manager to existing Spark cluster

I have following requirement: I need to provision both Cloudera Manager and Spark Cluster via Puppet but in a way that I need minimal (or none) configuration through Cloudera Manager UI afterwards. Ideal scenario that I'm looking for is…
Bakir Jusufbegovic
  • 2,806
  • 4
  • 32
  • 48
1
vote
1 answer

Puppet not getting saved with Packer on CentOS 7.1

I am trying to create a Vagrant box using Packer, and everything works fine until I try to install Puppet in the Packer box. The Packer logs clearly says that Puppet is getting installed correctly. However, when I load up the box in Vagrant and SSH…
user4207313
1
vote
1 answer

Collect values from other puppet classes

I'm trying to implement automatic monitoring using nagios/icinga and puppet. Hosts and basic services are working but now I want to implement different checks for services based on hostgroups. While I could setup the hostgroups in hiera I want to…
Hameno
  • 351
  • 3
  • 14
1
vote
1 answer

cant figure out how to get this template to render properly

Given the following each block <%@variables.each do | index, value |%> <%= 'export ' + index.upcase %>=<%= value.upcase%> <%= 'export ' + index.downcase %>=<%= value.downcase%> <%end%> I need it to render like this. however it is rendering like…
NDBoost
  • 10,184
  • 6
  • 53
  • 73
1
vote
1 answer

Puppet lvm duplicate declararion - error 400 on server

My code is using puppetlabs lvm module. Uses as shown below Part of code from r10k profile which invokes module. class profile::streams::messagequeue( $mq_install_root = '/opt/IBM/mqm', $mq_install_temp = '/tmp/mqm', …
neel
  • 243
  • 6
  • 17
1
vote
1 answer

Puppet Roles and Profiles - Unable to find class

When including a role in the site.pp file, I get the error "Could not find class roles::developmentmachine" In my site.pp I have: node 'laraveldev2-VirtualBox.local' { include roles::developmentmachine } In my modules folder…
1
vote
2 answers

puppet defined types and variables

I am new to puppet and I am trying to write a module to manage .bashrc file of 10 users. The following code is ok to manage the file of 1 user. However, I am unable to change the code to manage files for 10 users. I tried using defined types and…
linuxshell
  • 13
  • 4
1
vote
1 answer

How to replace a file with same time in puppet master to agent?

I am checking the file content in file1 (which is in puppet master) with file2 (which is in agent machine). If the contents are the same mean I replace the file1 from master with file2 in agent. If the content are a different mean do nothing. So…
1
vote
0 answers

Puppet Does not load class in custom module

A beginner environment with Puppet(3.8.4)+Apache(2.2.15)+Passenger on CentOS6.5 An agent run returns with Error: /File[/var/lib/puppet/lib]: Could not evaluate: Could not retrieve information from environment production source(s) …
aaaaarrrgghhh
  • 397
  • 5
  • 16
1
vote
1 answer

How can I make Puppet Device Management send my own commands?

I'm using puppet's network device management feature to configure Cisco routers, but I don't know how I can use it to send my own commands which I also want to use to create my own facts. For regular Windows or Linux clients we have exec: exec {…
red888
  • 27,709
  • 55
  • 204
  • 392
1
vote
1 answer

Puppet - how to provision a user on the guest machine with the same username as the user on the host machine

How can I configure puppet to provision a user on the guest machine with a username that matches the username of the user on the host machine who provisions the guest? (Using puppet apply, not server/master) $ puppet --version 3.4.3 $ vagrant…
axiopisty
  • 4,972
  • 8
  • 44
  • 73