[Puppet Users] Re: only one puppet client fails with yum

2011-03-17 Thread jcbollinger
On Mar 16, 10:47 am, Tim Dunphy wrote: > to clarify the classes between the working and non-working machine > seem identical > > ## problem node > > [root@ec2-184-72-200-83 ~]# cat /var/lib/puppet/classes.txt > basenode > centos > basefiles > baseapps > sshd > webserver > apache > ec2-184-72-200

[Puppet Users] Re: How to be nondestructive?

2011-03-17 Thread jcbollinger
On Mar 16, 5:32 am, Maxim Ivanov wrote: > If we have resource dependency > A[x] ->  B[y] -> C[z] > > how to prevent A[x] to be "executed" if error appear during execution > of "C[z]" ? You appear to have the syntax backwards. A[x] -> B[y] says that A[x] must be applied *before* B[y]. (The "->

Re: [Puppet Users] Spread and sync folder from puppet server to puppet clients

2011-03-17 Thread Felix Frank
On 03/16/2011 09:54 AM, Max Kamensky wrote: > > Hello All > > I'm noob for puppet so don't get me wrong with this question. > > For the beginning I'd like to realize the such process. > > Puppet server (some_files_to_spread) --> Puppet Client > (some_files_to_spread) > > some_files_to_spread =

Re: [Puppet Users] Problem defining exported resources

2011-03-17 Thread Felix Frank
On 03/16/2011 11:42 AM, Greg Sutcliffe wrote: > Hi all, > > I'm learning all about exported resources, and I've encountered an > issue. Put simply, two things which logically should be same result in > one working and one not working. I'm sure I'm missing something > obvious, but I can't see it, s

[Puppet Users] Can pPuppet add text to file dependent on class the node is in.

2011-03-17 Thread Espen S
Hi I've just started working on puppet and there's one problem i'm looking for a solution for. We use snmp to monitor our servers and snmpd.conf is dependent of what kind of services and and mountpoints each server has. So here's what I want. We have a snmpd.conf file which is similar on all serv

Re: [Puppet Users] State of the pkgutil provider?

2011-03-17 Thread Mark Phillips
On 17 Mar 2011, at 05:42, James Turnbull wrote: > Dominic Cleal wrote: >> Nobody has been looking at it, it would be great if you and Mark want to >> and I'd be happy to help. I haven't even seen any examples of pkgutil >> catalogs with multiple versions, so it'd be good to check it copes >> prop

[Puppet Users] Re: Can pPuppet add text to file dependent on class the node is in.

2011-03-17 Thread Luke Bigum
Hi Espen, Look at R.I.P's Concat module: https://github.com/ripienaar/puppet-concat It is perfect for what you want to do - I've used it before for this exact purpose. You just have snmpd.conf file fragments for every bit of monitoring you want (Apache, MySQL performance, root disk, var disk, hom

[Puppet Users] RFC: Refactoring the mount provider.

2011-03-17 Thread Nigel Kersten
http://projects.puppetlabs.com/issues/6309#note-11 I'm just going to paste Paul's excellent note here inline, as we really want feedback on this. TL;DR The mount provider has used a mish-mash of checking fstab and actual mount state to determine state. A possible solution we're looking at is spli

[Puppet Users] factor value 'value-x' for 'somefact' not in required list 'value-w,value-x,value-y,value-z'

2011-03-17 Thread draeath
Greetings all, (puppet 0.25.x) I'm trying to use puppetd on some SuSE clients. I had to find and put the zypper provider into the system, as it was absent. I'll show the contents of this file below. The issue that I'm running into is this: err: //syslog/Package[syslogd]: Failed to retrieve curre

[Puppet Users] Re: factor value 'value-x' for 'somefact' not in required list 'value-w,value-x,value-y,value-z'

2011-03-17 Thread draeath
On Mar 17, 2:20 pm, draeath wrote: > Greetings all, > > (puppet 0.25.x) > > I'm trying to use puppetd on some SuSE clients. I had to find and put > the zypper provider into the system, as it was absent. I'll show the > contents of this file below. > > The issue that I'm running into is this: > err:

Re: [Puppet Users] apache service start problem

2011-03-17 Thread Denmat
Hi, Looks like you're over engineering a bit here. You are creating directories that I think will be created by the package manager. You can obviously sets perms on those directories but I would drop unnecessary creates. Also you don't have any order in the structure. You need to include 'notif

Re: [Puppet Users] Re: factor value 'value-x' for 'somefact' not in required list 'value-w,value-x,value-y,value-z'

2011-03-17 Thread Nigel Kersten
On Thu, Mar 17, 2011 at 12:14 PM, draeath wrote: > On Mar 17, 2:20 pm, draeath wrote: >> Greetings all, >> >> (puppet 0.25.x) >> >> I'm trying to use puppetd on some SuSE clients. I had to find and put >> the zypper provider into the system, as it was absent. I'll show the >> contents of this file

Re: [Puppet Users] parsing (and returning) json data in puppet in custom function

2011-03-17 Thread Nigel Kersten
On Wed, Mar 16, 2011 at 8:48 PM, Daniel Pittman wrote: > On Wed, Mar 16, 2011 at 18:43, Rich Rauenzahn wrote: > >> I see there is a bug open about this, >> http://projects.puppetlabs.com/issues/6621 >> but I can't login to puppetlabs. > > If you didn't already have an account you can just registe

[Puppet Users] parameterized classes and variable inheritance

2011-03-17 Thread Ashley Gould
I am exploring usage of parameterized classes. I hit a wall when trying to override values of parameters in a node definition that inherits the class from a parent node. Is there a way to do this, or must I include the class only in the child node? I'm hoping to avoid using subclasses, because

[Puppet Users] Re: factor value 'value-x' for 'somefact' not in required list 'value-w,value-x,value-y,value-z'

2011-03-17 Thread draeath
On Thu, Mar 17, 2011 at 6:10 PM, Nigel Kersten wrote: > On Thu, Mar 17, 2011 at 12:14 PM, draeath wrote: >> On Mar 17, 2:20 pm, draeath wrote: >>> Greetings all, >>> >>> (puppet 0.25.x) >>> >>> I'm trying to use puppetd on some SuSE clients. I had to find and put >>> the zypper provider into the

[Puppet Users] ANNOUNCE: Facter 1.5.9rc2

2011-03-17 Thread Jacob Helwig
Facter 1.5.9rc2 is a maintenance release containing fixes and updates. Unfortunately, due to some internal mis-communication there were a few fixes left out of rc1 that should have been included. This release candidate includes those missing items, along with a fix for bug #6716 which was discove

Re: [Puppet Users] ANNOUNCE: Facter 1.5.9rc2

2011-03-17 Thread TJ Yang
On Thu, Mar 17, 2011 at 7:21 PM, Jacob Helwig wrote: > Facter 1.5.9rc2 is a maintenance release containing fixes and updates. > > Unfortunately, due to some internal mis-communication there were a few > fixes left out of rc1 that should have been included.  This release > candidate includes those

Re: [Puppet Users] ANNOUNCE: Facter 1.5.9rc2

2011-03-17 Thread Jacob Helwig
On Thu, 17 Mar 2011 19:26:57 -0500, TJ Yang wrote: > > On Thu, Mar 17, 2011 at 7:21 PM, Jacob Helwig wrote: > > Facter 1.5.9rc2 is a maintenance release containing fixes and updates. > > > > Unfortunately, due to some internal mis-communication there were a few > > fixes left out of rc1 that shou

[Puppet Users] Re: ANNOUNCE: Facter 1.5.9rc2

2011-03-17 Thread Todd Zullinger
Jacob Helwig wrote: > Facter 1.5.9rc2 is a maintenance release containing fixes and updates. For those using Fedora or RHEL/CentOS, I've updated the yum repos at: http://tmz.fedorapeople.org/repo/puppet/ Packages for EL 4 - 6 and Fedora 13 - 15 are available for testing. Add the puppet.repo

Re: [Puppet Users] Re: ANNOUNCE: Puppet 2.6.6 available!

2011-03-17 Thread Todd Zullinger
Hi T.J., T.J. Yang wrote: > I looked at puppet 2.6.6-0.5 puppet client and server packages. > Two questions so far about the client(R1) /server(R2) packaging. > > 1. why puppetca reside in client rpm but not in server rpm ? While I don't speak for Jeff or the Puppet Labs folks, the packages there

Re: [Puppet Users] State of the pkgutil provider?

2011-03-17 Thread Daniel Pittman
On Thu, Mar 17, 2011 at 09:07, Mark Phillips wrote: > On 17 Mar 2011, at 05:42, James Turnbull wrote: >> Dominic Cleal wrote: >>> Nobody has been looking at it, it would be great if you and Mark want to >>> and I'd be happy to help.  I haven't even seen any examples of pkgutil >>> catalogs with mu

[Puppet Users] Inventory service and dashboard 1.1.0 rc1

2011-03-17 Thread Luke Baker
I just set up the latest dashboard release candidate in hopes of trying out the new inventory service. After modifying the puppet- dashboard config to use the inventory service and after changing my auth.conf I gave it a whirl but ran into some issues.. I initially tried using fact_terminus = yaml

Re: [Puppet Users] State of the pkgutil provider?

2011-03-17 Thread James Turnbull
Mark Phillips wrote: > On 17 Mar 2011, at 05:42, James Turnbull wrote: > >> Dominic Cleal wrote: >>> Nobody has been looking at it, it would be great if you and Mark want to >>> and I'd be happy to help. I haven't even seen any examples of pkgutil >>> catalogs with multiple versions, so it'd be g