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.
I am getting an error of err: Could not retrieve catalog from remote server: Error 400 on SERVER: Invalid parameter port at /etc/puppet/manifests/nodes/node.pp:652 on node test-puppet
My puppet class: (The Line 652 at node.pp)
node 'test-puppet' {
class { 'syslog_ng':
host => "newhost",
ip => "192.168.1.10",
port => "1999",
logfile => "/var/log/test
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.
After upgrading a node to Puppet 3.0.0 from the Puppet Labs YUM repository, the node that gets upgraded throws a munging error: [ashinn@dis1 ~]$ sudo puppet agent --test --trace
Error: Could not create resources for managing Puppet's files and directories in sections [:main, :agent, :ssl]: Parameter path failed on File[/var/lib/puppet/state/graphs]: Munging failed for value "/var/lib/puppet/state/
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
Is there any way to create the Nagios hostgroup only when the first (or at least one) member of that hostgroup comes on line?
I tried with Puppet Storeconfigs: The client node exports the nagios_hostgroup resource:
@@nagios_hostgroup { 'cloud-app':
alias => "Application Servers",
}
and the server node collects it:
Nagios_hostgroup <<| |>> { notify => Service['nagios'] }
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'm on a ubuntu machine when i fail to install jenkins with puppet with the following error:
/etc/puppet/modules/jenkins/manifests# puppet agent --no-daemonize --verbose
notice: Starting Puppet client version 2.7.1
info: Caching catalog for fqdn.myhost.com
err: Could not run Puppet configuration client: Parameter unless failed: 'apt-key list | grep -Fqe 'D50582E6'' is not qualified and no path wa
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