Re: [Puppet Users] variable containing applied classes?

2010-03-04 Thread Ohad Levy
you might be able to use the tags variable, however it will include tags that you defined in your manifests. Ohad On Fri, Mar 5, 2010 at 2:44 PM, jb wrote: > I'm looking for an easy way to include the list of applied classes on > a host in something like /etc/motd. using an .erb template would

Re: [Puppet Users] variable containing applied classes?

2010-03-04 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > I'm looking for an easy way to include the list of applied classes on > a host in something like /etc/motd. using an .erb template would do > the trick if I an array exists that has all the classes in it? > Hopefully it's available? you find a list

Re: [Puppet Users] syntax

2010-03-04 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > So can someone point to working regex template example? First answer of Ohad to your question: > you might want to try regexp, e.g. > > <% if fqdn =~ /^something/ -%> irb(main):001:0> "" =~ /^aa/ => 0 irb(main):002:0> "" =~ /^ab/ => nil

[Puppet Users] variable containing applied classes?

2010-03-04 Thread jb
I'm looking for an easy way to include the list of applied classes on a host in something like /etc/motd. using an .erb template would do the trick if I an array exists that has all the classes in it? Hopefully it's available? thanks -- You received this message because you are subscribed to th

Re: [Puppet Users] Puppet 0.24.8 RPM (0.25.4 client not backwards compatible)

2010-03-04 Thread David Lutterkort
On Thu, 2010-03-04 at 11:27 -0800, Douglas Garstang wrote: > Does anyone know where I can get the puppet 0.24.8 RPM? We had been > getting it from the public EPEL Repo, but it looks like they just > decided to upgrade the version in their repository to 0.25.4. You can always fish them out of koji:

Re: [Puppet Users] syntax

2010-03-04 Thread Len Rugen
So can someone point to working regex template example? Thanks On Thu, Mar 4, 2010 at 1:37 PM, Peter Meier wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > > We're running ruby 1.8.5, which is current on the RHEL channel. Are > others > > running puppet at 1.9? > > I don't think th

Re: [Puppet Users] Re: Strange Problem with ldap Systems

2010-03-04 Thread Tony G.
Hi Rene, I don't think there is a problem if the user is not in ldap. Run the puppetd with --debug so you can see what command is being issued before that notice is posted, that might give you a clue of what's doing puppet. On Thu, Mar 4, 2010 at 1:15 AM, Rene wrote: > Hi Tony > > Here my inve

Re: [Puppet Users] Puppet 0.24.8 RPM (0.25.4 client not backwards compatible)

2010-03-04 Thread Stephen John Smoogen
On Thu, Mar 4, 2010 at 1:19 PM, James Turnbull wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 4/03/10 12:00 PM, Matthew Macdonald-Wallace wrote: >> We've learnt a lesson from this: >> >> * Don't use ensure=>latest unless you have complete control over the >> packages that will be

Re: [Puppet Users] Re: external classifier not calling class

2010-03-04 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > passenger calls puppetmasterd as user `nobody'. Once I changed the > puppet dirs to > own by `nobody' all started working. > > That means when I updated the config.ru it decided to run > puppetmasterd as user `nobody' > instead of user `puppet' . ol

Re: [Puppet Users] Puppet 0.24.8 RPM (0.25.4 client not backwards compatible)

2010-03-04 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > I don't know how the other EPEL maintainers look at this, but I think > a mitigating factor with puppet is that it is still relatively young > and that's why it changes a good bit still. After a 1.0 release (or > whatever magical milestone number it

Re: [Puppet Users] Puppet 0.24.8 RPM (0.25.4 client not backwards compatible)

2010-03-04 Thread Patrick
On Mar 4, 2010, at 2:16 PM, James Turnbull wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 4/03/10 1:35 PM, Patrick wrote: >> You can find the SSL problem at >> http://projects.reductivelabs.com/issues/3083. I can't upgrade >> until it's resolved. The problem is that half of my

Re: [Puppet Users] Re: external classifier not calling class

2010-03-04 Thread Asif Iqbal
On Thu, Mar 4, 2010 at 5:09 PM, Atha Kouroussis wrote: > > On Mar 4, 2010, at 18:51 , Asif Iqbal wrote: > >> On Thu, Mar 4, 2010 at 2:05 PM, Asif Iqbal wrote: >>> On Thu, Mar 4, 2010 at 1:26 PM, Paul Lathrop wrote: In case anyone is looking at this, Asif and I spent some time in #puppe

[Puppet Users] Re: Exception in puppetstoredconfigclean.rb

2010-03-04 Thread russellneufeld
Found this: http://pastie.org/192264 Seems to work. I'm all set. -- 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+u

Re: [Puppet Users] Puppet 0.24.8 RPM (0.25.4 client not backwards compatible)

2010-03-04 Thread James Turnbull
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 4/03/10 1:35 PM, Patrick wrote: > You can find the SSL problem at > http://projects.reductivelabs.com/issues/3083. I can't upgrade > until it's resolved. The problem is that half of my computers > are over a VPN link with NAT so the client's can't

Re: [Puppet Users] Re: external classifier not calling class

2010-03-04 Thread Atha Kouroussis
On Mar 4, 2010, at 18:51 , Asif Iqbal wrote: > On Thu, Mar 4, 2010 at 2:05 PM, Asif Iqbal wrote: >> On Thu, Mar 4, 2010 at 1:26 PM, Paul Lathrop wrote: >>> In case anyone is looking at this, Asif and I spent some time in >>> #puppet talking about this and we've eliminated: >>> >>> * formatting

Re: [Puppet Users] Re: external classifier not calling class

2010-03-04 Thread Asif Iqbal
On Thu, Mar 4, 2010 at 2:05 PM, Asif Iqbal wrote: > On Thu, Mar 4, 2010 at 1:26 PM, Paul Lathrop wrote: >> In case anyone is looking at this, Asif and I spent some time in >> #puppet talking about this and we've eliminated: >> >> * formatting of the YAML (whitespace, etc.) >> * missing "environme

Re: [Puppet Users] exec -> creates question

2010-03-04 Thread Steven VanDevender
Pete Emerson writes: > If you don't care about the contents of the file, just whether it's > there or not: > > unless => "/usr/bin/file MYFILE" > > or > > unless => "/usr/bin/stat MYFILE" > > or > > unless => "/bin/ls MYFILE" > > should all be pretty lightweight Actually, if al

Re: [Puppet Users] Puppet 0.24.8 RPM (0.25.4 client not backwards compatible)

2010-03-04 Thread Patrick
On Mar 4, 2010, at 12:11 PM, James Turnbull wrote: > On 4/03/10 11:55 AM, Douglas Garstang wrote: >> All I can is Ugh. >> >> I'm avoiding 0.25 like the plague. The last time I tried to use it, I >> simply couldn't the SSL keys to work, and from what I read, others did >> too. Were those problems

Re: [Puppet Users] Issues with reporting to foreman under puppet-server 0.25.4 (installed from Epel)

2010-03-04 Thread Matthew Macdonald-Wallace
Yup, it's definitely there and it's definitely got the right name. :( M On 4 March 2010 21:09, Andrew Dickson wrote: > are you sure foreman-report.rb is in your lib directory and named > "foreman.rb"?  This caught me, but I think you would see error > messages about not being able to find a rep

[Puppet Users] Exception in puppetstoredconfigclean.rb

2010-03-04 Thread russellneufeld
Hi all, I need to decommission two machines which are configured under puppet. I attempted to use the puppetstoredconfigclean.rb script provided in the ext dir, and got the following exception. Any suggestions? Thanks in advance, Russ r...@monitor:~# ./puppetstoredconfigclean.rb www3.exam

Re: [Puppet Users] Issues with reporting to foreman under puppet-server 0.25.4 (installed from Epel)

2010-03-04 Thread Andrew Dickson
are you sure foreman-report.rb is in your lib directory and named "foreman.rb"? This caught me, but I think you would see error messages about not being able to find a report named foreman. If you copied it into a version specific location, and then updated your puppet gem to a new version, puppe

Re: [Puppet Users] Puppet 0.24.8 RPM (0.25.4 client not backwards compatible)

2010-03-04 Thread Todd Zullinger
Matthew Macdonald-Wallace wrote: > On 4 March 2010 20:19, James Turnbull > wrote: >>> I am concerned that Epel jumped a major version that enforced so >>> many major changes, but I guess that's our fault for trusting that >>> things would stay the same! :P >>> >> >> I'll let the EPEL guys respond

Re: [Puppet Users] Puppet 0.24.8 RPM (0.25.4 client not backwards compatible)

2010-03-04 Thread Pete Emerson
I'd also recommend (based on previous shooting myself in the foot) that all of your servers talk to your own internal yum repo if possible, and not directly to EPEL. Mirror EPEL if you want, but pull in updates in some process that lets you review them before putting them into your internal repo. T

Re: [Puppet Users] exec -> creates question

2010-03-04 Thread Pete Emerson
If you don't care about the contents of the file, just whether it's there or not: unless => "/usr/bin/file MYFILE" or unless => "/usr/bin/stat MYFILE" or unless => "/bin/ls MYFILE" should all be pretty lightweight On Thu, Mar 4, 2010 at 12:06 PM, Patrick wrote: > > On Mar 4, 2010, at 7:29 A

Re: [Puppet Users] Puppet 0.24.8 RPM (0.25.4 client not backwards compatible)

2010-03-04 Thread Matthew Macdonald-Wallace
On 4 March 2010 20:19, James Turnbull wrote: >> I am concerned that Epel jumped a major version that enforced so many >> major changes, but I guess that's our fault for trusting that things >> would stay the same! :P >> > > I'll let the EPEL guys respond here but they only increment releases > aft

Re: [Puppet Users] Puppet 0.24.8 RPM (0.25.4 client not backwards compatible)

2010-03-04 Thread Trevor Hemsley
Have you checked in /var/cache/yum/epel/packages/ on the systems that you have installed with 0.24.8? You may have a copy there that you can copy out and save somewhere for later use on other systems. Douglas Garstang wrote: Does anyone know where I can get the puppet 0.24.8 RPM? We had been g

Re: [Puppet Users] Puppet 0.24.8 RPM (0.25.4 client not backwards compatible)

2010-03-04 Thread Patrick
On Mar 4, 2010, at 11:55 AM, Douglas Garstang wrote: > All I can is Ugh. > > I'm avoiding 0.25 like the plague. The last time I tried to use it, I > simply couldn't the SSL keys to work, and from what I read, others did > too. Were those problems fixed? > > Doug. The problem that most people w

Re: [Puppet Users] Puppet 0.24.8 RPM (0.25.4 client not backwards compatible)

2010-03-04 Thread James Turnbull
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 4/03/10 12:00 PM, Matthew Macdonald-Wallace wrote: > We've learnt a lesson from this: > > * Don't use ensure=>latest unless you have complete control over the > packages that will be installed. This is serious truth. If you don't control upstream

Re: [Puppet Users] Puppet 0.24.8 RPM (0.25.4 client not backwards compatible)

2010-03-04 Thread James Turnbull
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 4/03/10 11:55 AM, Douglas Garstang wrote: > All I can is Ugh. > > I'm avoiding 0.25 like the plague. The last time I tried to use it, I > simply couldn't the SSL keys to work, and from what I read, others did > too. Were those problems fixed? Ther

Re: [Puppet Users] exec -> creates question

2010-03-04 Thread Patrick
On Mar 4, 2010, at 7:29 AM, Allan Marcus wrote: > A file that this command creates. If this >parameter is provided, then the command will only be run >if the specified file does not exist:: > >exec { \"tar xf /my/tar/file.tar\": >

Re: [Puppet Users] Puppet 0.24.8 RPM (0.25.4 client not backwards compatible)

2010-03-04 Thread Matthew Macdonald-Wallace
SSL works fine, I'm just having real issues with Foreman reports at the moment. The ruby file exists, the rack server is running, foreman works fine (apart from reporting) and so does puppet but the puppet reporting into Foreman is broken and it appears to be an issues with Puppet rather than Fore

Re: [Puppet Users] Puppet 0.24.8 RPM (0.25.4 client not backwards compatible)

2010-03-04 Thread Douglas Garstang
All I can is Ugh. I'm avoiding 0.25 like the plague. The last time I tried to use it, I simply couldn't the SSL keys to work, and from what I read, others did too. Were those problems fixed? Doug. On Thu, Mar 4, 2010 at 11:36 AM, Nigel Kersten wrote: > On Thu, Mar 4, 2010 at 11:27 AM, Douglas G

Re: [Puppet Users] Is there a way to "include" nodes?

2010-03-04 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > Does anyone have any other ideas for what I am trying to accomplish? Don't stick with node inheritance. Simply avoid it and model it completely with classes. This approach works imho in general much better. Besides that it might also be possible to

[Puppet Users] Is there a way to "include" nodes?

2010-03-04 Thread John T. Guthrie
Hello all, At the place where I work, we are using node inheritance to set up variable environments that get used in templates. We have a generic environment node for each site that sets up things like DNS resolvers, and domain names, etc. We also have an application that needs its own additiona

Re: [Puppet Users] Puppet 0.24.8 RPM (0.25.4 client not backwards compatible)

2010-03-04 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 >> To whoever decided not to make the client backward compatible, good one! > > Puppet clients are *never* backwards compatible across major versions. > You always upgrade the server first. As noted here: "It is also important to note when upgrading

Re: [Puppet Users] syntax

2010-03-04 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > We're running ruby 1.8.5, which is current on the RHEL channel. Are others > running puppet at 1.9? I don't think that puppet is yet fully supported on 1.9, so I don't assume it. Hence you should go with the RegExp. cheers pete -BEGIN PGP SIGN

Re: [Puppet Users] Puppet 0.24.8 RPM (0.25.4 client not backwards compatible)

2010-03-04 Thread Nigel Kersten
On Thu, Mar 4, 2010 at 11:27 AM, Douglas Garstang wrote: > Does anyone know where I can get the puppet 0.24.8 RPM? We had been > getting it from the public EPEL Repo, but it looks like they just > decided to upgrade the version in their repository to 0.25.4. > > So... since our server is running 0

[Puppet Users] Puppet 0.24.8 RPM (0.25.4 client not backwards compatible)

2010-03-04 Thread Douglas Garstang
Does anyone know where I can get the puppet 0.24.8 RPM? We had been getting it from the public EPEL Repo, but it looks like they just decided to upgrade the version in their repository to 0.25.4. So... since our server is running 0.24.8, any other systems we install from this point on end up getti

Re: [Puppet Users] Re: external classifier not calling class

2010-03-04 Thread Asif Iqbal
On Thu, Mar 4, 2010 at 1:26 PM, Paul Lathrop wrote: > In case anyone is looking at this, Asif and I spent some time in > #puppet talking about this and we've eliminated: > > * formatting of the YAML (whitespace, etc.) > * missing "environment:" parameter in YAML (doesn't appear to be required) > >

Re: [Puppet Users] Re: external classifier not calling class

2010-03-04 Thread Paul Lathrop
In case anyone is looking at this, Asif and I spent some time in #puppet talking about this and we've eliminated: * formatting of the YAML (whitespace, etc.) * missing "environment:" parameter in YAML (doesn't appear to be required) --Paul On Thu, Mar 4, 2010 at 10:08 AM, Asif Iqbal wrote: > st

Re: [Puppet Users] puppetrun not executing or seeing changes

2010-03-04 Thread Matt
0.25.4 fixed my issue, so that's cool. It'll be great to have the --no-client option working in the puppet.conf file though, as i'm going to have to hack the init.d script to get this option in :-s On 4 March 2010 14:48, Michael DeHaan wrote: > Somewhat OT -- I'm still due (overdue) to take pup

[Puppet Users] Re: external classifier not calling class

2010-03-04 Thread Asif Iqbal
still not worky. any help would be appreciated. On Thu, Mar 4, 2010 at 1:15 AM, Asif Iqbal wrote: > Hi I am running puppet client 0.24.7 and puppet master 0.25.1 > > Here is my classifier > > (root)@sys-ubuntu:/usr/local/bin# cat external.sh > #!/bin/sh > # Super-simple external_node script for v

Re: [Puppet Users] Explicitly set $servername?

2010-03-04 Thread Tim
Hiya, On Thu, Mar 4, 2010 at 11:12 AM, Patrick wrote: > Why not just use puppet:/// ?  (three slashes)  Won't that give you what you > want? Yep, that was exactly what I was after thank you. Not quite sure how I had slipped into the other syntax in my configs. -- Tim t...@yetanother.net -

Re: [Puppet Users] syntax

2010-03-04 Thread Len Rugen
We're running ruby 1.8.5, which is current on the RHEL channel. Are others running puppet at 1.9? -- 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

[Puppet Users] Dependency cycles, please help.

2010-03-04 Thread Julien Cornuwel
Hi, I'm having trouble writing a recipe to handle apache/passenger. First, here is my apache2 class, found here : http://www.reductivelabs.com/trac/puppet/wiki/Recipes/DebianApache2Recipe - $apache2_sites = "/etc/apache2/sites" $apache2_mods = "/etc/apa

Re: [Puppet Users] syntax

2010-03-04 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 >> Well, it workes in erb test, but not when puppet runs: >> >> undefined method `start_with?' for via puppet >> >> erb -x -T '-' test.erb | ruby -c says Syntax OK > > I thought 'start_with" was a ruby 1.9 thing only? And "starts_with" is >

Re: [Puppet Users] exec -> creates question

2010-03-04 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi > We are planning on using the "creates" parameter as an "run this > unless file is there" directive. Our scenario is that we need to run > one time scripts on machines. We figure we can use a file type to > create a local script to run, then use t

Re: [Puppet Users] syntax

2010-03-04 Thread Nigel Kersten
On Thu, Mar 4, 2010 at 9:01 AM, Len Rugen wrote: > Well, it workes in erb test, but not when puppet runs: > > undefined method `start_with?' for  via puppet > > erb -x -T '-' test.erb | ruby -c  says Syntax OK I thought 'start_with" was a ruby 1.9 thing only? And "starts_with" is a Rails-

Re: [Puppet Users] syntax

2010-03-04 Thread Len Rugen
Well, it workes in erb test, but not when puppet runs: undefined method `start_with?' for via puppet erb -x -T '-' test.erb | ruby -c says Syntax OK On Thu, Mar 4, 2010 at 10:40 AM, Len Rugen wrote: > Thanks! That one works with only a warning: > warning: parenthesize argument(s)

Re: [Puppet Users] syntax

2010-03-04 Thread Joe McDonagh
Len Rugen wrote: Thanks! That one works with only a warning: warning: parenthesize argument(s) for future version but I can't figure out where it would like parens. This is the problem with web/wiki doc, you never know if it's REALLY right. I couldn't get any regex option working in a temp

Re: [Puppet Users] syntax

2010-03-04 Thread Len Rugen
Thanks! That one works with only a warning: warning: parenthesize argument(s) for future version but I can't figure out where it would like parens. This is the problem with web/wiki doc, you never know if it's REALLY right. I couldn't get any regex option working in a template either, but then,

Re: [Puppet Users] syntax

2010-03-04 Thread Dick Davies
On Thu, Mar 4, 2010 at 2:01 PM, Len Rugen wrote: > Will something like this work in a template? > > <% if fqdn.starts_with?'something' then %> Try 'start_with?' instead of 'starts_with?' -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post

Re: [Puppet Users] exec -> creates question

2010-03-04 Thread Allan Marcus
ahh, ok. We are planning on using the "creates" parameter as an "run this unless file is there" directive. Our scenario is that we need to run one time scripts on machines. We figure we can use a file type to create a local script to run, then use the exec to exec the script. At the end of the

Re: [Puppet Users] exec -> creates question

2010-03-04 Thread Peter Meier
Is there a way to set the content of this file (/var/tmp/myfile) using some additional parameter in the above syntax? the file should be created by the command itself and should represent that what the command should setup is actually setup. Puppet won't create this file, nor it will cont

[Puppet Users] exec -> creates question

2010-03-04 Thread Allan Marcus
A file that this command creates. If this parameter is provided, then the command will only be run if the specified file does not exist:: exec { \"tar xf /my/tar/file.tar\": cwd => \"/var/tmp\", cr

[Puppet Users] Re: Using tags in custom classes, and their scope

2010-03-04 Thread RyanC
I decided to do that instead yeah! Thanks! On Feb 26, 6:24 pm, Ohad Levy wrote: > while its possible to use tags, I would recommend you using variables > (either with external nodes or extlookup). > > cheers, > Ohad > > > > On Fri, Feb 26, 2010 at 7:23 PM, RyanC wrote: > > Hey, > > > Hope someo

Re: [Puppet Users] puppetrun not executing or seeing changes

2010-03-04 Thread Michael DeHaan
Somewhat OT -- I'm still due (overdue) to take puppetrun out back and shoot^W and upgrade it to better support wildcarded hosts and non-LDAP databases if not supplying the name, etc. Look for some upgrades next week. On Thu, Mar 4, 2010 at 7:31 AM, Matt wrote: > On 4 March 2010 11:47, Daniel K

Re: [Puppet Users] Puppet Web Interface

2010-03-04 Thread Michael DeHaan
On Thu, Mar 4, 2010 at 9:15 AM, Ghislain Mokolomboka wrote: > Hi all, > > I have install puppet web interface (Enterra) through this : > http://github.com/reductivelabs/puppet-dashboard > > I read some informations about foreman and > puppet-dashboard

Re: [Puppet Users] The Foreman & Mailing List Topics

2010-03-04 Thread Eric Gerlach
On Tue, Mar 02, 2010 at 03:37:39PM -0800, Paul Lathrop wrote: > Hey guys, > > I'm really glad tools like the Foreman exist and are part of the > Puppet ecosystem, but I don't use it and I'd kinda like to keep the > Puppet list about... Puppet. Sorry to be the jerk here, but doesn't > the Foreman h

Re: [Puppet Users] syntax

2010-03-04 Thread Joe McDonagh
Len Rugen wrote: Will something like this work in a template? <% if fqdn.starts_with?'something' then %> My test isn't working, I don't know if it's some minor syntax issue or if I'm completely out of bounds. -- You received this message because you are subscribed to the Google Groups "Pup

Re: [Puppet Users] syntax

2010-03-04 Thread Ohad Levy
you might want to try regexp, e.g. <% if fqdn =~ /^something/ -%> I would say that its usually not a good idea to have if conditions in your manifest or templates based on hostnames.. Ohad On Thu, Mar 4, 2010 at 10:01 PM, Len Rugen wrote: > Will something like this work in a template? > > <%

[Puppet Users] Puppet Web Interface

2010-03-04 Thread Ghislain Mokolomboka
Hi all, I have install puppet web interface (Enterra) through this : http://github.com/reductivelabs/puppet-dashboard I read some informations about foreman and puppet-dashboard, I'm wondered, if foreman and Puppet Dashboard cannot be merged in fe

[Puppet Users] Issues with reporting to foreman under puppet-server 0.25.4 (installed from Epel)

2010-03-04 Thread Matthew Macdonald-Wallace
Hi all, After troubleshooting my foreman installation on the Foreman mailing list (thanks Ohad!) I've come to the conclusion that the reason why reports aren't being generated is that since I upgraded puppet master from 0.24.x to 0.25.4, the "foreman" report is not running correctly (if at all!).

[Puppet Users] syntax

2010-03-04 Thread Len Rugen
Will something like this work in a template? <% if fqdn.starts_with?'something' then %> My test isn't working, I don't know if it's some minor syntax issue or if I'm completely out of bounds. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To

Re: [Puppet Users] puppetrun not executing or seeing changes

2010-03-04 Thread Matt
On 4 March 2010 11:47, Daniel Kerwin wrote: > I've been using puppetrun for a while now and it works very good. Can > you post the log messages on puppetmaster and client? > > I started to use it in 0.25.1 and never had problems. > > On Thu, Mar 4, 2010 at 11:53 AM, Matt wrote: > > More puppet r

Re: [Puppet Users] puppetrun not executing or seeing changes

2010-03-04 Thread Daniel Kerwin
I've been using puppetrun for a while now and it works very good. Can you post the log messages on puppetmaster and client? I started to use it in 0.25.1 and never had problems. On Thu, Mar 4, 2010 at 11:53 AM, Matt wrote: > More puppet run woes, is anyone using this feature successfully? > I've

Re: [Puppet Users] Explicitly set $servername?

2010-03-04 Thread Patrick
On Mar 4, 2010, at 3:07 AM, Tim wrote: > I'm an idiot.. > > I had actually hard coded $servername into the source statement > > source => "puppet://$servername/users/authkeys/$name". > > Once I had swapped that out for the other interface name, everything > else started to work fine! > Why

Re: [Puppet Users] Explicitly set $servername?

2010-03-04 Thread Tim
I'm an idiot.. I had actually hard coded $servername into the source statement source => "puppet://$servername/users/authkeys/$name". Once I had swapped that out for the other interface name, everything else started to work fine! On Wed, Mar 3, 2010 at 11:03 PM, Tim wrote: > Hiya, > > Thank

[Puppet Users] puppetrun not executing or seeing changes

2010-03-04 Thread Matt
More puppet run woes, is anyone using this feature successfully? I've got it working so the master can trigger the runs, but the client doesn't see any changes to do when the run is triggered. On the client # puppetd --test --noop Shows the changes that are going to happen On the master # puppet

Re: [Puppet Users] LDAP nodes no longer work after upgrading to 0.25.x

2010-03-04 Thread Arnaud Gomes-do-Vale
Arnaud Gomes-do-Vale writes: > Since upgrading my LDAP nodes no longer work. The puppetmaster doesn't > even connect to the LDAP server, the clients just get the default node > configuration. Fixed, there was a typo in my config file ([puppermasterd] instead of [puppetmasterd]). AFAIU puppet 0.2