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

learn more… | top users | synonyms

5
votes
3answers
95 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
3answers
146 views

Puppet: Trying to configure puppet client for first use but got some problems with certificates

I'm trying to configure my clinet 'Itai-test' to receive puppet settings from the puppet server which is called 'puppetmaster'. On the server I ran: [root@puppetmaster requests]# puppet cert ...
3
votes
2answers
197 views

Puppet 2.7: Can I set up a puppet:// fileserver with Apache on a non-puppetmaster?

I don't have direct access to our puppetmasters, but I can make changes to modules and classes that relate to my work. I would like to set up a puppet:// fileserver that does not reside on the ...
2
votes
2answers
499 views

Puppet doesnt sign certs

I have build an testlap for puppet, but it doesnt work. I start the Puppet Agent on the Node and he waits for the Certificate. root:~# puppet agent --server xxxx --waitforcert 60 --test warning: ...
2
votes
2answers
664 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 ...
1
vote
2answers
48 views

Puppet pre-generated certificates for multiple agents

I have a requirement like below I have generated pre-generated certificates in master for multiple agents with some name I have to copy the pre-generated certificate to all the agents. All the ...
1
vote
2answers
67 views

Puppet ignore part of templated file

Is there a way to ignore part of a templated file? I have a service which has a config file and each time the service starts it writes the start time in the config file. This makes puppet detect a ...
1
vote
2answers
398 views

What Puppet resource types require an audit metaparameter to force Puppet to manage the resource if it's removed?

Until recently, I was under the impression that merely declaring a resource with various attributes would ensure that Puppet manages the resource and brings it back to the configured state if it were ...
1
vote
2answers
825 views

puppet hanging or long time on rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0

In our setup, we manage our servers using puppet. Since a few days I saw the puppet client running very slow. When stracing the puppet process I get loads of rt_sigprocmask(SIG_BLOCK, NULL, [], 8) ...
1
vote
2answers
214 views

Removing “X Windows System” and Gnome using Puppet

I'm trying to remove unnecessary services like XWindows and Gnome on production RHEL/CentOS machines using Puppet (I don't get to install the OS). From what I can tell, "groupremove" isn't ...
1
vote
2answers
183 views

Unable to get defined path in 'source' type on AIX node

I am trying to create a set of users on my AIX node and trying to get their authorized_keys which are already hosted on my server with name like, 'myuser_id_dsa.pub'. Currently i am managing 2 nodes ...
0
votes
2answers
62 views

trigger command to run on puppet after failure

I want to be able to call a custom action if the manifest fails. The manifest contains several calls and any of these could fail. Whatever call to file, exec, package fails would ideally trigger the ...
0
votes
2answers
170 views

How to access puppet hash name in templates

I've defined a hash like so in my nodes.pp: net::addr { "eth5": rt => { rt1 => { address => '192.168.10.0', netmask ...
0
votes
2answers
39 views

puppet types query

I'm looking at a module for learning purposes. My understanding was that everything needs to be in a class or definition, however below the module has a definition in init.pp however after the ...
0
votes
2answers
107 views

Puppet master to pull config back from Puppet agent

What are the possible ways to implement the following: if a config file is changed on Agent its new version should be pulled by Master from that Agent?
0
votes
2answers
85 views

Crossplatform “jail” for an application

We currently have a variety of systems (Linux, Solarix, *BSD, HP-UX ...) on which we are not allowed to install anything into / (but I have root access. That's strange, I know). But we'd like to run ...
0
votes
2answers
187 views

Add requires to default resources in Puppet

I'm trying to add a require to the default resource for users in Puppet: User { require => Mount['/home'] } Using Puppet 0.25, I get the following error: err: Could not retrieve catalog from ...
0
votes
1answer
122 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
422 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
113 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
164 views

Puppet apache prefork configuration

I'm using the puppetlabs apache module to manage my apache configuration. I got everything configured, except the Server settings for mod_prefork. There is a template for prefork and it gets variable ...
0
votes
1answer
76 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
232 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
83 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
46 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
39 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
120 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
430 views

problems specifying user password with puppet (+vagrant) on precise32 virtualbox

I'm using vagrant+puppet to provision a precise32 VirtualBox server to add users programatically. I've got everything working but I can't seem to set the password automatically by puppet. Here's my ...
0
votes
1answer
392 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
44 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 ...
0
votes
1answer
236 views

Passing common parameter hashes to defines in Puppet

Is something like this possible in Puppet? $common_params = { ensure => present, domain_name => $domain_name, admin_port => $admin_port, ...
0
votes
1answer
162 views

puppet user module not updating /etc/group on servers

i am using the puppet user module, its able to create the users and add them to the correct group, however i have moved one user to another group and puppet moved the user to that group on the remote ...
0
votes
1answer
39 views

How do I create and exception to a puppet catalog?

How do I create and exception to a puppet catalog? Specifically I want to use Puppet to manage a one-off set of firewall rules, to be combined with the default ruleset. This is for a single legacy ...
0
votes
1answer
116 views

Package(Java.ActiveMQ etc..) Manual Installation Issues

I am trying to install Java or ActiveMQ manually into my agent server from master, Installation is working fine for me, but the issues which I am facing is whenever I run puppet agent -t in my agent ...
0
votes
1answer
91 views

Use of hash in defined type for puppet

I'm trying to use a hash for the first time in puppet, so in my nodes.pp I'm going to use this: node test1.example.com { netset::int::vconf {"servers" : label1 => { 'comment' => ...
0
votes
1answer
34 views

puppet erb code fails

I've written the following in my templates, but when I run puppet client it keeps complaining of "Failed to parse template Detail: Could not find value for 'mas". My problem is that ipa variable is ...
0
votes
1answer
83 views

Mcollective responds to ping but not puppetd

I'm working with a colleagues setup, so I'm hoping things were setup correctly; however I'm having some issues. When on the Puppet Master, if I run mco ping then I get a list of agents; however if I ...
0
votes
1answer
41 views

Have a class deploy a module in Puppet?

I've read a lot of different sources, and I just can't decide what is the best way to handle deployment of modules to nodes/hosts nor have I gotten some of them to work. I have created everything in ...
0
votes
1answer
120 views

How to include a list of files, each with a virtual resource declaration

In my Puppet (2.6) module definition, I create user accounts by declaring them as virtual resources; today they take the form @useraccount('name'=>'joe') and @useraccount('name'=>'mary') within ...
0
votes
1answer
693 views

Access a puppet class variable dynamically

Is it possible to dynamically access a variable in a class? For example: class namespace::hello() { $cow = "moo" $dog = "bark" } $dynamic = 'cow' $value = $namespace::hello::[$dynamic] # ...
0
votes
1answer
209 views

Cant use groups in a virtual user

I am trying to set up some virtual users in puppet. The basic users work fine, but for some reason when I try to add "groups" to the user definition the run fails. Here is the basic virtual user ...
0
votes
1answer
292 views

Hiera failures with puppet 3 rc3

I just installed puppet 3 (3.0.0-0.1rc3puppetlabs1) on a 32bit Ubuntu 12.04 'server' VM. I used the packages for the install. I then copied over my existing modules and manifests from my production ...
0
votes
1answer
259 views

Rebuilding a file if files have changed

I'm having a hard time wrapping my head around this. It seems trivial, but I'm not getting it. I have two files. If either of those two files changes, I want to rebuild one of them. Essentially: ...
0
votes
1answer
665 views

How to enable systemd instantiated service with puppet?

I've got the following puppet service: service { "getty@ttyUSB0.service": provider => systemd, ensure => running, enable => true, } When I try to apply this ...
0
votes
1answer
71 views

Using Puppet, is it possible to define which plugins gets sync with a particular client?

I have a plugin that gets pushed to all clients. However, I have one that's specific to a particular module, hence I don't want it synced with all my clients. My generic plugin is stored in ...
-1
votes
1answer
92 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
votes
1answer
50 views

New puppet master VM counted towards licenses used, old puppet master node made agent no longer responsive

*Using VSphere Client 5.1 Ubuntu precise VM's with Puppet Enterprise 3.3.1 and PostgreSQL 9.3.1 I am utilizing the same postgresql database to manage a new puppet master and I know that the licenses ...
-3
votes
1answer
48 views

What is best way to convert existing installation of linux to puppet

I have centos 6.4 running on aws on ec2. I has installed all moudles , plugins , libraries etc myself manually. Bow i want to convert that configuration into puupet. But i don't know how to do ...