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
1 answer

Puppet server gives "Error 400 on SERVER: Could not find class" but works masterless

I have a working environment using puppet provisioning with vagrant. Now I set up a puppetmaster server on AWS EC2 containing the same modules I use with vagrant, but when I try accessing it from an agent, I get Error: Could not retrieve catalog…
Johan
  • 5,003
  • 3
  • 36
  • 50
1
vote
2 answers

what is the difference between facter pe_build and facter pe_version?

what is the difference between facter pe_build and facter pe_version, facter pebuild is returning 2015.3.0 facter peversion is returning 4.3.1 how to get the version correctly in all the puppet master opensource as well as in the enterprise?
Lokn
  • 421
  • 4
  • 17
1
vote
1 answer

Puppet Enterprise or puppet open source

How to determine from the puppet master whether the installed version is opensource or enterprise? Thanks, Lokesh
Lokn
  • 421
  • 4
  • 17
1
vote
3 answers

Puppet generate SSH keys

I am new to Puppet. What are the steps to generate a DSA key in Puppet and add the public key to authorized keys? Basically the equivalent of the below Linux statements $ ssh-keygen -t dsa -P '' -f ~/.ssh/id_dsa $ cat ~/.ssh/id_dsa.pub >>…
BJ5
  • 512
  • 6
  • 22
1
vote
1 answer

how do I test hiera values in puppet testing

I have below manifests in puppet: class env { $line = hiera('LINE') file { '/opt/dt/LINE' ensure => file, owner => 'root', group => 'root', mode => '0644', content => "${line}\n", } } I…
Puppeteer
  • 63
  • 1
  • 7
1
vote
2 answers

How to deploy EAR/WAR in Jboss using Puppet

For a project I am working on, we have CI setup using Jenkins. We now want to setup Continuous Delivery (CD) using Puppet. Here is our dev environment specs Windows 2008 Server Jboss-SOA-P (jboss AS 5.1 app server) - 2 instances Jenkins for…
Chintan
  • 906
  • 4
  • 14
  • 30
1
vote
1 answer

Puppet SVN check out with vcsrepo not working

I'm trying to use the vcsrepo module to check out an SVN repo. Heres the pp code I'm using: package { $repo_package: ensure => installed, } vcsrepo { "${doc_root}${fqdn}/src": ensure => present, …
Tybul
  • 23
  • 6
1
vote
0 answers

PuppetDB won't start as service, but runs in foreground

Having started with the Puppet Learning VM, I'm trying to install puppet for the first time. My issue is that I cannot get PuppetDB to start as a service, and I cannot find an error message indicative enough of any issue. (Shutting down due to JVM…
Kier
  • 55
  • 2
  • 10
1
vote
2 answers

Puppet - Check if package is installed, but do not require it

I am new to Puppet, and I am trying to install a file if a package is installed. So in pseudocode: IF postfix is installed DO touch /tmp/wehavepostfix DONE I can do something like: file { '/tmp/wehavepostfix': ensure => file, content =>…
Rudy Broersma
  • 227
  • 1
  • 4
  • 7
1
vote
0 answers

Puppet no implicit conversion of string into integer

I am using puppet to manage a varnish server with multiple backends. I am trying to create a loop so that additional backends can be added at a later date. So far I have the following in the erb file: <% @backends.each do |backend| -%> backend <%=…
thewire247
  • 795
  • 1
  • 9
  • 24
1
vote
0 answers

puppet can't apply; Error: wrong number of arguments (2 for 1)

I have an issue getting puppet to work. I'm working on OpenSUSE 13.2, my ruby version is 2.1.3p242 and the puppet version is 3.7.1. I got the site.pp for testing puppet: node default { file { '/tmp/depl_mon.sql': ensure => file, content =>…
1
vote
1 answer

Is it possible to change few portions of the value in Augeas

I would like to change the few portion in the value part of xml. Is it possible to do it in Augeas ? For eg: I would like to change the IP_ADDRESS alone in the following xml. It has been placed in three places. Is it possible to do it…
ArunRaj
  • 1,780
  • 2
  • 26
  • 48
1
vote
1 answer

not able to create private hosted route53 zone and a record set using puppet aws module

I am trying to create a private hosted route53 zone and a record set. manifest below for reference: `# Setup private DNS for cm.test.com route53_zone { 'Internal - cm.test.com': zone => 'cm.test.com', vpc_id => vpc-6107a005,`enter code…
1
vote
1 answer

Provision Developer Workspace + IDE inside Virtual Machine

I'm trying to automate the provisioning of our developer workspaces which are based on Linux running in a Virtualbox. We also run the IDE inside the Virtualbox. The host system is Windows 7. The new solution will install the required dependencies…
samba2
  • 468
  • 7
  • 15
1
vote
2 answers

Linux: Running a script manually from terminal works like a charm but when cron runs it, it fails, what could be the reason?

In order to backup Puppet on a daily basis, I've wrote the following script: #!/bin/bash today=$(date -I) todaytime=$(date +'%H:%M') log="/var/log/puppet_backup.log" echo "Backup process started.... $todaytime $today" >>$log cd /etc && tar cvzf -…
Itai Ganot
  • 5,873
  • 18
  • 56
  • 99