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

learn more… | top users | synonyms

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
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 ...
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 ( ...
-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 ...
-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
0answers
17 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 ...
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 ...
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 ...
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 ...
5
votes
1answer
68 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 ...
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
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 ...
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 ...
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
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", ...
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. ...
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 ...
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
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
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 => ...
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 ...
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 ...
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
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 ~]$ ...
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 ...
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 ...
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
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
1answer
44 views

Puppet: Unable to add physical volume

I want to create a physical volume in Puppet. Below is my code class lvm::crelvm { physical_volume { '/dev/sdb2': ensure => present } volume_group { 'vg_cas': ensure => present, ...
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 ...
-1
votes
1answer
123 views

CentOS 6.6 Apache 2.2.15 Invalid Command SSLCARevocationCheck

I found this which seemed to be related. But unfortunately I have the Include and the ssl.conf file. I have also verified the the revocation file exists and the path is correct. I have also set my SE ...
0
votes
1answer
35 views

future parser error in puppet

I have below code class dummy::eachtest{ $filename = [1,2,3] each($filename) |$value| { file {'/etc/dummy/manifests/${value}': ensure => 'directory', } } I got below error when I compile ...
-2
votes
2answers
30 views

assign variable in puppet

I am newbie to puppet, I have code like below in unix log_exts=$(vgdisplay /dev/cassandra|grep Free|awk '{print $5}') if lvcreate -n lv_cas -l ${log_exts} /dev/cassandra then mkfs -v -t ext4 ...
0
votes
2answers
50 views

Puppet: Test that a virtual Resource is exists or is defined?

Previously on ServerFault, it was shown how to test if a Resource was defined: Puppet: Test that a Resource is defined? if defined(File["/tmp/foo"]) { alert("/tmp/foo is defined") } else { ...
1
vote
1answer
34 views

Error: Duplicate declaration virtual defines user & group equal name

I need create a user with the name user1 & group user1. I defined a virtual resource to create it. Inside a class1 I create the user: include '::class1::virtual_accounts' ...
-1
votes
1answer
107 views

Failing to install puppet

Let's say I have 2 fresh Ubuntu 14.04 VMs. I wish to make one a puppet master and the other a puppet client. I following the official puppet install guide, which is very simple (linked down the ...
0
votes
0answers
16 views

Continuous Delivery WinForm + WebApp

At my company we've developed an application that has two parts: one is build in WinForms and one is build in ASP.NET MVC. The Windows application is a drawing application with alot of logic, so it ...
2
votes
2answers
33 views

How can I use Puppet to Enforce Local Group Membership?

Cross posting this from Ask@PuppetLabs. (There simply isn't enough traffic there.) I've seen a number of examples for adding users to %wheel with Augeas. These are all variations of the same thing; ...
1
vote
2answers
41 views

How do I create node groups in puppet

I am in the process of setting up Puppet in our QA environment. I have created a few manifests and setup classes which are running fine. I am aware of Node definitions and have successfully created ...
0
votes
0answers
34 views

Address already in use

I'm setting up puppetmaster using linux mint Below is the error. After much google I can't find any answer. sudo puppet master --verbose --no-daemonize Warning: Setting templatedir is deprecated. ...
0
votes
1answer
30 views

Confuse in enabling package repository

I am having trouble installing puppetdb so I am back tracking my steps and try to find out my error. So I am to enable puppet package repositories before I install puppetdb shown in this guide. ...
0
votes
1answer
23 views

Controlling catalog pull by puppet agents

We have just started using Puppet on our QA environments. All along, I was under the impression that the agents pull the catalog from the master only when puppet is restarted on the agent nodes or ...