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

learn more… | top users | synonyms

3
votes
1answer
22 views

Verifying a SSL certificate's fingerprint?

I'm toying around with a Puppet agent and a Puppet master and I've noticed that the Puppet cert utility provides a fingerprint for my agent's public key as it has requested to be signed: $ puppet ...
5
votes
2answers
94 views

Determine FQDN when hostname doesn't give it?

In another question, I found that Puppet was generating certificates for my machine's FQDN but not the simple host name. In that example, kungfumaster was the hostname and was the value retrieved by ...
0
votes
1answer
26 views

Generating server and client certificates with multiple hostnames

When starting up my Puppet Master for the first time, it automatically generates its own server certificate, which is awesome. My server's hostname is kungfumaster and the Puppet Master generates a ...
2
votes
1answer
48 views

Instantaneous Puppet Deployments with MCollective

Note: I'm not sure where this question belongs. Perhaps it would belong better on Server Fault, but as I'm primarily asking for hacking and home-networking purposes, I'm asking here. Plus it'd ...
2
votes
0answers
15 views

Git and Puppet Master Lifecycle

I'm looking to setup a Puppet Master which hosts its configuration in a Git repository. I assume that I'd host my Puppet Configuration in a Git repository centrally organized on a Git hosting ...
1
vote
1answer
156 views

Puppet, managing two depending file resources?

I cannot figure out, how to deal with case when I have 2 resources managed by puppet, depending on each other (one is parent of another), and both are set to be absent. Test case below. Directories ...
3
votes
5answers
217 views

Can we install puppet without touching the servers?

I heard that puppet need to be installed on server side, not just desktop side, from where we want to launch commands on the servers. My question: Are there any other methods for using puppet? I ...
2
votes
1answer
544 views

Creating a Vagrant box with Docker installed

I'm trying create a nice playground for Docker in Vagrant based on Vagrant's precise64 box. (Code is available at GitHub: rfkrocktk/docker-vagrant-playground) Here's my Puppet provisioning ...
0
votes
1answer
56 views

enable IST timezone in puppet

I'm trying to run below Puppet manifest to set 'IST' timezone. class { 'timezone': timezone => 'IST', } When I run Puppet apply timezone.pp, it installs properly. But when I check the system ...
2
votes
1answer
25 views

Name of “notified by” resource from “notified” resource in puppet

Let's say I have this manifest bit in Puppet: file { "/whatever/file": notify => Exec["some_script"] } Is there a way to get "/whatever/file" from "some_script"? Or in other words, how can I ...
1
vote
2answers
128 views

Ensure /etc/export contains rule using bash

What's a working example of modifying /etc/export using bash? Example: I want to ensure the following rule is present and valid: /export/home 2400:123::/32(rw,no_root_squash) And it should: Add ...
2
votes
1answer
138 views

Manage LXC containers from host in puppet

Is there any puppet modules for manage nodes in LXC containers from local host? E.g.: I have host with 50 LXC containers and I want to manage all those containers from host directly, not from another ...
0
votes
2answers
1k views

apache not starting in vagrant vm

I used Puphpet.com to create a Vagrant VM to be used for web development. The problem I am having is that the VM cannot start apache on boot. $ sudo /etc/init.d/apache2 start * Starting web server ...
3
votes
1answer
361 views

Authconfig contiously rewriting the /etc/sysconfig/authconfig file, messing up Puppet run

I have been using this LDAP module for a long time in my Puppet environment. The module uploads these files to the RHEL-servers: /etc/openldap/openldap.conf /etc/pam_ldap.conf /etc/nsswitch.conf ...
1
vote
1answer
398 views

How can I enable a service only when it's installed in Puppet?

I was said to use the onlyif-parameter, but there doesn't seem to exist one for the service-type. What can I do to enable this service only if it's installed? It's installed with a binary installer, ...
0
votes
1answer
140 views

How can I make a Puppet module that fixes time? [duplicate]

I have written a Puppet module that corrects the time via NTP, but this only works on server with a small NTP offset. There are sometimes server with a time offset higher than 10 minutes for various ...
2
votes
2answers
280 views

Python-friendly machine configuration management systems

Are there machine configuration management systems akin to: Puppet Chef which are natively, or at least intimately, Python-friendly? Any recommendations with supporting evidence and/or backing ...
3
votes
1answer
2k views

dpkg: warning: 'ldconfig' not found in PATH or not executable - Ubuntu 12 - Vagrant

I am working on setting up a Vagrant / Puppet install so that new developers can have a clean development environment for our Rails project. The basic Vagrant configure commands are: config.vm.box ...
2
votes
0answers
107 views

Ubuntu : puppet f5 device config : Partition '' doesn't exist

This is a Puppet question that I've posted on the PuppetLabs forums with no response. I'm also posting here because I'm hoping that with a wider audience I might find someone knowledgeable re Puppet ...
2
votes
1answer
486 views

Managing (Dynamic) DNS Zone Files with Puppet (Solved)

I'm running a Debian 7.0 (Wheezy) server and I have a dynamic DNS setup wherein my clients make DHCP requests and the DHCP server updates the DNS zone files with whatever IP was assigned to each ...
0
votes
2answers
543 views

puppet certificate catching error

After installing puppet master and client, when I request for catalog, I am getting the following error: [root@INFINI-ONE puppet]# puppet agent -t warning: peer certificate won't be verified in this ...
1
vote
1answer
2k views

Installing puppet on RHEL6

While installing puppet on RHEL6 I'm getting the following errors. Though I have installed ruby gems, I'm getting problems with ruby gems dependencies. How do I solve this problem? [root@INFINI-ONE ...
0
votes
1answer
117 views

Puppet. Firewall module syntax

What mean "->" in puppetlabs examples on this page
0
votes
1answer
163 views

Generate nodes.pp using hiera in puppet

I have a environment that has several environments like production staging etc . Now what i want is that I can re-use the nodes.pp written for one environment for the other. Example - Suppose I ...
1
vote
1answer
368 views

Customize Emacs Ruby Mode for PuppetLabs conifguration

I predominantly use emacs for editing my Puppet configuration files. I use the following settings in my .emacs to load Ruby mode and use it for Puppet config files (*.pp): (autoload 'ruby-mode ...
10
votes
2answers
3k views

How can I manage puppet.conf with Puppet?

I use puppet to manage linux servers and various services. It works well, except for the puppet service itself. My puppet class is like this : class puppet { file { "/etc/puppet/puppet.conf": ...
0
votes
1answer
87 views

Finding Stalled or Failed Updates on System

I was wondering if there is a way to grep through systems to find old updates that have stalled or failed. I am using RHEL 6.