Displaying 20 results from an estimated 5000 matches similar to: "Puppet smoking crack?"
2012 Aug 17
4
Default node
Seems like nodes are matching the default node before they are
matching the more specific nodes. My site.pp has:
include "nodes/*.pp"
In the nodes directory are two files, default.pp and nagios_server.pp.
default.pp:
node default {
include role::common
}
nagios_server.pp:
node ''mon01.us1.xxx.com'' {
$node_env = "production"
include
2012 Sep 05
1
Nagios and www-data users.
I''m sure people have hit this problem before. In my nagios module, the
nagios command pipe file at /var/lib/nagios3/rw/nagios.cmd is owned by
the nagios user, but needs to be written to by the www-data user.
Adding the www-user to the nagios group is one solution, but that
requires that the nagios module potentially modify the www-data user,
which seems bad.
What''s the best way
2012 Aug 14
8
Custom Providers and Environmemts.
I''ve installed the puppet labs lvm module. After fixing the missing
"}" at line 20 in init.pp (really?!?!), I''m getting this:''
err: Could not retrieve catalog from remote server: Error 400 on
SERVER: Puppet::Parser::AST::Resource failed with error ArgumentError:
Invalid resource type physical_volume at
/truth/sauce/env/prod/modules/role/manifests/common.pp:43
2012 Sep 10
5
Nagios purge deleted items and notify nagios service problem
I am using stored configs to manage my nagios host and services checks and
I have run into a problem that I have been unable to solve. When the
stored configs are purged from puppet the nagios server correctly removes
them from the services and hosts file but does not notify the nagios
service and instead throws an error. So the entries are still there and
nagios still reports on them until
2010 Mar 02
2
Nagios based on David Schmitt's Complete Config : variables are empty
Hello !
I''m trying to implement a Nagios solution based on David Schmitt''s
Complete Config. But I the following error when running puppetd -t -
v :
notice: Starting catalog run
err: //Node[monitoring]/nagios::target/Nagios::Host[]/File[/conf.d/
_host.cfg]/ensure: change from absent to present failed: Could not set
present on ensure: No such file or directory - /conf.d/
2011 Nov 04
1
Storeconfigs and nagios and foreman
All-
Poking around in the bug database it looks like storeconfigs is being
actively worked on. I am using 2.7.6 on my master as well as all the
clients. I have clients boot , start puppet and get a signed cert via
auto signing. The nagios module (and currently the only thing puppet
does) complains a lot during compile time about not having
storeconfigs enabled, which is not the case in my
2013 Oct 10
3
Puppet fails to install package, whilst it's okay to do manually
Dear all,
I''m seeing this strange thing: When I run "*puppet agent -td*" on the node
(Nagios, in this example case), puppet fails to install Nagios3 (on Debian)
with this:
Debug: Executing ''/usr/bin/dpkg-query -W --showformat ${Status} ${Package}
> ${Version}\n nagios3''
> Debug: Executing ''/usr/bin/apt-get -q -y -o
>
2009 Feb 06
1
Bug#514335: logcheck-database: Nagios rules don't match the new nagios3 version
Package: logcheck-database
Severity: normal
Tags: patch
The rules in /etc/ignore.d/server/nagios contain the explicit version number "2".
Now that lenny includes nagios3, those rules don't work anymore.
Please change the rules to work for both nagios2 and 3. That can easily be done
by replacing the 2 by (2|3) for example.
-- System Information:
Debian Release: lenny/sid
APT
2011 Jun 07
2
Changes on master applied only on second run on nodes
Hi!
If I change manifest on master and then immediately run "puppet agent
--no-daemonize --report --pluginsync --onetime" then it still uses old
version of manifest. When I run it second time it sees changes and
applies them.
Why is it like that? Is it intended to be so?
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To
2012 Jan 17
4
Exported variable foo...(fu?)
Hi folks,
For the first time since I started playing with puppet I started down the
road of using exported resources This was inspired by my reading all of the
nagios related recipes that went something along the lines of
class nagios {
package {nagios: ensure=> latest }
service {nagios : ensure => running , enable => true}
Nagios_host <<! !>>
2011 Mar 11
9
Why is it so hard to make a sane nagios server config?
I''ve tried to achieve my overall goals with several different features
of Puppet, but I''ve hit a bit of a wall here. I think it''s time for me
to explain what I''m trying to accomplish:
I want the enabling of a service in my manifests to configure
the monitoring of that service by a nagios server, without
needless repetition.
Let me explain how my
2012 Feb 03
3
Interesting permissions issue with nagios_* providers
Hi folks,
I noticed an interesting problem with the nagios_* providers especially in
Debian. Besides writing to the wrong file (I fixed that issue) I''ve
noticed there is a umask issue where the config files end up being owned by
root with perms 0640. This causes nagios to spit milk out of its nose
because it cannot read the configuration files.
I came up with a kludgey solution to the
2012 Aug 15
7
Custom types in environments working .... yes/no/maybe ?
My issue may be related to this bug:
http://projects.puppetlabs.com/issues/13858
"Custom types in environments require loading into master''s libdir"
However, now I''m not so sure, This was working previously with a given
client. However, after trying on a fresh client, it''s failing with:
err: Could not run Puppet configuration client: Could not find a
2011 Nov 01
2
Custom fact not set with mc-puppetd
Hello,
I''ve mcollective 1.2.1 with puppet 2.6.12 on rhel5.6, facter 1.6.2
setup from http://projects.puppetlabs.com/projects/mcollective-plugins/wiki/FactsFacterYAML.
Now I''ve create a custom fact in /usr/lib/ruby/site_ruby/1.8/facter/
customer_status.rb.
On the client;
Running facter customer_status works.
Running ''puppet agent --test'' works, customer_status
2008 Sep 04
2
Nagios 3 RPMs
Is anyone working on Nagios 3.x RPMs? If not, perhaps I'll whip some up and
submit them to some appropriate repository.
Geoff Galitz
Blankenheim NRW, Deutschland
http://www.galitz.org
2007 Mar 22
6
Starting out with lots of problems.
So I am beginning the long process of learning puppet... and it seems
that I am missing some vital things.
My systems are RHEL-4, and i have installed the
puppet/facter/puppetmasterd from dlutter@redhat.com''s archive.
[root@canopus puppet]# rpm -qa | egrep ''puppet|facter'' | sort
facter-1.3.6-1.el4
puppet-0.22.2-1.el4
puppet-server-0.22.2-1.el4
on the client I
2009 Nov 20
1
tlsv1 alert decrypt error
I was trying to do a fresh install of puppet.
I have officially entered puppet SSL hell again.
Nov 20 14:45:20 mon01 puppetd[5597]: Reopening log files
Nov 20 14:45:20 mon01 puppetd[5597]: Starting Puppet client version 0.24.8
Nov 20 14:45:21 mon01 puppetd[5597]: Could not retrieve catalog:
Certificates were not trusted: tlsv1 alert decrypt error
Solution?
I''ve cleared the
2012 Aug 11
8
Pass array to a define
How can I pass an array to a define? It''s not documented in the puppet
language guide.
I''ve got:
define lvm::create_vg ( $pvdisks ) {
exec {
''pvcreate'':
command => "/sbin/pvcreate -yf $pvdisks",
unless => "/sbin/pvdisplay $pvdisks",
...
}
}
class someclass {
lvm::create_vg {
2011 Mar 09
4
prerun_command don't stop puppet on error
When an error occurs in prerun_command, puppet continues execution
instead of stopping.
We can see the error at the log file, but puppet cotinues doing
changes:
puppetd[18430]: Failed to prepare catalog: Could not run command from
prerun_command: Execution of ''/path/to/command'' returned 1:
We want to prevent changes when an error occurs in prerun_command.
Our puppet.conf:
2009 Nov 12
6
Multiple environments
So I''m trying to get multiple environments to work with puppet 0.25.1
on ubuntu 8.04 and no matter what I do, puppet just completely ignores
any environment setting. There''s really next to no information in
terms of configuration on the multiple environments documentation page
(http://reductivelabs.com/trac/puppet/wiki/UsingMultipleEnvironments)
other than saying that the