similar to: Requiring Yum be installed before classes use it as a provider

Displaying 20 results from an estimated 10000 matches similar to: "Requiring Yum be installed before classes use it as a provider"

2007 Sep 27
12
How does "case defined(Package["package"])" work?
I''m trying to use a "case defined" statement to configure Munin to automatically create plugin links for packages that are defined by Puppet but the behaviour seems to be unpredictable. I have a similar setup for Samba which works, but the Postfix one doesn''t and I can''t see any difference between them. Can some explain to me how "case
2007 Jun 29
5
Installing a file only if a package is available
Hi, is there a way to make sure a file is installed only if a certain package is installed on the client? e.g. I want to distribute the client key for NX via puppet. However I only want to install these files if package ''freenx'' is installed on the client. I tried adding ''require => package["freenx"]'' but then puppetd complains it
2007 May 29
1
Tunnelling Puppet over SSH
I work at a large financial institution (AXA) and we have a large number of DMZs for our partner and internet-facing servers. The only access to the various DMZs is via SSH and no DMZ-initiated connections are allowed back to the internal network. I''d consider putting a Puppet server in the DMZ but no communication is allowed between DMZs either. Has anyone tried tunnelling Puppet
2007 Apr 19
15
Puppet rpm packages for RHEL4 x86_64?
Just wondering if anyone has built (or found) Puppet rpm packages for RHEL4 x86_64 version. James ********************************************************************************* Important Note This email (including any attachments) contains information which is confidential and may be subject to legal privilege. If you are not the intended recipient you must not use, distribute or copy this
2007 Apr 13
7
"Parsed Providers must define a default target" error
I''ve just noticed that Puppet is failing to automatically apply changes when running as a Red Hat service. Changes get applied with no problems or errors when I run Puppet manually with "puppetd --test" but fail with a "Could not apply complete configuration: Parsed Providers must define a default target" error in /var/log/messages when the service runs automatically
2007 Aug 23
10
Using resource names in templates...
Hi all, I''ve been turning my head upside down to find a solution on the following problem: I have a samba fileserver and need to make puppet do: 1. Create groups 2. Create directories with group rights 3. Create an smb-shares.conf from a template that can be included in the main smb.conf. To do this I need to have a combination of sharename and group _and_ create the
2007 May 28
12
Anyone using storeconfigs with a DB other than sqlite?
Just wondering if anyone is using a backend database other than sqlite, and if so, how easy/hard it was to configure. I''m constantly receiving "SQLite3::BusyException: database is locked..." which I presume is due to sqlite''s relatively coarse locking method. Cheers, James -- Senior Linux Platform Engineer Midrange Services AXA Technology Services - Asia Pacific
2007 Jul 17
5
Recommended way to set $FACTERLIB?
Is there a recommended way to set $FACTERLIB so that Puppet will be able to access custom facts when running as a Red Hat service? If I export $FACTERLIB=/var/puppet/facts and then run Puppet manually I have no problems, but I''m not sure how I should be setting $FACTERLIB when Puppet is running automatically. Cheers, James
2007 Apr 05
4
Preferred method for setting customer facts?
I''ve checked out the page on adding custom facts for Facter and I see that there are a number of ways to do this. Is there a preferred method of setting system-wide facts? In this case, I''d like to set a "Location" fact which represents the data centre a server is in. Cheers, James *********************************************************************************
2007 Jul 11
3
Strange problem with exported ressources
Hi there, I have a strange problem with the exported ressources in the munin module I wrote. See: http://mail.madstop.com/pipermail/puppet-users/2007-June/003179.html For some reason it stopped working. On the munin::host I get the error that: err: Could not retrieve configuration: Exported resource File[munin_def_XY_4949] cannot override local resource The munin::host is also a
2007 May 26
13
munin module: manage clients and server''s config
Hello all. Probably this question has already been posed in the context of another software, but I am unable to find it. I would like to implement a module which should manage munin-clients as well as the munin-server. Here is what I am thinking about implementing: - There are two classes: munin::client and munin::server - munin::clients'' configuration will be managed automatically.
2007 Mar 30
2
Reduced usability of the new Puppet website design?
Hi all, While I can understand the desire to customise the default Trac site, the new website design appears to me to be a step back in terms of usability in two areas. Firstly, the top fixed navigation banner and bottom Trac banner take up valuable screen space no matter when you have scrolled to in the page. I also find them quite distracting from the content that I''m trying to read.
2007 Sep 26
3
"warning: Could not get config; using cached copy" error with latest puppet release
I''m receiving a "warning: Could not get config; using cached copy" when running "puppetd --test" with the latest puppet and puppet-server RPMs from dlutter''s site. Has anyone else seen this problem or can give me an idea of where to start looking for the problem? James *********************************************************************************
2007 Jan 14
7
Delayed detection of updates
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi *! Has anybody a fix/workaround for this beahaviour? My Service[munin-node] is subscribed to the timestamp of a directory containing config-snippets like this: {{{ file{"/etc/munin/plugins": checksum => mtime, } service{munin-node: subscribe => File["/etc/munin/plugins"], # ... }}} When adding new snippets to the
2009 Sep 11
1
yum repo priority
Hey folks, I'm setting up some kickstart files for our standard configs, and need to install munin-node, which of course does not come from you folks, So I set up the Dag Wieers repository but in the repo file I set it to "disabled" so that it will never get used by mistake. Then when adding munin-node I do : yum --enablerepo=dag -y install munin-node But that pulls in a bunch
2007 Apr 04
1
Anyone using Puppet to manage Red Hat Network registrations?
Before I start working on it, I''d like to check if anyone is already using Puppet to manage their servers'' RHN subscriptions. We run a local RHN Proxy server and at the moment, I''m using Kickstart to: - Install Facter and Puppet - Install our organisations trusted RHN SSL certificate - Download and install our RHN configuration file - Import GPG keys - Run rhnreg_ks to
2007 Apr 30
6
Installing puppetmasterd, puppetd as services under Red Hat, CentOS
Hi, Since I''ve installed ruby and ruby-gems from source, then installed facter and puppet as gems, I don''t get the usual startup scripts shipped with RPMs. Rebuilding the ruby RPM is painful, mostly because Red Hat (and pretty much every vendor) have this tendency to include random files and patch the living daylights out of a perfectly good source package so that converting
2007 Jun 07
1
Undefined method `register'' for REXML::Encoding:Module
Has anyone seen the below error before? It appears to only occur when Puppet runs automatically (i.e. a "puppetd --test" doesn''t cause it). I have recently installed new Ruby rpms on the server and I''m guessing that I may have left out something when I built the RPMS (based on FC7 SRPM). > -----Original Message----- > From: report@melrhweb1.nmh-au
2007 Nov 02
1
Using tags in case/if statements
Can anyone provide me with an example of using tag values in case or if/else statements in classes? In a discussion about a month ago, Luke suggested using tags is preferable to "if defined" and I''m just wondering how to do this. Cheers, James ********************************************************************************* Important Note This email (including any
2007 Oct 04
1
Master of Puppet article on Linux Magazine''s site
Just in case Luke is a bit shy about publicising his own writing, he has an article discussing Puppet on Linux Magazine''s website at http://www.linux-mag.com/id/4141/. ********************************************************************************* Important Note This email (including any attachments) contains information which is confidential and may be subject to legal privilege. If