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

Puppet random password generating

I am going to install around 100 mysql servers and I would like to have different root password on every of them. I am going to use puppet mysql (https://forge.puppetlabs.com/puppetlabs/mysql) which ...
2
votes
2answers
48 views

Puppet - determine if another host is reachable?

Is there any ready way / custom fact / etc to be able to have Puppet respond differently if a given host and port isn't available from the managed system? For example I have some products that use ...
-5
votes
2answers
34 views

How to Install automatically PE agents in different Nodes?

I am new in Puppet. I am done for installing PE Master. I am done for install and setup Two PE agents. My question is how to automatically install PE Agents in different Nodes or Virtual machines. ...
2
votes
1answer
235 views

Vagrant's puppet provisioner not reading hiera.yaml backend correctly?

I have a puppet problem that is specific to the way that Vagrant uses the manifests/modules/hiera-config with its puppet provisioner, since a "puppet apply site.pp" works fine in the resultant vagrant ...
2
votes
0answers
40 views

A testing framework for Linux server configuration management

We are a medium sized shop that uses Puppet for Linux configuration management. Since we are a small shop, it's difficult to deploy and maintain DTAP environment. We normally perform manual testing ...
0
votes
1answer
28 views

Reapply a template at different points with different variable values

I don't appear to understand how to change the content of a file resource a different points in the application of Puppet manifests. I'm using this with Vagrant to set up a dev environment. I want to ...
2
votes
2answers
43 views

Puppet sshkey collection for non-puppet systems

On my systems I use the exported resources, and resource collection to manage the /etc/ssh/known_hosts ref of my systems. This works great for all my SSH hosts that are managed via puppet. But I ...
5
votes
1answer
267 views

Can Vagrant point to a directory of Puppet manifests for execution?

I am using Vagrant to jump start some initial Puppet config and am confused on how to include/run multiple manifests (other than just site.pp) in the puppet execution workflow without making the extra ...
0
votes
2answers
206 views

Foreman installation on amazon ec2 instance

Hi there and thank you for reading, I am currently in the process of setting up a puppet service for our ec2 instances and decided to give foreman a try (node certificate management and automatic ...
0
votes
1answer
44 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/ ...
1
vote
0answers
83 views

need help writing puppet module for sssd.conf using Hiera

I need to build a module to manage /etc/sssd/sssd.conf on our Red Hat VMs. The sssd modules published on the forge don't seem to do what I want, nor do I feel like forking any of them. I want to keep ...
1
vote
1answer
70 views

Puppet, Windows, and UAC

Is it possible to use Puppet on Windows where UAC is enabled? Does Puppet have any method for automatically saying yes to UAC prompts for a software install? My module does the following workflow: ...
1
vote
1answer
255 views

Facter - custom fact, returns empty data set when invoked by Puppet agent

According to this puppet labs article, I can create custom facts from shell scripts. I have created a bash script that returns a single fact, it is packaged in a modules facts.d directory. The module ...
-1
votes
1answer
193 views

Install PHP 5.3.X, PHP 5.4.x and PHP 5.5.x in the same environment using Puppet

Anyone already tried to install these three version using Puppet in Ubuntu? I have a VM that is managed by Vagrant and I want to have these three version so I can specify which PHP version I should ...
1
vote
1answer
60 views

On MacOS X, can I configure Wifi from Puppet or the command line?

I would like to create entries for the company's Wifi in every Mac via Puppet. Is this possible? (or if it is possible from the command line, I can figure out how to do it in Puppet)
0
votes
0answers
21 views

Can MacOS VPN be configured via Puppet (or the command line)

I run Puppet on MacOS X. I want to configure the Cisco VPN client using Puppet. Is this possible? (Or ... if it can be done from the command line, I can figure out how to do it in Puppet).
0
votes
2answers
64 views

Hiera datatypes wont load in Puppet

I have spent a couple of days on this, followed the instructions on http://downloads.puppetlabs.com/docs/puppetmanual.pdf and even the Puppet Training Advanced Puppet manual. When I run a test ...
1
vote
0answers
43 views

Renaming an OpenVPN server - how to keep from losing all clients?

I have been instructed to change the domain name on a bank of servers. One of these is for OpenVPN and I'm wondering how best to do this without cutting off all the clients. Each client is also ...
0
votes
1answer
39 views

Puppet: Nagios with regex node names

I am configuring a puppet master and want to rely heavily on hiera. Many of my systems will be almost identical due to being scalable. I have therefore created node manifests which use regex rather ...
0
votes
1answer
42 views

Need help writing a wrapper for Hiera yaml data

This post seems like it might be helpful but I haven't been able to adapt it to my needs. The meat of it is: $custom_thing = ('custom_thing',{}) create_resources(param, $custom_thing) full post on ...
0
votes
1answer
80 views

Hiera concatenated lookup from yaml

I am trying to configure the puppet-logstash module via Hiera. When I make the call to hiera('profiles::logstash::config'), the return value is a concatenated string. It tells me that it cannot ...
1
vote
1answer
79 views

puppet-logstash module produces a blank logstash.conf

I am probably confused on the proper usage. I have setup the configuration of my shipper using Hiera: classes: - os::repo - profiles::logstash::shipper logstash::configfile: 'input_file': ...
0
votes
1answer
31 views

cluster of services and restarting on package upgrade

I'm using puppet to manage a bunch of servers. Those servers run a simple service - exposed to the world via load balancer. That service's instances are independent in that they can run on their own, ...
1
vote
4answers
98 views

How do I use saz-sudo puppet module to deploy my own sudoers file with hiera?

I have saz-sudo installed and have created a site_sudo module based (I hope) on it. Here's what I have in my site_sudo/manifest/init.pp file: class { 'site_sudo': } sudo::conf { 'web': ...
1
vote
1answer
47 views

Puppet on Windows failing silently

None of my newly added Windows Puppet nodes seem to work, though none give errors. My Linux nodes work fine. I tried this line below in my nodes.pp, and a puppet kick runs without error, but does ...
-1
votes
1answer
45 views

Nested Puppet Resources

Iv recently installed a puppetmaster and im trying to configure a puppet class with a nested resource. eg. class base { user { 'testuser': name => 'test', ensure => ...
1
vote
1answer
380 views

Puppet Duplicate declaration errors with virtual defines

I'm trying to use puppet to add all my users to a system and add all of them to a single group. However, I keep getting Error 400 on SERVER: Duplicate declaration: Group[users] is already declared ...
4
votes
1answer
31 views

Puppet implicitly includes a class?

A fellow engineer came to me with an interesting puzzle. He discovered that third party module (docker, in this case) which contains a class he wants to customize with parameters is not referenced ...
3
votes
1answer
167 views

“net ads join” fails in puppet exec but runs OK directly from command line

I have the following exec that joins a Linux (CentOS 6) host to an Active Directory domain. When run as root from the bash terminal, it runs successfully and the host is joined to the AD domain ...
-1
votes
1answer
66 views

Network protocol of Puppet [closed]

I want to know, how puppet master process and agent process interacts with each other using network. I mean, what exactly occurs, when master process send commands from manifest to agent process and ...
3
votes
2answers
72 views

Getting a list of resources of a given type

I am setting up a dirvish backup system using puppet. Dirvish has the concept of a vault - a self-contained directory which contains the backup data and the configuration for what and how to backup. ...
0
votes
1answer
171 views

Managing AWS Beanstalks with Puppet

I'm thinking about using Puppet Enterprise to deploy sets of servers/services to Amazon Web Services. As far as I can tell, the best way to do this is via CloudFormation. Based on what I've read, ...
3
votes
1answer
249 views

Enable FastCGI on Apache with Puppetlabs/Apache

I'm using Puppetlabs/Apache to configure Apache. In the main puppet file, I call and configure it: class { '::apache': } class { '::apache::mod::fastcgi': } apache::vhost { "${::fqdn} non-ssl": ...
1
vote
2answers
59 views

puppet provisioning, new node, update configuration on master

What would be the preferred way to update the configuration of one node when provisioning new nodes? E.g. let's say there is a cluster-like environment i am provisioning nodes, let's say these nodes ...
2
votes
1answer
51 views

Puppet: conditional definition of types

I am not sure how to word this questions so please suggest an edit if you feels its inappropriate. I am trying to extend existing puppet modules with support of different OS. I have ran out into a ...
1
vote
2answers
129 views

Creating a resource only once with Puppet

I have a class which prepares config files and keys inside the puppet files folder so that they can be downloaded by other nodes. The class will be called once for every other node besides the puppet ...
0
votes
1answer
115 views

Puppet variables, defaults, merging and a template

During the task of writing a module, I found out that I have a huge amount of configurable parts. To better organize the module (for the sake of read- and maintainability), I have chosen to split ...
4
votes
1answer
71 views

Is there a streamlined way to export settings from an existing CentOS 5.10 server for local Vagrant provisioning? (Puppet, Chef, shell, or otherwise)

I've recently started the process of learning how to use Vagrant for spinning up a local development environment. (after getting frustrated with the various WAMP stack options) Vagrant is great so ...
2
votes
2answers
56 views

Puppet concatenate templates

In the module I'm currently working on, I got a load of configuration options that need to be set, have default values ... and should be fragmented into shorter template files as else it would be a ...
0
votes
1answer
400 views

Puppet exec command with variable not executed

I have a very simple Puppet (sub)module that should use Git to clone a repository from a remote location: class wppuppet::git( $location = '/var/www/wp' ) { file { $location: ensure => ...
1
vote
1answer
691 views

Puppet agent -t results in error: Failed to generate additional resources using 'eval_generate:

This problem occurs intermittently. I first experienced it yesterday, and I simply restarted from scratch and it disappeared but just came back today. I'm running Puppet v2.7.11 on EC2 servers running ...
0
votes
0answers
31 views

Referencing a global hash from Puppet DSL

I'm trying to reference a global hash from a Puppet DSL manifest, but scope.lookupvar is failing to find it. My declaration is in rubydefs.pp and is of the form $my_hash = JSON.parse(`...some stuff ...
2
votes
0answers
88 views

Puppet Split function fails

Problem Puppet split function fails since Puppet has been upgraded puppet to version 3.5.1, while this worked until 3.4.3 Code 1 $ports_regex = "80\\|443" 2 3 $ports_string = ...
0
votes
1answer
98 views

Puppet install of Openstack: Could not find resource 'Package[dnsmasq-base]Package[dnsmasq-utils]' for relationship on 'Package[neutron-dhcp-agent]'

ebug: Executing '/etc/puppet/etckeeper-commit-pre' debug: catalog supports formats: b64_zlib_yaml dot pson raw yaml; using pson err: Could not retrieve catalog from remote server: Error 400 on SERVER: ...
1
vote
0answers
69 views

Puppet Apply on Windows more than 28 times slower since version 3.3

Problem Puppet on Windows has been upgraded from 2.7.22 to 3.5.1 on Windows7. When puppet apply was executed it looked like puppet was stuck. A retry demonstrated the same behavior and the run ...
3
votes
2answers
92 views

How to ensure that the «if» statement gets parsed _before_ a given resource/class?

Sometimes there are complicated interactions between packages. To avoid class interface with countless, seemingly unrelated parameters, I though about using tags, defined(<resource>) function ...
1
vote
1answer
48 views

Puppet and managing .k5login with parameters and arrays

So I have Foreman set up, and would like to pass in a parameter that is basically a way to easily specify users and groups that can log in as that user. My idea is currently to have the parameter take ...
5
votes
5answers
165 views

Version Controlling Foreman & Puppet

I have just setup Foreman for the first time & am not sure how to go about putting all of my configurations under version control. I know I can use Git for each module I install on my Puppet ...
0
votes
1answer
2k views

ConnectionError: [Errno 111] Connection refused (Openstack installation through Puppet)

I have just completed an installation of Openstack through puppet, and after jumping through a few hoops have gotten to a point where I can attempt to log into the dashboard. When I do this I'm ...
4
votes
2answers
298 views

Using puppet and ensure latest for RPM package management

Using ensure => latest, I have systems which do not need all of the same packages. Will ensure => latest install the packages or only update if they already are present? If they are not ...