Hi,

I am new to Puppet.

After having read quite a bit through the online puppet docs, as well
as wiki posts and James' "Pulling Strings with Puppet" I installed a
puppet master on an RHEL 5 box and one puppetd on an HP-UX box (which
was a bit of a challenge owe to the notorious Ruby agnosticism of that
platform) and one on another RHEL 5 box.
I verified that the basic functionality was given, after signing of
the nodes' SSL certificates,  through a few tests with most trivial,
e.g. file resource, definitions in the master's site.pp.

Then I wanted to create something more useful and tinkered up a first
class definition to aid me in deploying nagios/nrpe clients on the
Redhattish (i.e. RPM based) nodes.

Here I stumbled over a few issues of which one is,

if there exists a posibility to pass (additional) options to the rpm
command on the affected puppet nodes
which I guess will be executed (by some system call or forked pipe?)
on behalf of puppet's RPM provider for redhattish systems?
In the resources' online doc for "package" however, I couldn't find
any attribute that sounded fitting for this purpose.
In particular, I want to pass a "--nodeps" option to the rpm command
because the prebuilt rpm binaries that I intend to have installed
through Puppet exhibit partly pretty odd dependencies.

E.g.

# rpm -qR nagios-plugins-nrpe|grep nagios
nagios
nagios-plugins

or

# rpm -qR nagios-plugins|grep -i snmp
perl(Net::SNMP)


As for the first, I do not wish to have the Nagios server (which is
packaged in "nagios") installed on every nrpe node,
and for the Nagios Plug-ins, nor do I want to have the perl-Net-SNMP
rpm installed
(which itself most likely will depend on a net-snmp rpm) on every nrpe
node either
because I do not employ any SNMP-based Nagios plug-ins.

Since Puppet is open source of course there will be some way, at a
pinch presumably by overriding the rpm provider.
But for now I am looking for a less hackish approach as I am new to
either Ruby and Puppet.


Regards




-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to