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

Puppet removes packages while installing “lsscsi”

We wanted to install the "lsscsi" package on all our Linux Servers and build a manifest for it: # pack_lsscsi.pp class common::pack_lsscsi { case $operatingsystem { RedHat, ...
3
votes
0answers
87 views

How to use puppets stored config & concat to generate a semicolon seperated list of ip adresses?

puppet version 2.7.18 stored configs (not puppetdb) I my case i have 3 couchbase nodes, which should be concated to an couchbase connection string which looks like that: ...
3
votes
0answers
148 views

Puppet Error: undefined method 'captures'

I posted this question on the networkengineering SE site, but it was determined to be off topic.... blah. I'm toying with the idea of using puppet for core network device configuration to increase ...
2
votes
0answers
34 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 ...
2
votes
0answers
75 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 = ...
2
votes
0answers
59 views

puppet node keeps adding itself to the master

Im at the start of learning puppet. So far I successfully setup my master with dashboard and a couple of agents. But on one of my testing nodes I made a mistake when adding the node. I added it twice ...
2
votes
0answers
114 views

When using the puppet node init command, are the parameters to specify in the answers.install file

On puppet-enterprise version 3.3.1, I am attempting to use the puppet node init command on a VMware puppet master node hosted on a VMware VSphere client with VCenter 5.1.0. My puppet master node has ...
2
votes
0answers
85 views

How do I obtain the ssh public key from my VSphere ESXi 5.1 host hypervisor residing in vcenter with puppet-enterprise cloudprovisioner

I am using the learn puppet 3.1 vm and trying to connect to a host hypervisor. I followed the instructions to create a .fog file under root which includes a yaml hash, and I read that the yaml hash ...
2
votes
0answers
57 views

Puppet variables best practice, generalise or specialise?

I'm trying to figure out which things should be in git within the puppet manifest and which should be in env vars like FACTER_my_var and use that in the manifest instead. Scenario: you are deploying ...
2
votes
0answers
143 views

Puppet/Hiera: Error 400 on SERVER: undefined method `empty_answer' for Hiera::Backend:Module

I had a puppet master running for quite some time. After a restart of the process recently, I started getting: # puppet agent -t info: Retrieving plugin info: Loading facts in ...
2
votes
0answers
2k views

Puppet gives SSL error because master is not running?

I started with two clean machines this time. My master is running 12.04 Version: 2.7.11-1ubuntu2 Depends: ruby1.8, puppetmaster-common (= 2.7.11-1ubuntu2) My client is 10.04 Version: ...
2
votes
0answers
630 views

Puppet apache vhost automatic deployment

Hi there puppeters :), I hope you can help me with a situation. Namely, I will use puppet to deploy many (I mean really many) nodes with Apache installed. The problem I have is that for now the only ...
2
votes
0answers
184 views

Clean up old Domain Name for Nodes in Puppet Dashboard

I changed the domain name for some servers, i.e. web1.foo.com to web1.baz.com. In my Puppet Dashboard, I see two entries now for the same server. I can destroy a node with something like rake ...
1
vote
0answers
25 views

Puppet Enterprise and parser=future error. Uninitialized constant Puppet::Pops

When trying to set parser=future on PE I get this error Could not autoload puppet/indirector/node/console: uninitialized constant Puppet::Pops This works using open source puppet 3.6 but not with ...
1
vote
0answers
51 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
0answers
33 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 ...
1
vote
0answers
60 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 ...
1
vote
0answers
132 views

Puppetlabs Apache module: Debian PHP-FPM FastCGI APC

I'm currently setting up a new web server on Debian Wheezy and use the following modules from the forge: http://forge.puppetlabs.com/puppetlabs/apache http://forge.puppetlabs.com/example42/php The ...
1
vote
0answers
46 views

How to delete group using puppet when main group of another user

I have the following Puppet recipe: group{'pablo': ensure => absent, gid => 1020, } user{'pablo': ensure => absent, gid => 1020, managehome => false, } But ...
1
vote
0answers
143 views

Puppet agent runs as a daemon but manifests are only applied when puppet agent is run manually?

I have puppet agent daemonized # service puppet status * agent is running And can confirm that it is retrieving the configurations from the master # cat ...
1
vote
0answers
76 views

Puppet on windows is extremely slow

Windows 7, installed puppet via chocolatey. Running "Start Command Prompt with Puppet", and then creating an EMPTY file "tennessee.pp", and then invoking within the prompt puppet apply -v --debug ...
1
vote
0answers
143 views

Puppet: How to generate a dynamic dependency chain

First I get an array like this: $myarray = [ {name => resource_1, type => define_type1}, {name => resource_2, type => define_type2, require => resource_1}, {name => resource_3, ...
1
vote
0answers
38 views

How to find and modify a puppet resource transaction?

I recently applied a puppet transaction: puppet resource cron puppet-apply ensure=present user=root minute=30 command='/usr/bin/puppet apply $(puppet --configprint manifest) To undo it, I simply ...
1
vote
0answers
35 views

What is the syntax to bring up the man page for a puppet subcommand in 2.6?

I tried $ puppet help master but got an error. Apparently this syntax only works in version 3.2
1
vote
0answers
70 views

Using wildcards for Puppet Packages?

Is there way I can do this ? package { 'firmware': ensure => $version-*, } instead of specifying the entire version, package { 'firmware': ensure => $version-r20130530 }
1
vote
0answers
78 views

“Puppet device” not working with catalyst 2950

I have setup the puppet and made suitable tweaking for puppet device management to work. I have device config set for my switch catalyst 2950. Certificate request and signing works good and when it ...
1
vote
0answers
343 views

Puppet agent (v3.0.1) hangs connecting to master (v3.1.1) in VM behind firewall (with NAT based access) - SOLVED

I am using puppet agent v3.0.1 (On FreeBSD), trying to connect to a puppet master v3.1.1 (On Ubuntu) and the puppet agent hangs with the following debug output: puppet agent --debug --no-daemonize ...
1
vote
0answers
371 views

Puppet Error - Must pass puppet_server to Class[Puppet::Agent]

I am receiving the following error using a puppet module on my Puppet master to manage both master (Apache / Passenger) and agent [ashinn@puppet1 ~]$ sudo puppet agent --test Info: Retrieving plugin ...
1
vote
0answers
166 views

Make nginx stop accepting incoming connections when upstream is not available

I am running the following Puppet setup: Two puppet masters,each running nginx and uwsgi as a backend. Load balancing and HA between the two puppet masters is done via simple DNS round robin. The ...
1
vote
0answers
333 views

Puppet + HAProxy Configuration

I am trying to get HAProxy running. I have the puppet master setup serving configurations to two agents. One is the HAproxy server and the other is a simple web server (certname=webserver2). HAproxy ...
1
vote
0answers
57 views

Configuration Management of a set of windows App servers

We have several sets of app servers in a clients network running different code. Each set has Dev, UAT and Prod and we are developing outside the network. At the moment I'm manually pushing the ...
1
vote
0answers
300 views

puppetrun when the client certname != FQDN

I have a puppet client 'my-client' where the certificate name is 'my-clients-certname' instead of the being the same as the hostname. The puppet client and puppetmaster server have been working fine ...
1
vote
0answers
176 views

How to test that an exported resource in puppet exists after collecting?

I want to create a nagios_hostgroup if some hosts exists. For creating hosts in nagios I am using exported resources which I collect on the monitoring server. How can I test that a exported ...
1
vote
0answers
388 views

Hashes with Puppet and templates

I did this: $worker_name = { "app-fr" => { host => [ "app01/10.2.0.1/8009", "app02/10.2.0.2/8009" ] }, "app-uk" => { host => [ "app09/10.2.0.5/8009", ...
1
vote
0answers
197 views

puppet dashboard upgrade is failing

following this page: Not able to get the latest puppet dashboard installed.... http://docs.puppetlabs.com/dashboard/manual/1.2/upgrading.html#upgrading-code Commands typing: git init rm .gitignore ...
0
votes
0answers
18 views

PuppetDB: Connection refused

I'm trying to get PuppetDB to run on my puppetmaster machine. The problem is that I always get the following message when doing an agent run: err: Could not retrieve catalog from remote server: Error ...
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
0answers
26 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 ...
0
votes
0answers
60 views

Puppet MongoDb enabling authentication and defining password

I'm working on enabling authentication using the puppetlabs mongodb module. As the docs say, to enable authentication, I should add auth => true. But in order for authentication to work, I have to ...
0
votes
0answers
78 views

Identical Vagrant VM's install pip packages differently?

I have a vagrant VM being provisioned via Puppet. I'm testing this on two different Ubuntus, 12.04 and 13.10, both using the "standard" precise32 box. The application I'm testing is a Django ...
0
votes
0answers
25 views

Overriding types in Puppet

Is there a possibility to override standard types such as file or service in Puppet? I have to use my own class and functions to manage file system in containers on puppet agents, but I haven't ...
0
votes
0answers
52 views

Create puppet manifests file with mariaDb

I want to customize vagrant with puppet and install there php5, apache and mariaDb. I try to use this site to generate suitable manifests file but there absent mariaDb. Can someone suggest where I can ...
0
votes
0answers
38 views

Puppet Filenames with chinese characters don't get created

I have a puppet server and a client and both have the following locales configured: locale LANG=en_US.UTF-8 LANGUAGE=en_US.UTF-8 LC_CTYPE="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_TIME="en_US.UTF-8" ...
0
votes
0answers
31 views

Puppet issue with hostname and certificates

My puppet master server has host-name.example.com for FQDN. Facter tells his hostname is host-name.example.com, that is correct. However, when I run puppet master for the first time, the generated ...
0
votes
0answers
86 views

Puppet best practice : declare every node in the manifest or rely on external facts?

I am about to set up Puppet agent/master for my heterogeneous work environment scaling to hundreds of servers. We are planning to define custom modules based on the capabilities of each server or vm. ...
0
votes
0answers
198 views

Could not retrieve information from environment development source(s) file:/tmp/composer.phar

I am trying to use this Puppet module https://github.com/tPl0ch/puppet-composer and running into the following error: [ashinn@bwdstage2 ~]$ sudo puppet agent --test --environment development Info: ...
0
votes
0answers
45 views

How to set a module execution order in Puppet?

I know that it's possible to set execution order for individual resources within a manifest, but I would like to set the execution order of the entire module. So that I can say that the 'userdirs' ...
0
votes
0answers
106 views

Using puppet to deploy windows backup with Microsoft iSCSI

We currently have started using the following strategy for Windows backups, which I am looking to deploy via puppet: iSCSI Initiator is enabled on the client server. iSCSI Virtual Disk + VHD are ...
0
votes
0answers
236 views

Puppet Operation not permitted on owner/group change

I'm running Ubuntu 12.04 with vboxheadless 4.2.10 and vagrant 1.2.7 to provision instances on a server. When I run vagrant up I get the following errors: err: ...
0
votes
0answers
30 views

node definition is not being enforced

I'm trying to get ramped up on Puppet (2.7.x), but I'm encountering some strange behavior with the node definitions. From the documentation, I thought that the 'default' node was a catchall for any ...