[Puppet Users] 2.7.2 fixing Lion issue?

2011-07-26 Thread Roy Nielsen
Hello, Apparently 6487/8375 was fixed for 2.6.9 - will it be fixed in 2.7.2? I didn't see it in the list so far.. It would be really nice to be able to use a 2.7.x released version of puppet on OS X 10.7. Thanks, -Roy -- You received this message because you are subscribed to the Google G

Re: [Puppet Users] Re: 2.7.2 fixing Lion issue?

2011-07-27 Thread Roy Nielsen
Hello Mr. Banks, Sounds good -- we'll probably end up creating mac packages, but I wanted to make sure the fix from 6487 was in the 2.7 tree before we did. It sounds like it made it to 2.7.2 rc-somethingorother. We'll likely wait for 2.7.2 to be released because we only deploy released versi

[Puppet Users] 2.7.3 and debug messages

2011-08-19 Thread Roy Nielsen
Hello, When I run: puppet agent --onetime --debug --verbose on a new 2.7.3 client (connecting to a 2.7.3 server), only about 1/10 the messages get printed out to the screen as use to with older versions of puppet -- and all those messages now seem to be in the /var/log/system.log (on the Mac

[Puppet Users] migrating to new puppet servers

2011-08-25 Thread Roy Nielsen
Hello, We need to migrate ~3000 machines to a new puppet server. What is the recommended method of doing this, considering the cert issues? Thanks, -Roy Nielsen -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this g

Re: [Puppet Users] Developing functions

2010-11-30 Thread Roy Nielsen
Hello, You also have to put the function in the right place on the server, not just in: modules/mymodule/lib/puppet/parser/functions/ Try putting it in: /var/puppet/lib/puppet/parser/functions/ as well. At least this is what was required in 0.25.1 :) Regards, -Roy On 11/30/10 6:43 AM, Ma

Re: [Puppet Users] Module Execution Order

2009-11-30 Thread Roy Nielsen
If I understand correctly - inside class b, you say: require a (ie class a) right? - is that just for 25.x? -Roy Julian Simpson wrote: >> Lets dumb it down. How can I ENSURE that EVERYTHING from module A is >> implemented before ANYTHING from module B? >> > > That's roughly like asking:

[Puppet Users] unless & onlyif for the exec

2009-12-17 Thread Roy Nielsen
Hello, Can I specify multiple onlyif's and/or unless's in an exec statement? A quick look through the recipes didn't find any... Thanks, -Roy -- 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...@go

[Puppet Users] Mac 10.5 vs 10.6 with 0.25.2

2010-01-12 Thread Roy Nielsen
Hello, I have an issue - My code works fine on a Mac OS X 10.5.8 box, but not 10.6.2: 52: if ( (($lanl_sav_version !~ /10.2/) and ($macosx_productversion =~ /10.4/)) or 53: (($lanl_sav_version != "10.2.3") and ($macosx_productversion =~ /10.5/)) or 54: (($lanl_sav_ver

Re: [Puppet Users] Mac 10.5 vs 10.6 with 0.25.2

2010-01-12 Thread Roy Nielsen
n_major == "10.5")) or 54: (($lanl_sav_version != "10.2.3") and ($macosx_productversion_major == "10.6")) ) { and it worked... Is there a problem with regex's in 0.25.1? Regards, -Roy Roy Nielsen wrote: Hello, I have an issue - My code works fine on a Mac OS X 10.

[Puppet Users] file resource question

2010-02-17 Thread Roy Nielsen
Hello, It's not mentioned in the online documentation, but will the file resource parameter "replace" work with content => template("mytemplate.erb"), I'd like to be able to say "if the file is already there, don't modify it", with the replace => false, Is that possible? (puppet 25.1

[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: //sav/Stop_launchd_job[com.Symantec.SymSecondaryLaunch]/Exec[com.Symantec.SymSecondaryLa

Re: [Puppet Users] exec failure

2010-03-03 Thread Roy Nielsen
s this what you're talking about, or are you thinking of something else? Gary On Mar 3, 2010, at 7:06 PM, Roy Nielsen wrote: 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 `

Re: [Puppet Users] plugin in modules - Environments - documentation?

2010-03-30 Thread Roy Nielsen
On 3/30/10 8:49 AM, Thomas Bellman wrote: JeFFreaK wrote: i'm stuck with the plugin in modules section. i've got 2 environments set called development and production. [...] now i wanted to have the sysctl plugin inserted in my development environment without harming anything in production. ht

Re: [Puppet Users] plugin in modules - Environments - documentation?

2010-03-30 Thread Roy Nielsen
On 3/30/10 9:33 AM, Nigel Kersten wrote: On Tue, Mar 30, 2010 at 8:21 AM, Roy Nielsen wrote: On 3/30/10 8:49 AM, Thomas Bellman wrote: JeFFreaK wrote: i'm stuck with the plugin in modules section. i've got 2 environments set called development and

[Puppet Users] $libdir question

2010-04-02 Thread Roy Nielsen
Hello, puppet version 0.25.1. We put some custom programs in $libdir on the client (nothing to do with puppet). It appears that when pluginsync is turned on, all our custom programs get erased. Is this expected behavior? Thanks, -Roy -- You received this message because you are subscribe

Re: [Puppet Users] $libdir question

2010-04-02 Thread Roy Nielsen
Thanks Pete, -Roy On 4/2/10 9:22 AM, Peter Meier wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi It appears that when pluginsync is turned on, all our custom programs get erased. Is this expected behavior? yes. You might want to choose another location. cheers pete -B

[Puppet Users] virtual resources

2010-04-13 Thread Roy Nielsen
Hello, I want to vitualize a resources - but want to realize an array of resources... somthing like: @file { $myarray : ensure => directory, ... } Can I realize the resources with: File <| title == $myarray |> ? Thanks, -Roy -- You received this message because you are subscribed t

Re: [Puppet Users] Re: virtual resources

2010-04-14 Thread Roy Nielsen
Thanks Ken, I'll give it a shot. Regards, -Roy On 4/14/10 3:51 AM, Ken wrote: @file { $myarray: ensure => directory, tag => "myfiles" ... } File<| tag == "myfiles" |> Or I think this will work also, probably close to your first requirement: @file { $myarray: ensure =>

Re: [Puppet Users] Re: virtual resources

2010-04-14 Thread Roy Nielsen
On 4/14/10 3:51 AM, Ken wrote: @file { $myarray: ensure => directory, tag => "myfiles" ... } File<| tag == "myfiles" |> Or I think this will work also, probably close to your first requirement: @file { $myarray: ensure => directory, } realize(File[$myarray]) Hello

Re: [Puppet Users] Input sought on changing default vardir on OS X.

2010-06-09 Thread Roy Nielsen
Hello Nigel, /var/db/puppet sounds good for the default location.. a little background: We have a central services team, and many field teams that directly support our customers. We've been looking into separating the $vardir based on team (central or field). We're still in the "thinking ab

Re: [Puppet Users] Installing several packages in order

2010-06-16 Thread Roy Nielsen
Hello Alan, I've got a file resource that makes sure a specific directory tree is created.. $dirs = ["/var", "/var/lanl", "/var/lanl/puppet"] @file { $dirs : ensure => directory, owner => "root", group => "wheel", mode => 755, links => follow, } I would think th

Re: [Puppet Users] module organisation

2010-06-16 Thread Roy Nielsen
Hello, You might consider having an "ono" environment, and "webserver" and "mailserver" modules... Regards, -Roy On 6/16/10 9:56 AM, Stefan Schlesinger wrote: Hello folks! Since you cannot include modules twice, or overwrite anything within a namespace, I'm looking for a way to orga

Re: [Puppet Users] module organisation

2010-06-16 Thread Roy Nielsen
Hello, I like Nigel's response better - Regards, -Roy On 6/16/10 10:02 AM, Nigel Kersten wrote: On Wed, Jun 16, 2010 at 8:56 AM, Stefan Schlesinger wrote: Hello folks! Since you cannot include modules twice, or overwrite anything within a namespace, I'm looking for a way to orga

[Puppet Users] Re: facter problem

2009-06-29 Thread Roy Nielsen
Hello, Sorry, my RUBYLIB was incorrect.. Fixed now. Regards, -Roy Roy Nielsen wrote: > Hello, > > I've created a simple fact (with > http://reductivelabs.com/trac/puppet/wiki/AddingFact ) to check the > version of an installed program, it was working friday, now I don

[Puppet Users] facter problem

2009-06-29 Thread Roy Nielsen
) with my home-made facts in it. When typing: facter prog_version All I get returned is nothing... Anyone seen this before? Thanks, -Roy Nielsen PS. I'm running facter 1.5.6 on a Mac 10.5.7 machine. --~--~-~--~~~---~--~~ You received this message becaus

[Puppet Users] Re: import Class vs require vs inherits

2009-06-30 Thread Roy Nielsen
Hello, Are you looking for "include" rather than "import" in the example below? Not : >> class class_A { >> import class_B >> package { foo } but: class class_A{ include class_B package { foo } Regards, -Roy Moty wrote: > Hi > > If I understand it correctl

[Puppet Users] puppet variables

2009-07-09 Thread Roy Nielsen
Hello, Is there a list of variables somewhere that are available to puppet? I know a few are: $environment $name $modulepath $server Thanks, -Roy Nielsen --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "P

[Puppet Users] Re: puppet variables

2009-07-09 Thread Roy Nielsen
Hello, So - it looks like the variables in /etc/puppet/puppet.conf are also available? Adding facts isn't too bad :) Regards, -Roy Bjørn Dyresen wrote: > > On Jul 9, 2009, at 9:20 PM, David Schmitt wrote: > >> >> Roy Nielsen wrote: >>> Hello, >>>

[Puppet Users] mac & Package

2009-09-10 Thread Roy Nielsen
Hello, I'm working on an upgrade manifest (for the Mac) and need to test it - however it partially worked once, and now it skips the Package part, I'm guessing because it figures the package has already been installed... Is there a receipt or something I can delete so it doesn't think the pac

[Puppet Users] Re: mac & Package

2009-09-10 Thread Roy Nielsen
Thanks Nigel, -Roy Nigel Kersten wrote: > > > On Thu, Sep 10, 2009 at 7:30 AM, Roy Nielsen <mailto:r...@lanl.gov>> wrote: > > > Hello, > > I'm working on an upgrade manifest (for the Mac) and need to test it - > however it partially

[Puppet Users] Re: execute more commands (beginner talking)

2009-10-21 Thread Roy Nielsen
Hello Reno, Try this: exec { touch-file: command => "touch /home/test", require => Exec[subscribe-echo] } - or - file { touch-file: contents => " ", path => "/home/test", require => Exec[subscribe-echo] } Regards, -Roy Reno wrote: >

[Puppet Users] Re: execute more commands (beginner talking)

2009-10-21 Thread Roy Nielsen
side the brackets is the "name" of another resource in the class. Regards, -Roy Reno wrote: > hello, > > what is the meaning of that: > > > require => Exec[subscribe-echo] > > > On Oct 21, 4:21 pm, Roy Nielsen wrote: > >> Hello Reno, >> &

[Puppet Users] Re: execute more commands (beginner talking)

2009-10-21 Thread Roy Nielsen
Use the onlyif parameter of the exec type: exec { "touch /home/ciao:" cwd => "/home", path => "/usr/bin:/usr/sbin:/bin", onlyif => "/usr/bin/apt-get -q -q update" } Note: the onlyif parameter only works this way with the "exec" type (works a bit differently for the augeas type) Th

[Puppet Users] Re: execute more commands (beginner talking)

2009-10-21 Thread Roy Nielsen
e for environment > production: Syntax error at 'cwd'; expected '}' at /etc/puppet/ > manifests/classes/source.list.pp:24 > > > On Oct 21, 5:45 pm, Roy Nielsen wrote: >> Use the onlyif parameter of the exec type: >> >> exec { "touch /home/ciao:

[Puppet Users] Re: execute more commands (beginner talking)

2009-10-21 Thread Roy Nielsen
't see too! :-) > > Btw > > onlyif => "/usr/bin/apt-get -q -q update" > > say to do that just after the apt-get command is lunched but what if > I want the contrary ... to run the command only if the apt-get fail to > run? > > > > On Oct