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
14 views

Migrate vagrant Ubuntu VM to physical machine

I am attempting to use vagrant and a puppet workflow to configure a Ubuntu production server VM which will host a web application. I want to be able to reuse this workflow to configure multiple ...
0
votes
0answers
13 views

Centralized package management of Ubuntu servers with QA

I currently manually maintain 3 Ubuntu servers, but now we're taking on another project that will have something like 25. So I'm looking into how to maintain that many servers without making ...
-1
votes
2answers
19 views

How to install Solr 4.x on Tomcat via Puppet?

So far I've been using the following recipe for installing Solr 3.x on Tomcat 6: package { 'openjdk-6-jdk' : ensure => installed, } package { 'solr-tomcat' : ensure => installed, } exec { ...
0
votes
1answer
20 views

What's the simplest way of installing Tomcat7 via Puppet with dependencies?

I'm trying to build the simple Puppet recipe as below: package { 'openjdk-7-jre-headless' : ensure => installed, } package { 'tomcat7-common' : ensure => installed, } package { ...
1
vote
1answer
19 views

Concatenate arbitrary number of templates in Puppet

I'd like to use template() to concatenate some files. I read this question, which is fine if you know exactly how many files you want to concat. What if I just have an array of input file names? ...
2
votes
0answers
27 views

how to open port 80 on box managed with Puppet

I have a puppet master virtual machine that manages almost 20 nodes. I have Nagios installed on one of these nodes and in order for the Nagios GUI to work I would need to stop the iptables on that ...
0
votes
1answer
24 views

Linux-Puppet: Error: Could not retrieve catalog from remote server, what could be the reason?

I've wrote a Puppet module which is supposed to create a directory, copy files into there and change the ownership of the files. The module name is "workspace". In the manifests folder of the module ...
0
votes
1answer
50 views

puppet 3.7 does not install on Amazon linux after the 2015.03 release

hi i am/was using amazon linux and using the RHEL 6 puppetlabs repositories to upgrade the installed puppet client from 2.7 to 3.7. With the latest release of Amazon Linux 2015.03 this process ...
0
votes
0answers
30 views

Foreman Error: /File[/var/lib/puppet/facts.d]: Failed to generate additional resources using 'eval_generate'

i've searched a lot but it seems no one ran into this "Problems" till now. I made a Blank foreman installation on a Debian Wheezy System, added a VMWare ESX Testserver and provision a Debian Wheezy ...
1
vote
1answer
31 views

Can't install Facter 1.7.0 on Amazon Linux using PuppetLabs Yum repositories

I've installed Puppet using the setup guide but it seems I'm only able to install Puppet packages from the amzn-* repos, even though I have installed the PuppetLabs EL6 Yum repository using the ...
2
votes
2answers
48 views

“Unsupported osfamily: Linux” when trying to install Apache using Puppet

I'm trying to setup a simple Puppet setup on AWS EC2 using the latest Amazon Linux AMI. I've followed through the install guide for RHEL and have a puppetmasterd daemon running. When apply the ...
-3
votes
1answer
16 views

PUPPET: Where could be the templatedir if its not in puppet.conf?

I want to remove templatedir from the puppet conf so that there won't be a deprecation error. But its not under puppet.conf or anywhere else I guess. I've grepped for that line almost everywhere..
-1
votes
0answers
27 views

Puppet Nagios file permission

In an older Puppet version, Nagios files are created with wrong permissions 600, instead of 644 in /etc/nagios/hosts.d/ There is an hack for it: http://wiki.xkyle.com/Managing_Nagios_With_Puppet.html ...
1
vote
1answer
55 views

puppet Could not find dependency

I have inherited a puppet server. It has a couple of dozen hosts under management and it is mostly working fine. When I say mostly there are a few hosts that fail when checking in: Error: Failed to ...
0
votes
0answers
67 views

Puppet Error: Could not request certificate: Error 403 on SERVER: Forbidden request:

When trying to puppet a client on a new puppet installation using HTTPD and Passenger, I get the following error: [root@puppet-client ~]# puppet agent --test Info: Caching certificate for ...
0
votes
1answer
28 views

Puppet: How to fix “Invalid resource type file_line”?

I have a freshly installed Puppet server with only one module configured and one managed client. This is a MOTD module and looks like so: class motd { file { "/etc/custom_motd.sh": path ...
1
vote
1answer
49 views

Puppet module not run on agents while this has been defined in Hiera on the Puppetmaster

Once I've installed Puppet, Foreman, Hiera and Facter, how do I get them all to work with one another? The Foreman GUI is operating properly and can be viewed using a browser. Hiera is installed, and ...
0
votes
0answers
15 views

Puppet Agent exiting after Caching certificate for ca [duplicate]

Puppet agent exiting after "Caching certificate for ca". Nothing useful found in --debug also. root@mgt1:/var/lib/puppet# puppet agent --no-daemonize --onetime --verbose Info: Creating a new SSL ...
1
vote
1answer
66 views

Puppet Master doesn't get certificate request from agent

I have a puppetmaster server and four puppet agent clients. Here I'm attaching my puppet.conf files and hosts in all node. When I call 'puppet cert list' it returns nothing. But, when called with ...
2
votes
1answer
145 views

How to trigger sudo's grace period for a given user via Puppet?

I am trying to deploy the Redmine server via Puppet. The installation procedure uses Bundle to install its dependencies. When being installed interactively, sudo prompts user for password when Bundle ...
0
votes
0answers
28 views

Puppet - apt::unattended_updates

Im trying to configure the apt::unattended_updates class which comes as part of the puppet labs/apt module. It states in the notes that - You can configure the class to automatically upgrade all new ...
-1
votes
1answer
13 views

Puppet apt site.pp h

New to puppet, so probably something simple. Cannot understand why the below manifest does not work. When run on an agent I get the following error: Could not parse for environment production: Syntax ...
1
vote
1answer
24 views

Puppet: Is it possible to supply additional information when realizing an exported resource?

Suppose I want hostB to have a distinct file for each puppet node, but with owner that is only known to the hostB. Theoretically it can be done, if we allow hostB to write a custom fact ...
0
votes
1answer
32 views

Foreman - Match has already been taken

Foreman Version 1.6.3 When I try to edit one of my hosts - change hostgroup - I get the following error: ActiveRecord::RecordInvalid Validation failed: Match has already been taken ...
1
vote
0answers
40 views

Trying to auto-register a Nagios NSCA client

I am setting up Nagios monitoring using NSCA to report in from monitored hosts and all monitoring is using passive checks. Currently the monitored hosts each have a configuration file in the nagios ...
0
votes
1answer
23 views

How do you install the optional channel on RHEL version 7?

To install Puppet Master on RedHat Linux version 7, you need to install an optional channel. Can someone provide directions on how to do this? I want to install Puppet Master. I tried to install ...
1
vote
1answer
55 views

Data center fact in Puppet

In hiera examples, I have seen people putting a fact called dc or datacenter in their hierarchies. However, its not clear anywhere as to how the fact is implemented to determine the data center. Is ...
0
votes
0answers
13 views

Zenworks Linux Puppet Policies: how to use external modules?

Novell Zenworks Configuration Management is relying on Puppet for Linux endpoint policy enforcement. The setup has no Puppet master in place, instead ZCM device management is used for targeting and ...
0
votes
1answer
65 views

Using Puppet apt module

I'm an absolute beginner at Puppet, and I'm having an issue when I try to install a package via the apt-module. class newrelic { apt::source { 'newrelic':location => ...
0
votes
1answer
25 views

How to create an apt repository on puppet master

I am setting up a puppet master and want to distribute nagios core 4 and nagios-plugins to each of my agents and the master itself. Nagios core 4 is currently not available from the Ubuntu ...
1
vote
1answer
32 views

Why is Puppet creating these files after every run?

I've recently noticed that the Puppet agent is creating zero-length files with the name of "1" in directories I've defined as: file { '/opt/foo/': ...
0
votes
1answer
17 views

In puppet, can you supress a specific notice log entry? LVM forge module

With the LVM module from the Forge, the "size" property sets the desired size of the logical volume. The "size_is_minsize" parameter says that "size" is just the minimum desired size (it's OK if the ...
0
votes
1answer
46 views

puppet defined type and creating multiple templates from 1 .erb file

I need to find a solution to this problem that I've come across. I have a hash (it's supposed to be overriden as a smart class parameter later on) that I am iterating trough in my template.erb to ...
0
votes
2answers
33 views

puppet revoke all certs requests waiting on master

I would like to know if there is a way to revoke some cert requests that came to my puppet master e.g $ sudo puppet cert --list "(none)" (SHA256) ...
1
vote
1answer
47 views

LVM module from puppet forge randomly breaks applying manifest

When using the lvm module, we get an "Invalid parameter size_is_minsize" randomly. If we restart puppet master, the error goes away for a while but then comes back. This is on Scientific Linux 6.6 ...
0
votes
1answer
39 views

Error while installing apache with puppet-apache module

I am using puppet lab's apache module for installing and configuring apache. I am using Debian 7 (wheezy) and below is the manifest file I am use as site.pp in puppet-master. And from the puppet ...
0
votes
0answers
22 views

Is it possible to declare Exported Resources as an Attribute instead of a Type in Puppet?

Avoid to add a host manually as an attribute class::define { 'title': attribute3 => [ 'stone', 'wood' ], hosts => [ 'host1.domain', 'host2.domain' ] } ...
4
votes
1answer
62 views

Open Source Puppet for Network Devices

I'm attempting to determine whether I'd be able to run Puppet on network devices (switches, firewalls etc.). From what I can tell after reading online documentation, Puppet Enterprise will cater such ...
3
votes
1answer
35 views

Detecting Infrastructure Provider in Puppet

Note: we use Puppet standalone (master-less) i.e. puppet apply. Usually, while deploying a web application there are a number of back-end services and applications that run behind the front-facing ...
0
votes
1answer
79 views

How to return default hash keys in hiera_hash() call?

In an attempt to clean up my client's Hiera data for Puppet, and drastically reduce the number of Hiera calls in the Puppet manifests, I'm changing constructs like some_name::key1: a_value_1 ...
1
vote
1answer
46 views

Puppet: How to write a proper “condition and condition” statement?

I wrote a "Message of the day" Puppet module which affects all proxy servers in my company. Within the template file, I have the following "if statement": <% if @hostname !~ /^haproxy\d+/ and ...
0
votes
2answers
78 views

Why is the Puppet agent not recognising environments?

I have configured dynamic environments in puppet.conf such as: modulepath = $confdir/environments/$environment/modules manifest = $confdir/environments/$environment/site/manifests/site.pp ...
3
votes
1answer
46 views

Puppet configuration to create file

I am trying to create a vagrant box to use for development with Puppet as provisioner. I want to set a specific .bashrc for the vagrant user. Here are my relevant files. dev.pp: class dev { ...
2
votes
1answer
36 views

Avoid declaration of if regex statements while using Exported Resources in Puppet

Avoid to add a host manually class::define { [ 'host1.domain', 'host2.domain' ]: attribute => 'hello', attribute2 => 'world' } class::define { [ 'host3.domaintwo', ...
1
vote
2answers
128 views

Installing packages with dependencies using puppet

I am new to puppet, for the process of learning it I created Puppet Master and Puppet Slave setup and configured a mysql module to install mysql on Puppet client. Below is the manifest file. class ...
2
votes
1answer
71 views

Setup a non-CA Puppet Master

I would like to set up an additional puppet master to act as a non-CA server. I’ve have installed and am successfully using Passenger. The servers in question are all running CentOS 6.6 and are all ...
0
votes
1answer
28 views

Puppet CRLs in an environment where 'puppet' doesn't resolve right

Due to political reasons above the technical layer, the bareword puppet does not resolve to the correct puppetmaster for parts of our infrastructure. These areas have their own, independent ...
0
votes
1answer
52 views

Using Foreman to install packages

I have an Ubuntu 14.04 server running Foreman and Puppet (as the master), and some other Ubuntu 14.04 machines which are Puppet nodes. I want to use Foreman to make sure the Puppet nodes have certain ...
-1
votes
2answers
44 views

Puppet: How to display calling stack when failing a manifest (or how to get a calling stack at all)?

Suppose I have written a define, and was able to trap the illegal argument combination. How to fail the manifest with a message that comprises at least a resource that included our definition (or even ...
2
votes
2answers
50 views

Puppet: How to enforce file creation in root's home folder?

I'm trying to set a custom .vimrc profile on all servers in the production environment by using Puppet. I wrote the following manifest: class vim { file { "/etc/skel/.vimrc": path => ...