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
0answers
8 views

Puppet windows agent

When I tried to install my puppet agent on one my servers (windows 2008 R2), the confdir seems to default to u:\ drive. U: drive is not present for user. I can also see that the puppet labs directory ...
0
votes
1answer
16 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
3answers
350 views

Puppet include/require a puppet lab's module

How do you create a puppet manifest that 'uses' one of the modules on the puppet forge? class foo { include puppetlabs-git (<- this doesn't work) ...
0
votes
1answer
22 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 { ...
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 { ...
1
vote
1answer
3k views

How do I configure parameterized classes with arrays in puppet?

My goal is to define a class that takes, as input, an array of pairs. Since I'm not sure how to define an array of pairs, I'm just going to use a pair of arrays instead. class student($username, ...
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
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 ...
5
votes
2answers
5k views

Could not call sign: Could not find certificate request for puppet

I'm getting started with puppet on ec2 using the following guide. https://help.ubuntu.com/12.04/serverguide/puppet.html In the very last step when I try to sign the puppet client from the puppet ...
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
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 ...
2
votes
1answer
219 views

Puppet - Don't stop manifest execution if a module fails

I'm having some trouble understanding one of many Puppet logic mechanisms : the module failing scenario. I have multiple modules doing various things on a set of differences nodes and I want to ...
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 ...
5
votes
3answers
427 views

Puppet - removing user who is logged in?

I've just started learning puppet and have came across a problem I was wondering if anyone knew how to fix.I m trying to remove a user I get an error message stating that they are logged in so can't ...
0
votes
2answers
3k views

nginx on Ubuntu: Permission denied

I am new to system administration. After installing nginx via puppet on Ubuntu I get the following output: [alert] could not open error log file: open() "/var/log/nginx/error.log" failed (13: ...
6
votes
2answers
2k views

SSH keys management system

I'm looking to switch from password based (which I starting to become overwhelmed with) to SSH keys based system. I'd like to know if there any SSH keys management system or server solution, which ...
5
votes
2answers
155 views

Puppet: Can't manually generate cert and issue cert request over API

I've spent far too much time trying to figure this out now, and I could really need a pointer. The tl;dr is that I need to manually generate a certificate on one node, and then issue a certificate ...
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
50 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 ...
5
votes
2answers
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 ...
1
vote
1answer
64 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
1answer
57 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 ...
1
vote
1answer
207 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 ~]$ ...
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 ...
4
votes
3answers
3k views

Is it possible to use Puppet to ensure multiple files in a directory are present without defining all of them?

I have a couple hundred one-off servers that have different configuration files that need to be present in a directory. Copies of the files reside on the puppet master. Within one of my classes I ...
-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..
14
votes
2answers
1k 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 ...
-1
votes
0answers
28 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
50 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 ...
5
votes
1answer
1k views

New server unable to fetch configuration from Puppetmaster due to some ssl error

Three machines in the production environment had some hardware issues and were decommissioned. The infrastructure team has reinstalled them and gave them the same hostnames and IP addresses. On the ...
0
votes
0answers
69 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 ...
5
votes
1answer
2k views

Loop through hash in puppet define

I'm passing a hash to a define like so: nodes.pp net::addr { 'routes': ipr => { ipr1 => { address => '192.168.34.38', netmask => '255.255.255.0', ...
0
votes
1answer
969 views

Installing Graylog2 with puppet

I have manged to install Graylog2 from scratch by downloading all the DEB files and making the configurations. Now I try to install Graylog2 with the help of puppet in an environment and had no luck ...
0
votes
1answer
30 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
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 ...
1
vote
1answer
758 views

How to create a user with Puppet

I am trying to create a user with Puppet but everything I have been trying has failed. I am trying to create a user named "capistrano" that will be placed in the "www-data" group. I have done the ...
1
vote
0answers
44 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
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 ...
3
votes
1answer
304 views

Building up puppet variable based on conditions

So I'm getting adjusted to the immutable variables in puppet, now looking for some advice, or clarification to whether I'm already on the right track. I have a directory I'd like to sync, but ...
1
vote
1answer
25 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 ...
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 ...
4
votes
3answers
583 views

Vagrant / puppet workflow

I'm new to puppet and vagrant, but I'm developing my own Puppet manifests intended to set up a vagrant box. That is, the puppet manifest is in my Vagrant directory on the host machine, and vagrant is ...
1
vote
2answers
860 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
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 ...
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 ...
4
votes
2answers
150 views

What is the safest way to allow a developer to edit 3 Puppet modules?

We have a developer that has to make 3 Puppet modules for an environment. I want him to be able to write his 3 modules. We currently write our own modules and he is the first person from another ...
0
votes
1answer
24 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 ...