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
53 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
vote
1answer
71 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 ...
1
vote
1answer
62 views

puppet apply and extlookup

I still use extlookup (Yes, I know that it's deprecated :-( But I can't find time to move to hiera). My problem - I need to move from puppet master/puppet agent setup, to puppet apply that is run ...
1
vote
1answer
399 views

Puppet 3.3.1 Certificate verify failed

I`ve trouble to setup a master/node scenario with puppet 3.3.1 (puppet opensource) on both master and slaves. The slaves are on a windows and SLES machine. The Master is also on a SLES machine. The ...
1
vote
1answer
89 views

How do you upgrade puppet on Apache / passenger on EL6.4?

I have a Scientific Linux 6.4 server running apache / passenger with puppet-server installed. Also installed is Foreman 1.4. When I upgraded my agents to 3.4.2, they started all logging: Using less ...
1
vote
1answer
152 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
1answer
234 views

Problems with Exec in Puppet

i want to to run the following command with puppet: sb2-init rasp /home/ubuntu/raspberry_pi_development/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf-gcc In ...
1
vote
1answer
159 views

How can I use a remote admin tool (puppet or chef) combined with a sync tool (e.g. rsync) to send log files from several servers to a central server?

Summary How can I use a remote admin tool (puppet or chef) combined with a sync tool (e.g. rsync) and scheduler (cron) to send log files from several servers to a central server? Context Our ...
1
vote
1answer
139 views

How to define nodes from a Hiera file in Puppet?

I am using puppet and the puppet network device management module and I am trying to build my custom type. In the built-in type for the routers configuration, you can specify a list of nodes and then ...
1
vote
1answer
25 views

Compact Node Definition

I created a new module for my autofs mounts using defined types so I can specify as many new mounts in my node definitions as needed. So for example my node definition looks like the following: node ...
1
vote
1answer
498 views

Can I use variables in The Foreman as a Puppet ENC?

Is it possible to set variables like server_role=webserver, allow_root=false in The Foreman as a Puppet ENC? And does the Foreman as an ENC support hierarchies? E.g. make a group of webservers, that ...
1
vote
1answer
91 views

Is it possible to use different connectors on MCollective client and server side?

Is it possible to use the STOMP connector on client side and ActiveMQ on server side? Here are my configurations: #client.cfg connector = stomp plugin.stomp.host = localhost plugin.stomp.port = 6163 ...
1
vote
1answer
239 views

puppet ignores ENC classes

I am using a ruby script to retrieve the class parameters and my YAML output is as below: classes: tomcat_install: tmp_dir: /tmp tomcat_home: /tmp/tomcat6 puppet.conf is as below: ...
1
vote
1answer
133 views

Puppet agent on FreeBSD skipping runs

I am experimenting with puppet and we are using FreeBSD on some servers. I noticed that the agent on the FreeBSD is for some reason skipping runs, i.e.: May 6 09:19:15 eagle puppet-agent[66970]: ...
1
vote
1answer
484 views

How to refer to current iteration of hash loop in puppet

I have a hash like so net:ip { '': ip => { ip1 => { addr => '192.168.10.1', device => 'eth0', }, ip2 => { addr => '192.168.50.10', device => ...
1
vote
1answer
298 views

Own puppet function

I'm trying to make my own function. I keep getting this message. err: Could not retrieve catalog from remote server: Error 400 on SERVER: Function 'brent_k' does not return a value at ...
1
vote
1answer
331 views

How to change single variable in Puppet between environments

Specifically, if I'm in staging, I want directory A, and in QA, directory B: file{'/etc/appenv': ensure => file, owner => 'root', group => 'root', mode => 0644, source => ...
1
vote
1answer
698 views

Puppet configuration file on Windows

I'm running puppet on windows as an admin (testing on windows 7, even though it is not officially supported). When I install puppet following the windows installation instructions, no puppet.conf file ...
1
vote
1answer
579 views

Unable to start puppetmaster on CentOS 6

I installed puppet 2.6.12 on CentOS 6. When I try to start the puppetmaster service using the command service puppetmaster start I get the error: Starting puppetmaster: ...
1
vote
1answer
289 views

debian puppet clients (0.24.5-3) failing to retrieve file , centOs (0.25.5-1) working ok

I have got a puppetmaster and a mix of CentOs 5.4 and Lenny 5.0.3 clients. The CentOs have puppet-0.25.5-1.el5 installed and are working fine to retrieve files. The Debian boxes have the 0.24.5-3 ...
0
votes
1answer
22 views

Puppet agent cannot find environment

Puppet master can find the environment, [user@puppetmaster]$ sudo puppet agent --configprint modulepath /etc/puppet/environments/development/modules:/etc/puppet/modules:/usr/share/puppet/modules ...
0
votes
1answer
16 views

How can I use a rubygem in a puppet provider on debian stable?

I'm trying to use a puppet provider which requires a ruby gem. It's being run on Debian stable (wheezy), but I get the following error: err: Could not run Puppet configuration client: no such file ...
0
votes
1answer
40 views

Puppet (machine) State

I'm trying to wrap my head around Puppet, to be able to tweak our automatic build/deployment process. The one thing that I'm missing at the moment is a concept of a "state" the machine can be in: if ...
0
votes
1answer
10 views

Generate foreman-installer-answers.yaml

Is there a way to generate a foreman-installer-answers.yaml file from a current setup? After initially installing Foreman I changed a couple of things in the web interface and also used ...
0
votes
1answer
30 views

How to seperate the CA server from Master (basic setup)?

I followed Centralize the Certificate Authority guide to seperate my ca from the master however I'm running into trouble. My Setup Hosts file I have the following in the /etc/hosts file on all ...
0
votes
1answer
35 views

future parser error in puppet

I have below code class dummy::eachtest{ $filename = [1,2,3] each($filename) |$value| { file {'/etc/dummy/manifests/${value}': ensure => 'directory', } } I got below error when I compile ...
0
votes
1answer
30 views

Confuse in enabling package repository

I am having trouble installing puppetdb so I am back tracking my steps and try to find out my error. So I am to enable puppet package repositories before I install puppetdb shown in this guide. ...
0
votes
1answer
55 views

sudo apt-get update change config files for puppet?

I booted up 3 vm in linuxmint. 1 puppetmaster and 2 puppet. 2 days ago I could run "sudo puppet agent --test" in both of the client without a problem. Today I was installing meteor in one of my ...
0
votes
1answer
292 views

How to get Run Puppet button working on Foreman?

First of all, I know there is already a very similar question here on serverfault, but it doesn't quite answers my problem. So, my setup is the following: I have one server, running Ubuntu 14.04 LTS ...
0
votes
1answer
73 views

Puppet agent on Windows - Warning messages in Windows Application Logs

I have puppet master 3.6.2 on Linux and puppet agent 3.6.2 on Windows Server 2008 R2 On the Windows servers in Windows Application Logs I have Warning messages: Log Name: Application Source: ...
0
votes
1answer
174 views

Foreman errors out when provisioning using an ms-dhcp/dns smart proxy

Im running foreman, with smart-proxy on a win2k12 r2 box running ad/dhcp/dns. When i try to provision smart proxy dumps this to the logs: Changed the current scope context to 192.168.20.0 scope. ...
0
votes
1answer
636 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
72 views

MCollective metadata refresh returns: Host name lookup failure

With puppet installed, the command /opt/puppet/sbin/refresh-mcollective-metadata is run every 15 minutes. It loggs hostname: Host name lookup failure when it runs. hostname, hostname -i, and hostname ...
0
votes
1answer
64 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
47 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
35 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, ...
0
votes
1answer
194 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 ...
0
votes
1answer
49 views

creating development environment with a button click

We create development and testing environments manually and its taking lot of manual effort and time now. We want to completely automate that like "click a button to create a development/testing ...
0
votes
1answer
140 views

Puppet Master does not seem to be receiving certificate to sign from agent

I wanted to configure DNS round robin on my Puppet 2.7.23 Master servers. I configured 2 Red Hat 6.5 servers with Puppet running via Rack with Passenger on Apache 2.2.15 with mod_ssl. I configured ...
0
votes
1answer
325 views

Can I get the exact error when starting Apache using Puppet?

How can I get Puppet to show me the real error when it starts Apache and there's a problem? Is it a limitation of Puppet? Of Apache? Of how I put them together? I've created a Puppet module for ...
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 ...
0
votes
1answer
248 views

Puppet Init VirtualEnv Just Once

So here's a snippet from my manifest (based on this module: https://github.com/stankevich/puppet-python): python::virtualenv { $virtualenv_dir: ensure => present, version => 'system', ...
0
votes
1answer
103 views

foreman undefined method active_record

i am trying to install foreman manually on centos 6 database.yml production: adapter: mysql database: foreman username: foreman1 password: foreman host: localhost socket: ...
0
votes
1answer
443 views

What are storeconfigs in Puppet and what is their purpose?

As far as I understand it, storeconfigs are about storing the client data in the MySQL database. I assume this is the data that is also stored in the .yaml-files in /var/lib/puppet/yaml/node/, that ...
0
votes
1answer
114 views

Amazon cloud provisioning using puppet & theforeman

Does puppetlabs have modules to help provision for Amazon Ec2 instances within VPC / outside VPC? Any recommendations ? I would like to launch an instance based on an AMI image. This instance should ...
0
votes
1answer
65 views

Pass compile options to rbenv::gem

I am using alup/puppet-rbenv and I am installing Passenger with nginx with this statement: rbenv::gem { "passenger": user => "vagrant", ruby => "1.9.3-p327", ensure => ...
0
votes
1answer
42 views

Puppet. add user and permissions from another node

We have 2 nodes first node 'db' { include postgresql::server } second node 'webapp' { include nginx include unicorn include postgresql::client } how to make the second node could add the database ...
0
votes
1answer
142 views

How can I prevent the puppet agent service from starting on install?

I'm installing the puppet 2.7.18 agent unattended via the msi as part of an automated windows install. I need to make sure that the first puppet run that happens is on the first 'clean' boot of the ...
0
votes
1answer
555 views

generate ssh host keys for clients on puppetmaster

I look for a solution to create the ssh host keys for my puppet clients on the puppetmaster. I did some research and found http://jsosic.wordpress.com/2012/12/04/managing-ssh-host-keys-with-puppet/, ...
0
votes
1answer
49 views

How to have Puppet enforce enabled reporting?

For Puppet clients to report results back to the master server, "report = true" needs to be in the "[agent]" section of the client's puppet.conf. But how can I get Puppet to enforce that? It's ...