Puppet is a configuration management tool (Unix & Windows) with its own Domain Specific Language (Puppet or Ruby DSL)

learn more… | top users | synonyms

0
votes
1answer
1k views

How to add a puppet module to Gepetto, when using git?

I followed some "best practices" from Puppet 2.7 Cookbook and created agent - puppet master framework, with git cvs. Unfortunately, the book doesn't cover Gepetto, so I am forced to improvise that ...
8
votes
2answers
3k views

Could Puppet-reports be removed once these have been processed by Puppet-dashboard or PuppetDB?

Puppet-reports are using a lot of diskspace in: /var/lib/puppet/reports /var/lib/mysql The assumption is that it stores all reports in the MySQL database, because both paths are about the same ...
5
votes
1answer
72 views
+50

How to run Puppet on multiple nodes at once using MCollective?

Aim At the moment there are more than 100 systems in the office and the expectation is that the number will increase. All systems are managed by Puppet. If Puppet code changes on the Puppet Master ...
1
vote
1answer
30 views

Order of resource/class execution in puppet manifest file

I working on configuring CQ5 on vagrant managed virtual machine. The provisioning is done using puppet. I have query regards to the order of execution of classes/resources in puppet manifest file. ...
0
votes
1answer
29 views

Duplicate declaration: Exec[] is already declared in defined type

Please help me with solution to a problem I was facing , I am trying to install adobe CQ5(author/publish modes) using puppet script. I have defined instance.pp as defined type and passing ( ...
0
votes
0answers
20 views

Is it possible to execute «unless» clause as a specific user?

Background: I am upgrading our lxc puppet module to support the emerging unprivileged LXC technology. The code that creates the container is executed unless the following test if the container ...
2
votes
2answers
26 views

Why aren't my puppet variables getting assigned by Vagrant's puppet.facter options?

Given that the following is config'd in my Vagrantfile: puppet.facter = { 'variableOne' => 'one', 'variableTwo' => 'two' } ... and the following is in the manifest: notify{ "Got here ...
-1
votes
1answer
38 views

puppet enterprise installation error

I am using puppet-enterprise-3.3.2-el-6-x86_64.tar.gz to install puppet enterprise, after installation I got ERROR: Could not install required packages--this may be due to a network failure or ...
0
votes
1answer
39 views

Is there a way to upgrade OS using Puppet without exec to run yum?

We will be upgrading our RHEL 6.5 machines to RHEL 6.6 in the coming week. I know how to create repos using Puppet, but instead of just using exec to run a yum -y update, is there a way to tell Puppet ...
-1
votes
1answer
21 views

puppet enterprise3.7 installation validation

I have installed puppet 3.7, to validate I referred yum.log,install_log and used command puppet --version. Is there any command to validate for successful puppet installation. Also I would like to ...
1
vote
1answer
29 views

setting up suPHP with puppetlabs/apache on centos 6.5

I am trying to set up suPHP on a centos 6.5 box with the puppetlabs/apache module. Apache Configuration file { "/var/www/vhosts": ensure => "directory", owner => "root", ...
1
vote
0answers
18 views

Can not access www with puppetlabs apache module

The vhosts are managed with the puppetlabs-apache module and I can not access the website with www but I can without it. When i use www I get a blank page and there are no errors an any logs and non ...
0
votes
0answers
9 views

Patch management solution for Debian and Ubuntu-environment [closed]

I'm looking for an open-source configuration management-solution like spacewalk. As the "spacewalk-server" must be installed on CentOS or Fedora and the environment I want to install it in runs on ...
3
votes
2answers
158 views

Ansible, Chef, Puppet or ____ : Which has the strongest Windows support and smallest init footprint

We do mostly (but not exclusively) win servers. Preferably, we can start the OS and do little or nothing to it to make it ready to receive commands (we know we may need to create a base image with ...
4
votes
1answer
25 views

Puppet: How to skip restart during package upgrade until config is replaced?

I'm trying to get Puppet to upgrade our Varnish 3 servers to Varnish 4, a major update which requires an updated config file or it won't start. This is on Ubuntu 12.04. The Varnish module is ...
0
votes
1answer
22 views

Puppet agent cannot find environment

Puppet master can find the environment, [user@puppetmaster]$ sudo puppet agent --configprint modulepath /etc/puppet/environments/development/modules:/etc/puppet/modules:/usr/share/puppet/modules ...
-4
votes
0answers
14 views

uninstall puppet open-source

I was using puppet open-source, now want to install puppet enterprise in master. for uninstall open-source I copied /etc/puppet under /tmp/puppet_bkp. should I remove open souce package as well to ...
4
votes
1answer
1k views

How to manually create Puppet CA and certificates?

I am wondering how to manually (using openssl instead of puppet ca command) create CA that would be usable by Puppet? The goal would be to script creation of such CA's to deploy them on multiple ...
0
votes
0answers
7 views

Is it possible to exclude certain directory sync from Puppet reports?

For some of my Puppet nodes I need to sync a directory with about 50K files. I noticed that yaml reports for these nodes are huge - about 50M every one. Is it possible to decrease verbosity of logging ...
-1
votes
0answers
20 views

unable to connect agent

I want to check whether my master refer abcd.hdt.com agent. I tried puppet cert name Warning: Setting manifestdir is deprecated. See http://links.puppetlabs.com/env-settings-deprecations (at ...
0
votes
1answer
15 views

How can I use a rubygem in a puppet provider on debian stable?

I'm trying to use a puppet provider which requires a ruby gem. It's being run on Debian stable (wheezy), but I get the following error: err: Could not run Puppet configuration client: no such file ...
2
votes
0answers
19 views

Creating a CA signing chain when there wasn't one before

Here is the problem... 3 years ago we created a multi-datacenter setup, with as little cross-DC resource dependencies as we could make. Different AD sites. Different puppetmasters. Different syslog ...
0
votes
0answers
11 views

Using yum-builddep instead of yum install in Puppet

Is there a simple way to change the default behaviour of yum when installing packages to for instance instead of doing a yum install instead use yum-builddep to install only the dependencies of a ...
1
vote
2answers
44 views

Puppet Augeas with /etc/hosts

I'm fairly new to Augeas, but I've been told it is the tool for modifying config with puppet. I'm trying to create a simple class that adds a line to /etc/hosts if it doesn't already exist. ...
2
votes
2answers
796 views

Problem getting puppet to sync custom fact

I am having trouble getting puppet to sync a custom fact. I am using puppet version 0.25.4. The fact is inside a module as described in http://docs.reductivelabs.com/guides/plugins_in_modules.html If ...
0
votes
1answer
40 views

Puppet (machine) State

I'm trying to wrap my head around Puppet, to be able to tweak our automatic build/deployment process. The one thing that I'm missing at the moment is a concept of a "state" the machine can be in: if ...
0
votes
1answer
10 views

Generate foreman-installer-answers.yaml

Is there a way to generate a foreman-installer-answers.yaml file from a current setup? After initially installing Foreman I changed a couple of things in the web interface and also used ...
1
vote
3answers
156 views

Restarting mysql utilizing the puppetlabs/mysql module?

I have two folders -- one is 'public_modules' and the other is 'private_modules'. When I start a new Vagrant machine, the 'public_modules' folder is populated with modules as described in my ...
2
votes
1answer
46 views

LiveCD with puppet razor

I have a couple of servers and want to provide live cd and O/S reinstalls using razor-server from a self-coded panel. Razor has very bad documentation and i saw only some bits of info regarding O/S ...
1
vote
0answers
22 views

Puppet Agent fails to run install.bash

I am having my CentOS 6.5 installed with Puppet Entrprise 3.3. The dashboard is running fine. Now I want to add a puppet agent on another CentOS 6.5 box. Since both are same OS type, Following the ...
4
votes
5answers
2k views

How to revert a configuration with puppet

I wrote a module which writes a configuration for rsyslog in /etc/rsyslog.d/60-custconfig.conf using puppet. When I add the module to the node, it works, but if I delete comment or delete the module ...
0
votes
1answer
23 views

How to instantiate multiple instances of the same resource using Hiera

Using Hiera, is it possible to instantiate two classes with different properties? I know I can do add to my node declaration: user{'francois': uid => 1000, # ... } user{'julien': uid => ...
3
votes
2answers
206 views

Pass same parameter value to multiple classes using Puppet Hiera

I'm using Hiera with Puppet and I want to pass the same parameter value to multiple classes without repeating it. Right now I've got (in Yaml): --- class_a::database_server: myoraclebox.example.com ...
0
votes
2answers
47 views

Using Puppet to sync two directories

I have a bunch of servers that have two directories on them that need to be in sync. For instance, on the same server i might have /var/path/to/dir1 and /var/path/to/dir2 which could have files and ...
1
vote
2answers
36 views

Puppet not recognising packages (which exist in yum) in Centos

I am trying to install a package in Centos using puppet. The package can be installed using yum install (sudo yum install bash-completion), but puppet says it doen't exist! (I have had this problem ...
11
votes
1answer
898 views

Puppet and launchd services?

We have a production environment configured with Puppet, and want to be able to set up a similar environment on our development machines: a mix of Red Hats, Ubuntus and OSX. As might be expected, OSX ...
0
votes
2answers
144 views

Beaker with docker and ubuntu-upstart image doesn't start container

I am trying to get Beaker to integrate with an Upstart enabled dockerfile. This is my current nodeset: HOSTS: ubuntu-server: roles: - master platform: ubuntu-14.04-x64 ...
0
votes
2answers
43 views

Halt the puppet master while Exec is running a script

I am fairly new to puppet and thinking if there is a way to apply a resource only after the command initiated by Exec completes it's job. My requirement is that I should schedule a backup job only ...
1
vote
0answers
25 views

Why would Puppet revoke a client's certificate?

We started getting an error from one of the Puppet-agents: Could not send report: SSL_connect returned=1 errno=0 state=SSLv3 read finished A: sslv3 alert certificate revoked Indeed, according to ...
1
vote
1answer
51 views

How to solve No request sent, we did not discover any nodes while trying to run Puppet using MCollective?

MCollective [vagrant@localhost ~]$ mco ping localhost.localdomain time=117.12 ms ---- ping statistics ---- 1 replies max: 117.12 min: 117.12 avg: 117.12 [vagrant@localhost ~]$ ...
2
votes
2answers
42 views

How to subscribe to package coming from array of Hiera?

I've got the following in my hiera definitions: # common.json { "classes": [ "sysbase", ], "sysbase::packages": [ "less", "build-essential", "bash" ] } # dev.local.json { ...
0
votes
1answer
36 views

Deploying distributed apps with Puppet - advice?

I'm looking into migrating our deployment process over to using Puppet. I'm starting by deploying the third-party apps we use for the system, which include Solr Cloud orchestrated by a Zookeeper ...
2
votes
2answers
834 views

Hiera lookup based on pattern

I am trying to wrap my head around how I can transition from something I am doing in my large site.pp file into a structure I can use in hiera. It isn't clear to me from reading the puppet docs, ...
4
votes
1answer
45 views

Missing Puppet.conf

I'm configuring a puppet master server for the first time. I've completed the Pre-install Tasks I'm now working on the post-install tasks The Puppet documentation indicates that before starting ...
0
votes
2answers
78 views

Vagrant is creating files and folders in my project

Recently I updated Vagrant (v 1.6.3) and I noticed that in the folder of my project there are some new folders and files like: d20140610-11944-1j6n1cz/ d20140610-15421-1pkz3t8/ ...
0
votes
2answers
61 views

how to check physical disk in puppet

I have below linux script cre_disk=$(ls /dev/sd[b-z]) for disk in $cre_isk do pvcreate $i done My understanding from the above code is, it is checking the sdb,sdc..sdz disk file. if it exist, then ...
1
vote
1answer
22 views

Puppet and windowsfeature - Boolean Error

I'm new to Puppet Enterprise, but trying to learn how to deploy custom class files to Windows servers. I am attempting to use the opentable/windowsfeature module, but I'm getting an error when my ...
0
votes
0answers
13 views

How to kick off puppet jobs via http api

Good day, I'm trying to figure out how I would go about telling Puppet (master?) to spin up a new VM and provision it with the specified settings. Basically, I have a form that a user fills out and ...
1
vote
2answers
26 views

multiple array in def

I have two file class hadoopfile::file { $diskname = [aaa,bbb,ccc,ddd,eee,'] $filename = [02,03,04,05,06] hadoopfile::diskcreate_def { '$diskname:','$filename:' } #hadoopfile::diskcreate_def { ...
0
votes
1answer
29 views

How to seperate the CA server from Master (basic setup)?

I followed Centralize the Certificate Authority guide to seperate my ca from the master however I'm running into trouble. My Setup Hosts file I have the following in the /etc/hosts file on all ...