Puppet is a configuration management tool (Unix & Windows) with its own Domain Specific Language (Puppet or Ruby DSL). Puppetmaster is the central server for this tool.
1
vote
1answer
32 views
Puppet generates errors every time a module changes
I have a trivial puppet 2.7.18 installation as follows:
=== manifests/site.pp ===
node build-1 {
include mod1
include mod2
include mod3
}
=== modules/mod1/manifests/init.pp ===
import "*"
=== ...
1
vote
0answers
21 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
1answer
21 views
Change config file by puppet - depend hostname
I want to push some config file to my all servers by puppet. File is almost the same for all servers, but there is one change - hostname.
I've created module in puppet with manifest and ...
0
votes
1answer
66 views
Puppet(-master) 3.1 after wheezy upgrade
Today I've updated a Puppet client and a Puppet master to Wheezy.
For some reason, Puppet client was updated to version 3.1 but the master stayed at 2.7. So I've installed the latest stable version ...
0
votes
1answer
35 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 ...
6
votes
3answers
144 views
Puppet & Puppetmaster for development on VMs
I'm in the situation where I am constantly spinning up new vms for development. I've got a base image that i can clone but it quickly gets out of date and you have no method of adding a change across ...
1
vote
1answer
62 views
Puppet: build DNS file from node config (or: how do I iterate over node variables globally)
I also use puppet for my nodes. I am also running a (BIND) dns server.
Would it be possible to use the $aliases variable I have for each node in a template for the DNS module?
My nodes look like ...
2
votes
2answers
176 views
Puppet Enterprise 2.7 - Error 400 on Server - Error 403 on Server - Can't puppet agent -t without the following error?
Running into an issue using two VM's running REL6. I set up the master and agent correctly and was able to cert the agent. When I go to run:
puppet agent -t
On the agent, I receive the following ...
0
votes
0answers
50 views
puppet augeas with more than one array in a single key
I am trying to put together a set of puppet policies for grub/menu.lst.
The serial::grubmenulst is a puppet define type that looks like this :
define serial::grubmenulst ( $value ) {
$key = $title
...
0
votes
1answer
29 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
124 views
Force to apply changes through puppet on a puppet agent, through master?
Is it possible that i can issue a command from master pupet, to a node, to run agent and apply the latest configuration to it?
Like,i have lost password for a user and i am not able to login, but ...
3
votes
2answers
188 views
Puppet client caching but not updating local facts
I have a server pmaster-dev that is a puppet client (its master is pmaster). The server pmaster-dev itself acts as a puppet master for several clients.
When pmaster-dev checks in with pmaster it is ...
0
votes
2answers
80 views
Transfer file between puppet-managed servers
We have a server (managed by puppet) that generates a file once per day. Is there an approach I could use to make puppet do the following:
Recognize that the file is there on server A
Upload it to ...
0
votes
2answers
112 views
How to maintain site.pp with many nodes?
I keep all my nodes in one file, site.pp - but as I add more and more nodes, it's very difficult to maintain them.
Import directive looks very promising, but as I understand docs, it's necessary to ...
0
votes
3answers
98 views
puppetmaster behind firewall
I'm trying to run puppet on some servers outside my corporate firewall, with the puppetmaster inside the firewall. It's going to be extremely difficult--if not impossible--to convince corporate IT to ...
1
vote
1answer
46 views
Puppet serving plugins over nginx throws 404s
I migrated my puppet master setup to run under thin with files being served from nginx.
Module files are served great, but plugin files don't appear to work. The logs think that the agents are ...
0
votes
1answer
29 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
0answers
39 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 ...
0
votes
2answers
128 views
How can I fix invalid parameter errors in puppet manifests?
I've got a seemingly impossible error in a very simple puppet manifest. I'm simply trying to use the example42 puppet-puppet module to run puppetmaster (with puppet 3.1.0). This is my site.pp:
node ...
1
vote
2answers
95 views
Why does puppet keeps telling me: “Puppet.features.rubygems? is deprecated. Require rubygems in your application's entry point if you need it”?
I've got a reasonably small (~10 hosts) puppet installation, and recently, I've started to get warning messages on every puppet agent run. The message is:
Info: Loading facts in ...
0
votes
0answers
40 views
How to wildcard nodes in a Group definition in Puppet Enterprise?
I want to have a newly "accepted" node automatically be added to a Group definition in Puppet Enterprise based on its hostname. How to? It looks like it's only possible to manually make the ...
0
votes
1answer
44 views
Puppet using /var/lib/puppet/.puppet/ as default config dir
I'm running a CentOS 6 box with puppet 3.0.2.
The /etc/puppet/manifests/site.pp on the puppet server does not seem to do anything, so I ran:
puppet master --no-daemonize --logdest console ...
2
votes
1answer
65 views
puppet templates: possible to print the size of an exported resource array?
I'm writing a puppet module for ocfs2 and making use of exported resources to populate the definitions of all the cluster nodes in the config file on each cluster. This all works well. The cluster ...
4
votes
2answers
211 views
Puppet sometimes can't find standard facts like osfamily
Quick brief - for testing purpose, I installed puppet agent on 5 nodes (Debian Squeeze + puppet 2.7.20-1puppetlabs1), and puppet master on 1 server (same version).
On puppetmaster side in every ...
0
votes
1answer
139 views
Puppet and Dynamic Environments
I am trying to set up dynamic environments using http://puppetlabs.com/blog/git-workflow-and-puppet-environments/ as a guide. Unfortunately I am not entirely clear on what I am doing.
I have created ...
0
votes
1answer
49 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 ...
2
votes
1answer
78 views
multiple puppet masters set up using inventory
I have managed to set up multiple puppet masters with one puppet master acting as a CA and clients are able to get a certificate from this CA server but use their designated puppet master to get their ...
5
votes
2answers
374 views
multiple puppet masters
I would like to set up an additional puppet master but have the CA server handled by only 1 puppet master. I have set this up as per the documentation here:
...
2
votes
1answer
290 views
Installed puppetmaster, but why do I get “puppetca: command not found”?
# puppetca --list
-bash: puppetca: command not found
I am newbie in Puppet server, but I think I have installed puppet-server correctly.
How to get the puppetca ?
2
votes
2answers
139 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
1answer
221 views
puppet master slave setup
I just want to throw this question out there.
I have 2 geographical locations, A and B. There is an OOB network that connects A and B together, that is management devices in location A can ping ...
0
votes
1answer
107 views
SSL issues with puppetdb
I'm setting up Puppetdb with SSL and having issues with certificates.
I'm using Nginx as an SSL proxy for Puppet, so my CA is managed by a mongrel server on this Nginx proxy machine.
If I generate a ...
2
votes
2answers
122 views
With puppet, can you have the client ask to be a certain set of roles?
I've recently got my puppetmaster and client up and running and have had the client correctly signed, then requested and applied simple changes, all good.
I have a growing number of machines (>100). ...
0
votes
1answer
251 views
Puppet - Possible to use software design patterns in modules?
As I work with puppet, I find myself wanting to automate more complex setups, for example vhosts for X number of websites. As my puppet manifests get more complex I find it difficult to apply the DRY ...
0
votes
1answer
388 views
Puppet yum repo - Pull down 2.7.x vs 3.0.x
So a few weeks ago I started on the path to using puppet to automate all the configs/services. At the time I was using the EPEL repo, which installed version 2.6.x. After some reading I was trying to ...
1
vote
1answer
66 views
Puppet - Is it possible to use a global var to pull in a template with the same name?
I'm new to puppet. As such I am trying to work my way around the best way to setup my manifests that make sense. Following the DRY (don't repeat yourself) principle, I am trying to load common ...
0
votes
1answer
67 views
Could not evaluate: certificate verify failed while using ssl proxy
One of our machines was recently put behind an SSL proxy and since then I can't connect to puppet with "Could not evaluate: certificate verify failed."
I have checked that the dates match, ...
1
vote
1answer
403 views
Puppet master fails to run under nginx+passenger configuration as rack app, works when run as system service
I get the error
[anadi@bangda ~]# tail -f /var/log/nginx/error.log
[ pid=19741 thr=23597654217140 file=utils.rb:176 time=2012-09-17 12:52:43.307 ]: *** Exception LoadError in ...
0
votes
1answer
114 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 ...
2
votes
2answers
110 views
Run puppetmaster & client only on commit and once daily
Puppet is eating up resources on my machine and unfortunately I have to run master alongside other process in a machine.
Now I am plan to stop puppet running as a daemon all the time and instead ...
1
vote
1answer
71 views
Setup Puppet to email failed reports [duplicate]
Possible Duplicate:
Alerting on Failed Puppet Status
How can I setup Puppet to email failed reports to an address?
I’ve setup puppet.conf like this
[master]
server = ...
0
votes
1answer
262 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 ...
12
votes
3answers
606 views
Pros and Cons of a Decentralized Puppet Architecture
We have around 300 RHEL servers that are currently connecting to a Puppetmaster server. However, we have noticed some performance bottlenecks and it is the point of failure in our system. I am ...
0
votes
1answer
85 views
Installing Passenger on CentOS 6.0 with the view to running my Puppet Master via Passenger
I'm attempting to configure Puppet to run via Passenger. I'm using this guide
I've hit a bit of a brick wall. When I attempt to reload apache, I get the following error:
[Sun Jul 15 19:38:44 2012] ...
1
vote
0answers
727 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
2answers
821 views
Puppet: SSL certificate Error
I did this
sudo puppet agent --test
err: Could not retrieve catalog from remote server: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
warning: Not ...
2
votes
2answers
409 views
How to chain puppet masters
I have a Puppetmaster server A and a server B that is a Puppet client of A. I would like to setup server B to be a Puppetmaster itself and make server C be a Puppet client of server B. (Note: all ...
2
votes
1answer
934 views
Setting up puppetmaster: hostname was not match with the server certificate
I am new to setting up Puppet and Puppetmaster... We have puppets setup previously, and new new puppetmaster...
3rd edit
After deleting the ssl files on both master(ghive-ldap) and client (giab10)
...
1
vote
2answers
846 views
How to override puppet class arguments in child node?
I'm attempting to accomplish something like the below:
node 'basenode' {
class {
'puppet' :
disable => false,
}
}
node 'child' inherits 'basenode' {
class {
...
3
votes
1answer
140 views
Puppet: Conditional file source based on naming convention
I'm getting the ball rolling on puppet for my environment - and I'd like to have a conditional file resource based on whether or not the module itself contains a file based on a naming convention.
So ...