Prefix: I searched this out, but the fact that there are any number of things that can cause this problem, I have been unable to find a solution to this particular case.
I have a puppet master (3.0.2-1; RHEL6) and the /etc/puppet/manifests/site.pp file contains the following:
import 'nodes/nodes.pp'
$puppetserver = 'puppet.example.dom'
Naturally, the server domain is not what is in use, but ha
I want to have puppet run a specific command before performing any type of change. I am aware of the prerun_command option in the main puppet.conf, but this is not what I'm looking for. I want the command to only run if something is about to change, not on every puppet run.
Here's the scenario. Let's say I have a bunch of web servers behind a load balancer.
We're using puppet to manage a group of Ubuntu boxes and will shortly require each of these servers to share a common SSL certificate, in order to serve a site over HTTPS.
Cannot use puppet on mac osx 10.8, i can find it in /usr/bin/lib but display that when i launch it :
/usr/bin/puppet:3:in `require': no such file to load -- puppet/util/command_line (LoadError)
from /usr/bin/puppet:3
Any idea ?
Edit :
I want to use puppet in Vagrant VM to do provisioning is it the good way ?
I have installed puppetmaster in ubuntu 11.04 and i have installed puppet in all my clients. I have joined all my puppet clients with puppet master. Is it possible to copy a file to all these puppet clients from puppet master?
For example:
I have the file named datas.xls in my Desktop (Puppet Master).
I have 40 Ubuntu 12.04 servers. These servers are managed with puppet.
Sometimes I have problem with puppet agent.
puppet agent spawn child process (sh) and this process fails. Sh is zombie process. Puppet doesn't work, I must restart puppet agent to make it works.
I use puppet to manage files, packages and services. Problematic agent didn't make any change before fails, server is up to date.
Puppet – Open source data centre automation and configuration management framework
ERB – Powerful templating system for Ruby
Puppet Recipes – Recipes for configuring Puppet
Puppet Dashboard – Web interface and reporting tool for Puppet
I am trying to setup puppet's dashboard to be monitor the status of my servers. With the below shown configurations, my clients (or nodes) only show up as Unreported and says Has not reported in "Last report".
However the node can communicate with the server and pull changes as it's supposed to, but nothing appears in the dash.
I am learning puppet and using this tool install puppet clients on nodes.
puppet node install --login=root --keyfile=~/.ssh/id_rsa --install-script puppet-enterprise --installer-payload ~/puppet/puppet-enterprise-2.7.0-ubuntu-12.04-amd64.tar.gz --installer-answers ~/puppet/installer.answers --puppetagent-certname puppet.node01.example.com 192.168.1.100
Everything seems to work ok.