[Puppet Users] Re: You should be using schedules :)

2009-06-01 Thread Geoff Crompton
Mark Plaksin wrote: > Maybe we're the last to the party but wow do schedules make a huge > difference! Especially with file serving. We added schedules to a few > file-heavy modules and cut the load and hits/day on our file serving > puppetmaster by 2/3. Instead of doing everything once an hour

[Puppet Users] Re: You should be using schedules :)

2009-06-01 Thread James Turnbull
Geoff Crompton wrote: > Mark Plaksin wrote: >> Maybe we're the last to the party but wow do schedules make a huge >> difference! Especially with file serving. We added schedules to a few >> file-heavy modules and cut the load and hits/day on our file serving >> puppetmaster by 2/3. Instead of do

[Puppet Users] Re: No more than one "instances" of a type in define()?

2009-06-01 Thread David Schmitt
Paul schrieb: > Hi folks, > > when I try to do something like: > > define railsproject($name, $uid, $gid, $userpass, $sqlpass) { > mysql_database { "$name_staging": ensure => present } > mysql_database { "$name_production": ensure => present} > > more stuff... > } > > I get: >

[Puppet Users] Re: No more than one "instances" of a type in define()?

2009-06-01 Thread Paul
On 1 Jun., 12:27, David Schmitt wrote: > Paul schrieb: > > > > > Hi folks, > > > when I try to do something like: > > > define railsproject($name, $uid, $gid, $userpass, $sqlpass) { > >     mysql_database { "$name_staging": ensure => present } > >     mysql_database { "$name_production": ensure

[Puppet Users] Re: No more than one "instances" of a type in define()?

2009-06-01 Thread David Schmitt
Paul schrieb: >> > define railsproject($name, $uid, $gid, $userpass, $sqlpass) { >> > mysql_database { "${name}_staging": ensure => present } >> > mysql_database { "${name}_production": ensure => present} >> > >> > more stuff... >> > } >> > Thanks all, it works. Is this docum

[Puppet Users] Re: No more than one "instances" of a type in define()?

2009-06-01 Thread Paul
On 1 Jun., 13:18, David Schmitt wrote: > Paul schrieb: > > >>  > define railsproject($name, $uid, $gid, $userpass, $sqlpass) { > >>  >     mysql_database { "${name}_staging": ensure => present } > >>  >     mysql_database { "${name}_production": ensure => present} > > >>  >     more stuff..

[Puppet Users] Re: No more than one "instances" of a type in define()?

2009-06-01 Thread Peter Meier
Hi >> Thanks all, it works. Is this documented or have you figured this out >> by trial and error? I'm not trying to blame the docs, it's just that I >> couldn't find anything about the ${} rule. > > See http://reductivelabs.com/trac/puppet/wiki/LanguageTutorial#quoting as well the error messag

[Puppet Users] Restricted puppet?

2009-06-01 Thread Jon Stanley
I know that this sounds crazy and likely is :), but I was wondering if for application configuration management, there's a way to run puppet as a non-root user. I know that lots of the types won't be available when not running as root, but I think that the main purpose here is deploying applicati

[Puppet Users] Re: Restricted puppet?

2009-06-01 Thread Sam Rowe
On Mon, Jun 1, 2009 at 12:44 PM, Jon Stanley wrote: > > I know that this sounds crazy and likely is :), but I was wondering if > for application configuration management, there's a way to run puppet > as a non-root user.  I know that lots of the types won't be available > when not running as root

[Puppet Users] Re: Restricted puppet?

2009-06-01 Thread Russell Adams
I run puppet via cron as my local user, for basic stuff. One of my favorites is an auto-cleaning temporary directory. I throw cruft in here, and I won't miss it after two weeks, and no more manual cleanup. For example, my ~/.puppet.pp: tidy { "/home/rladams/tmp": age => "2w" , backup => fals

[Puppet Users] Re: No more than one "instances" of a type in define()?

2009-06-01 Thread David Schmitt
Paul wrote: >> See http://reductivelabs.com/trac/puppet/wiki/LanguageTutorial#quoting > Indeed, shame on me ;) But if you take that literally brackets > shouldn't be needed. Except that the underscore is a valid part of a variable name and puppet does longest match on variable names, thus recog

[Puppet Users] trying to track down puppet consultant I met at Los Angeles G11k Dinner. formerly at ticketmaster

2009-06-01 Thread thomas hartman
I'm trying to track down this puppet consultant I met at the Los Angeles G11k Dinner, i think it was the february one. Lost his card and can't remember his name, damn. He is kind of asian looking (?), plays the violin, formerly did IT at ticketmaster, now lives in l.a. and telecommutes for some

[Puppet Users] Vote for your favorite ticket

2009-06-01 Thread Luke Kanies
Hi all, James Turnbull has enabled a new plugin in Redmine that allows you to vote for tickets. You have to have a login, and you can vote a ticket up or down. We plan to use this voting to decide which tickets are most important to you, the people who actually use Puppet every day. I ex

[Puppet Users] Solaris Zones creation problem.

2009-06-01 Thread Bryan Allen
I am probably doing something weird/stupid here, but: http://pastie.org/private/dvqohxaynduishegpjibpg The error I'm getting is: Jun 1 19:05:21 control puppetmasterd[18028]: [ID 702911 daemon.error] Puppet::Parser::AST::Resource failed with error ArgumentError: Duplicate definition: Zfs[zone

[Puppet Users] Re: Solaris Zones creation problem.

2009-06-01 Thread David Schmitt
Hi! Bryan Allen schrieb: > I am probably doing something weird/stupid here, but: > > http://pastie.org/private/dvqohxaynduishegpjibpg > > The error I'm getting is: > > Jun 1 19:05:21 control puppetmasterd[18028]: [ID 702911 daemon.error] > Puppet::Parser::AST::Resource failed with error Arg