Displaying 20 results from an estimated 80000 matches similar to: "Testing if a puppet class is going to be installed"
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/
2012 Jun 02
5
error trying ENC.
Hello, I''m trying to use External Node classification and I have not
idea what is my mistake.
I getting the following error :
err: Could not retrieve catalog from remote server: Error 400 on
SERVER: undefined method `downcase'' for ["hola",
{"mens"=>"HOLA"}]:Array on node casa
I have a very simple parameter class :
class hola( $mens =
2012 May 16
3
Master Timeout
Howdy,
our puppet master is hosting nagios at the same time. it happens that
the compilation of the catalog for the master during a puppet run
produces a timeout:
===
err: Could not retrieve catalog from remote server: execution expired
warning: Not using cache on failed catalog
err: Could not retrieve catalog; skipping run
===
If the whole nagios part is commented out for the master host
2012 Jul 04
4
Identifying host OS in an ENC
Hi all,
We have a mixed Linux and Windows environment and have so far just
been using Puppet on our Linux servers. Having configured the
inventory service, we''ve got an auditing script that uses the data to
report on things like OS version, RAM, etc. This is all so nice that
we''d like to extend it to auditing our Windows infrastructure.
However, at this point in time, we have
2012 May 30
12
resource override
hi All,
I''m a bit new to puppet. Is there a mailing list for puppet beginners?:)
I have a service module called postfix, which defines file in a class:
file {
''/etc/postfix/main.cf'':
owner => "root",
group => "root",
mode => 644,
content =>
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 Jan 15
1
puppet client server connection refused when I use puppet kick
I have very strange problem. I set up puppet client on serveral
servers but have problem with one of them.
When I invoke:
root@www ~ # puppet agent --server puppetmaster.domain.ltd --test
notice: Ignoring --listen on onetime run
info: Caching catalog for puppetclient.domain.ltd
info: Applying configuration version ''1326444431''
notice: Finished catalog run in
2011 Sep 21
2
Two parameterized classes calling both a thirth class (results in already defined)
Hi all,
I have three parameterized classes, named mq, mq_gsk and apache.
The mq class always calls the mq_gsk class, but the apache class
should only call the mq_gsk class when the mq class is not used in a
hosts'' node definition
Here is my configuration
class mq (
$gsk_version = undef ) {
require mq::params
< ..... >
class { ''mq_gsk'':
2011 Sep 22
8
Export variables into other classes
Hi all
I have been pondering this for a while, but not yet seen a clean way
to do it
I have a few puppet classes (apache/ntp/mysql/bacula/nagios/etc)
I would like to generate part of my bacula and nagios configs for each
host based on which other classes that host belongs to (or to put it
another way, I would like to export variables from classes which would
be used by my bacula and nagios
2013 Aug 21
1
Trouble with ENC and static.pp : enabling ENC fails to find node even with default node in site.pp
I''m having some trouble with getting an ENC to work alongside site.pp:
Even with a ''default'' node definition, and an ENC that only returns 0,
regardless of input, consistently results in a ''cannot find node'' error.
I''m wondering what I''ve missed here.
I''ve tried to reduce everything to a ''base case'': and
2011 Oct 04
10
How best to monitor puppet?
We want to use Nagios to monitor out puppet server so we can be notified
if it goes down. We are using Fusion Passenger and Apache on Red Hat.
Any suggestion for what and how to monitor?
--
Thanks,
Allan Marcus
505-667-5666
Allan@lanl.gov
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email to
2013 Jan 07
3
Error: Could not retrieve catalog from remote server: execution expired
Hi everyone,
I recently ran into an issue where my puppetmaster can''t run puppet on
itself. It errors out with the following:
Error: Could not retrieve catalog from remote server: execution expired
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
I''m running Puppet 3 with passanger and puppetdb (hsql). I''ve tried
restarting
2013 Jan 24
4
Dependency Cycle with puppetlabs-mrepo
Hi, I''m gettinng a dependency cycle when using PE 2.7, puppetlabs::mrepo,
"role classes" and hiera :
I''m trying to mirror RHN repos :
# ROLE CLASS
> class site::yum_repository{
>
> $repos = hiera(''site::yum_repository::repos'')
> create_resources(mrepo::repo::rhn, $repos)
> }
>
# HIERA DEFAULTS
>
2011 Jan 21
5
What the??? Failing dependancies and not sure why...
Observe the following code sniget:
user {
nagios :
comment => "Nagios Host Monitoring Service",
shell => "/bin/bash",
home => "/home/nagios",
ensure => present
}
file {
nagios-homedir :
path => "/home/nagios",
owner => "nagios",
2011 Dec 03
3
Puppet considered harmful?
I am considering installing a Puppet agent on a legacy server running
an old, crappy, slow, leaky, yet important Java app. Nervous about
introducing anything that might (further) destabilize the app. What
are people''s experiences with Puppet in terms of resource usage (CPU/
memory/network/etc)? For starters will likely run it on the standard
daemon schedule. Ultimately may want to control
2013 Jan 21
15
Terrible exported resources performance
Hi,
Since the below is a little long, I put my question at the top: how do I
troubleshoot awful exported resources performance in puppet and is there
anything I can tweak to get it to run under 10 minutes in larger
environments?
I have a fairly modest environment (118 nodes, but prod will be at least
twice as large). I''m trying to move my distributed nagios setup to one
based on
2013 Jan 15
3
Multiple class calls via dashboard
Hi,
I currently have puppet setup and backed into the dashboard and using ENC.
I wish to control as much of the configuration of machines via the
dashboard.
However, I have a requirement to call a module/class multiple times and was
wondering if this is possible? in a normal manifest I''d do this with the
following:
node "somenode" {
somemodule::submodule {
2012 Dec 04
4
puppetlabs-firewall scope
Hello,
I can''t figure out how I can use the module puppetlabs-firewall only
for some targeted nodes.
If I put :
resources { "firewall": purge => true }
in top scope (i.e. site.pp),
then all the firewall rules on all my nodes are purged. Even for nodes
for which I don''t apply any module containing specific firewall { ...
} resources.
If I put it in a module
2012 Jan 17
29
pass values to puppet-lvm
i would like to use the module puppet-lvm and would like to pass
values to it.
I have it setup properly as a module but I can''t for the lfe of me get
it to take any values that I put in my baseconfig.pp in my home
folder.
like shouldn''t something like this work??
puppet-lvm {''setvolume'':
vg => ''myvg'',
pv =>
2011 Sep 27
1
undefined class results in error instead of warning in 2.7.3
My ENC has always added some extra classes not defined in puppet (things
that I might end up using later based on the host name, department, or other
attributes associated with the host in my database). In 0.25.5 the undefined
class was reported at (info), in 2.6.9 it was reported as (warning), but in
2.7.3 it''s an (err) ? This now causes my catalog to stop processing. Why the
change