Re: [Puppet Users] London meetup during Training days

2010-03-03 Thread Paul Nasrat
On 3 March 2010 10:37, Al @ Lab42 lab42...@gmail.com wrote: Hei all, In London, UK from March 29 to April 2 there are 2 Puppet training classes: http://reductivelabs.com/training/london-puppet-training/?x_lf_kt=2_x_lf_kvid=7b51e3db-8ab0-4594-bcd8-3f84596a3748 I'm personally seriously

Re: [Puppet Users] Re: Issue with '|'

2010-03-03 Thread Michael Gliwinski
On Friday 26 Feb 2010 16:03:41 Andrew Hamilton wrote: I can't thank you enough. This worked perfectly for me. I don't know how it is functionally different than what I had before, but nevertheless this is exactly what I needed. Thanks again. Drew Heh, yeah, that's the thing, it isn't

[Puppet Users] File paths must be fully qualified

2010-03-03 Thread Haris Farooque
I was using Puppet 0.24.8 and now upgrade the puppet server and client both to 0.25.4 (on 1 machine i.e. server and client), but i am facing some problems. While testing, some of the configs which were/are running fine on older version generates error here; for instance, i have defined the

Re: [Puppet Users] File paths must be fully qualified

2010-03-03 Thread Thomas Bellman
Haris Farooque wrote: *err: Could not run Puppet configuration client: Parameter path failed: File paths must be fully qualified, not 'puppet:/myFileSrc**/filename' at /etc/puppet/manifests/myfile:158 The correct format is puppet:///myFileSrc/filename. Or more general,

Re: [Puppet Users] File paths must be fully qualified

2010-03-03 Thread Peter Meier
*err: Could not run Puppet configuration client: Parameter path failed: File paths must be fully qualified, not 'puppet:/myFileSrc**/filename' at /etc/puppet/manifests/myfile:158 *whats wrong here? * can you show us your manifest in question? cheers epte -- You received this message

[Puppet Users] Using ssh::auth for root

2010-03-03 Thread christian
Hey there, I'm playing around with the ssh::auth module and right now I want to create the authorized_keys file for root. But it doesn't seem to work as I always get this error: puppetd[2579]: Could not apply complete catalog: Puppet::Util::FileType::FileTypeFlat could not write /home/root/.ssh/

Re: [Puppet Users] Re: Issue with '|'

2010-03-03 Thread Andrew Hamilton
I actually think I figured it out what the difference was. In the set up you sent me, you have the path defined. In my setup I didn't and was using grep without the fully qualified path. Other than that, it escapes me for what it could have been. I've been happily rolling along since though.

[Puppet Users] Problems using regex

2010-03-03 Thread James Cammarata
I'm trying to use regex to install the appropriate kernel-devel packaged, based on what kernel the system has installed, running puppet-0.25.3-2 (EPEL version for RHEL4). Here is what I'm doing: package { kernel-development: ensure = present, name = $kernelrelease ? {

Re: [Puppet Users] Problems using regex

2010-03-03 Thread Brice Figureau
Hi, On Wed, 2010-03-03 at 10:50 -0600, James Cammarata wrote: I'm trying to use regex to install the appropriate kernel-devel packaged, based on what kernel the system has installed, running puppet-0.25.3-2 (EPEL version for RHEL4). Here is what I'm doing: package {

Re: [Puppet Users] Problems using regex

2010-03-03 Thread James Cammarata
On Wed, 03 Mar 2010 18:01:33 +0100, Brice Figureau brice-pup...@daysofwonder.com wrote: You're seeing bug #3229: http://projects.reductivelabs.com/issues/3229 The workaround until we fix the issue is to write your regex in lower case: package { kernel-development: ensure = present,

Re: [Puppet Users] London meetup during Training days

2010-03-03 Thread Dan Bode
On Wed, Mar 3, 2010 at 2:37 AM, Al @ Lab42 lab42...@gmail.com wrote: Hei all, In London, UK from March 29 to April 2 there are 2 Puppet training classes: http://reductivelabs.com/training/london-puppet-training/?x_lf_kt=2_x_lf_kvid=7b51e3db-8ab0-4594-bcd8-3f84596a3748 I'm personally

Re: [Puppet Users] London meetup during Training days

2010-03-03 Thread Paul Nasrat
On 3 March 2010 17:11, Dan Bode d...@reductivelabs.com wrote: On Wed, Mar 3, 2010 at 2:37 AM, Al @ Lab42 lab42...@gmail.com wrote: Hei all, In London, UK from March 29 to April 2 there are 2 Puppet training classes:

[Puppet Users] Explicitly set $servername?

2010-03-03 Thread Tim
Hiya, Having a bit of a problem with a new puppet installation that I believe is DNS related and I was hoping someone could assist with. My puppetmaster server has two interfaces.. One sits on a management network while one points to the outside world. Both interfaces have a FQDN

[Puppet Users] Re: London meetup during Training days

2010-03-03 Thread Al @ Lab42
I'm in. Great! Wednesday is good for me. Fine, Wednesday it is. Guess that's the end of the one course and pre developer course. I'll have to go scouting. ISTR us doing The Green Man, Riding House St which is a Cider pub before. Else can find some decent real ale pubs in the area

Re: [Puppet Users] London meetup during Training days

2010-03-03 Thread Julian Simpson
The Green Man was our local until I left $DAYJOB last Friday. Should be fine on a Wednesday unless we have a huge group. On 3 March 2010 17:21, Paul Nasrat pnas...@googlemail.com wrote: On 3 March 2010 17:11, Dan Bode d...@reductivelabs.com wrote: On Wed, Mar 3, 2010 at 2:37 AM, Al @

Re: [Puppet Users] Explicitly set $servername?

2010-03-03 Thread Joe McDonagh
Tim wrote: Hiya, Having a bit of a problem with a new puppet installation that I believe is DNS related and I was hoping someone could assist with. My puppetmaster server has two interfaces.. One sits on a management network while one points to the outside world. Both interfaces have a FQDN

Re: [Puppet Users] Problems using regex

2010-03-03 Thread Eric Sorenson
This might just be a style nitpick, but why anchor the start and then .* match? Just start your regexp where you want the match to start. You have a nice anchor at the end so the regexp will optimize backwards from there. Compare readability: On Mar 3, 2010, at 9:09 AM, James Cammarata wrote:

Re: [Puppet Users] Problems using regex

2010-03-03 Thread James Cammarata
On Wed, 3 Mar 2010 12:46:05 -0800, Eric Sorenson ahp...@gmail.com wrote: This might just be a style nitpick, but why anchor the start and then .* match? Just start your regexp where you want the match to start. You have a nice anchor at the end so the regexp will optimize backwards from

Re: [Puppet Users] Explicitly set $servername?

2010-03-03 Thread Tim
Hiya, Thanks for the suggestion! I'd had problems with certificates that I managed to solve earlier by using the 'certname' param. However, it doesn't seem to help with this problem unfortunately. $servername still gets set to the FQDN of the other interface. On Wed, Mar 3, 2010 at 8:04 PM,

[Puppet Users] exec failure

2010-03-03 Thread Roy Nielsen
Hello, I'm using puppet 0.25.1 - and I'm trying to create a custom resource to use launchctl to stop a launchd job. command = launchctl stop `launchctl list | grep $job_real | cut -f 3`, yeilds: err:

Re: [Puppet Users] exec failure

2010-03-03 Thread Gary Larizza Jr.
Roy, I don't believe you need to customize an exec for this - you can simply define a service with the JobID of your Launchd plist, and then send the plist to the /Library/LaunchDaemons directory. See the docs site for the launchd type reference --

Re: [Puppet Users] exec failure

2010-03-03 Thread Roy Nielsen
Thanks Gary, I tried that - but the ensure = stopped doesn't work for the launchd provider of the service type. see: refacor #2056 under Statler on: http://projects.reductivelabs.com/projects/puppet/roadmap I need some way to stop a launchd process until the refactor happens :) Regards,

[Puppet Users] list of applied classes on client

2010-03-03 Thread jb
I'm sure it's somewhere but I can't find it... I want to put the list of applied classes for a host in /etc/ motd...I'm hoping there's an array that has this? Some way to get the information in an .erb thanks! -- You received this message because you are subscribed to the Google Groups

[Puppet Users] external classifier not calling class

2010-03-03 Thread Asif Iqbal
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 versions 0.23 and later cat END --- classes: - stb - securid::server parameters: puppet_server:

[Puppet Users] Re: Strange Problem with ldap Systems

2010-03-03 Thread Rene
Hi Tony Here my investigations for another user: For our storage user the following happens with puppet: notice: //Node[default]/netbackup/netbackup::general/users::storage/ User[storage]/groups: groups changed 'log,log' to 'log' The user storage is not in ldap, but the group log. On ldap I