[Puppet Users] Experiment: Data/Model separation design proposal

2011-01-14 Thread Nigel Kersten
This is very much an experiment, not the publishing of this design, but the way we're seeking feedback. I'm going to experiment with creating a Google Doc, and allowing *anyone in the world* to edit it without signing into Google Apps. Lets see whether we get more or different feedback publishing

[Puppet Users] Fwd: [Puppet-dev] Experiment: Data/Model separation design proposal

2011-01-15 Thread Nigel Kersten
s rare. I really do think this is one of the major problems we need to solve to move to the next level as far as turning modules into objects that people other than the author can readily consume. -- Forwarded message ------ From: Nigel Kersten Date: Sat, Jan 15, 2011 at 5:26 PM Subj

[Puppet Users] Schedules. Who uses them and why?

2011-01-17 Thread Nigel Kersten
I'm trying to get a feel for the actual use cases for the Schedule type in Puppet. Anyone care to help me out with some real world examples? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googl

Re: [Puppet Users] Schedules. Who uses them and why?

2011-01-18 Thread Nigel Kersten
On Tue, Jan 18, 2011 at 8:50 AM, Brice Figureau < brice-pup...@daysofwonder.com> wrote: > On Mon, 2011-01-17 at 18:38 -0800, Nigel Kersten wrote: > > I'm trying to get a feel for the actual use cases for the Schedule > > type in Puppet. > > Can you elaborate? >

Re: [Puppet Users] Re: Behavior of local modules and their included facts

2011-01-18 Thread Nigel Kersten
On Tue, Jan 18, 2011 at 3:50 PM, windowsrefund wrote: > >> >> Looks like the mv lib plugins fix did not result in the fact loading. >> It seems to only be possible if I point FACTERLIB at the exact path. > > Sorry for the false positive. All is good with using plugins rather > than lib on 0.25.4

[Puppet Users] Do we need a new name for "--test"?

2011-01-23 Thread Nigel Kersten
https://projects.puppetlabs.com/issues/2476 This does seem to confuse a fair few new users. What would be a better name for "--test"? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroup

[Puppet Users] PSA: Please use tags when reporting bugs.

2011-01-23 Thread Nigel Kersten
It's particularly difficult to understand what's going on with a given bug report when the log/manifest/terminal output is all being mis-interpreted as Markdown text. We'll definitely try and make this more obvious somewhere, but it really does help immensely if you use the and HTML tags in your

Re: [Puppet Users] Do we need a new name for "--test"?

2011-01-23 Thread Nigel Kersten
On Sun, Jan 23, 2011 at 1:50 PM, Adam Nielsen wrote: >> https://projects.puppetlabs.com/issues/2476 >> >> This does seem to confuse a fair few new users. >> >> What would be a better name for "--test"? > > Using Gentoo's emerge as an example, how about --oneshot? It's more than that though. --on

Re: [Puppet Users] Re: problems with dependencies

2011-01-23 Thread Nigel Kersten
On Sun, Jan 23, 2011 at 1:17 PM, russell.fulton wrote: > Thanks John... using before worked. > > I'm new to puppet and I found the independent resource chaining stuff > before I found 'before' which I note is not mentioned anywhere in the > docs for exec. > > is this a doc bug or is it a generic o

Re: [Puppet Users] Re: Behavior of local modules and their included facts

2011-01-23 Thread Nigel Kersten
On Fri, Jan 21, 2011 at 9:40 AM, Nick Fagerlund wrote: > On Jan 18, 4:06 pm, Nigel Kersten wrote: >> That's definitely a bug. We moved to supporting lib/ in 0.25.x, we >> just must have missed making this work on the client side. > > Specifically, it

Re: [Puppet Users] Do we need a new name for "--test"?

2011-01-23 Thread Nigel Kersten
On Sun, Jan 23, 2011 at 3:38 PM, Dan Bode wrote: > On Sun, Jan 23, 2011 at 3:35 PM, Daniel Pittman > wrote: >> >> My inclination is to say that "ontime" or "verbose" have stolen the name >> for another concept; perhaps "interactive" covers the standard use-case well >> enough? >> >> Daniel >> >>

Re: [Puppet Users] Do we need a new name for "--test"?

2011-01-23 Thread Nigel Kersten
On Sun, Jan 23, 2011 at 4:53 PM, James Louis wrote: > exactly. to what purpose? To trigger an immediate run on a client with the common options used when testing a real run, not a noop run. If there was a clear word that described this functionality, we probably wouldn't be having this discussio

Re: [Puppet Users] Do we need a new name for "--test"?

2011-01-23 Thread Nigel Kersten
23, 2011 at 7:22 PM, Nigel Kersten wrote: >> >> On Sun, Jan 23, 2011 at 4:53 PM, James Louis wrote: >> > exactly. to what purpose? >> >> To trigger an immediate run on a client with the common options used >> when testing a real run, not a noop run. >> &

Re: [Puppet Users] Do we need a new name for "--test"?

2011-01-23 Thread Nigel Kersten
On Sun, Jan 23, 2011 at 7:30 PM, Patrick wrote: > > On Jan 23, 2011, at 4:49 PM, Stefan Schulte wrote: > >> On Sun, Jan 23, 2011 at 03:48:16PM -0800, Nigel Kersten wrote: >>> On Sun, Jan 23, 2011 at 3:38 PM, Dan Bode wrote: >>>> On Sun, Jan 23, 2011 at

Re: [Puppet Users] Do we need a new name for "--test"?

2011-01-24 Thread Nigel Kersten
On Mon, Jan 24, 2011 at 12:27 AM, DEGREMONT Aurelien wrote: > Please take care that, for my site, and I think other ones, > > puppetd -t > > is *the* way to run puppet. > We never use puppetd in daemonized mode, and manual runs puppet when needed > with -t option. You shouldn't be doing this. If

Re: [Puppet Users] Re: Run Stages & Dashboard

2011-01-24 Thread Nigel Kersten
On Mon, Jan 24, 2011 at 1:13 PM, sbb wrote: > Thanks for the reply. > > That is perhaps an interim solution, albeit not elegant and not within > the motivations and spirit of the puppet goals. > > How about a feature request to manage class/module parameters like > this directly in the Dashboard w

Re: [Puppet Users] What's new about the Webrick/Mongrel situation ?

2011-01-25 Thread Nigel Kersten
On Tue, Jan 25, 2011 at 8:27 AM, Romain Pelisse wrote: > Hi, > I've just finished James Turnbull book "Pulling Strings With Puppet" - which > definitely an excellent introduction to Puppet, and I was wondering - as the > book is a couple years old, what was the status of the all mongrel/webrick >

Re: [Puppet Users] high 500 error rate on file metadata operations

2011-01-25 Thread Nigel Kersten
On Tue, Jan 25, 2011 at 10:25 AM, Brice Figureau wrote: > On 25/01/11 18:47, Jason Wright wrote: >> On Mon, Jan 24, 2011 at 9:24 PM, Daniel Pittman >> wrote: >>> For the other two exceptions, do you have 'ArgumentError' "Could not >>> find hostname" raised anywhere, or FileServerError, "Fileserv

Re: [Puppet Users] Do we need a new name for "--test"?

2011-01-26 Thread Nigel Kersten
On Wed, Jan 26, 2011 at 8:27 AM, DEGREMONT Aurelien wrote: > Nigel Kersten a écrit : >> >> On Mon, Jan 24, 2011 at 12:27 AM, DEGREMONT Aurelien >> wrote: >> >> >>> >>> Please take care that, for my site, and I think other ones, >>> >

Re: [Puppet Users] Re: Provider requires package to work

2011-01-27 Thread Nigel Kersten
On Thu, Jan 27, 2011 at 8:32 AM, Jakub Pastuszek wrote: > It would be probably better if Puppet initialized providers on demand (lazy). > This way I would require that this package is installed before using the > resource. Yes. I'll try and find the bug, but that's definitely where we're going

[Puppet Users] Data/Model Separation: Design Proposal

2011-01-30 Thread Nigel Kersten
We've concluded the Google Docs experiment, and it didn't really scale in terms of commentary. After feedback, we decided to use Redmine to track design proposals and feedback, so here is the new location. http://projects.puppetlabs.com/issues/6079 This is an important problem for us all to sol

Re: [Puppet Users] Puppet delegation / teams

2011-01-31 Thread Nigel Kersten
On Mon, Jan 31, 2011 at 3:05 AM, Pieter Baele wrote: > I would like to delegate access to puppet to other teams in our company. > > It has to be possible for them to: > - create new recipes > - doing some sort of check if their recipes / templates work. > > How should I do this without giving othe

Re: [Puppet Users] Changing the run interval

2011-01-31 Thread Nigel Kersten
On Mon, Jan 31, 2011 at 12:03 PM, rjl wrote: > Hi, > Is it possible to set the runinterval for my clients on my > puppetmaster? I have tried numerous things and the only one that seem > to work is actually setting it in the puppet.conf file on each client. This is the primary use of templates tha

Re: [Puppet Users] Possible to disable puppets internal CA, and use wildcard certs from DigiCert CA?

2011-02-02 Thread Nigel Kersten
On Tue, Feb 1, 2011 at 11:51 PM, KC Braunschweig wrote: > On Fri, Jan 28, 2011 at 11:02 AM, Daniel Pittman > wrote: > > On Fri, Jan 28, 2011 at 06:47, Jed wrote: > >> is this possible? > > > > Probably not usefully to you, no. You might better aim to integrate a > > stage into your host build pr

Re: [Puppet Users] How to include the Scope(...) in a generated string?

2011-02-02 Thread Nigel Kersten
On Wed, Feb 2, 2011 at 9:47 AM, Rich Rauenzahn wrote: > I'd like to include similar information that notice() spits out in a > file I am generating -- basically so that anyone looking at the > generated file (actually a file fragment) could trace it back to the > class that is generating the ent

Re: [Puppet Users] Re: using return value of a shell command as a puppet conditional

2011-02-02 Thread Nigel Kersten
On Wed, Feb 2, 2011 at 10:52 AM, Ashley Gould wrote: > On Mon, Jan 31, 2011 at 06:27:20PM -0800, Daniel Pittman wrote: >> In the longer term I would hope to have that information pushed out >> from the puppet system, so that if a node *should* be joined with >> centrifyDC puppet will make it so, b

Re: [Puppet Users] Re: using return value of a shell command as a puppet conditional

2011-02-02 Thread Nigel Kersten
On Wed, Feb 2, 2011 at 5:10 PM, Daniel Pittman wrote: > On Wed, Feb 2, 2011 at 17:02, Nigel Kersten wrote: >> On Wed, Feb 2, 2011 at 10:52 AM, Ashley Gould wrote: >>> On Mon, Jan 31, 2011 at 06:27:20PM -0800, Daniel Pittman wrote: >>>> In the longer term I would

Re: [Puppet Users] Re: using return value of a shell command as a puppet conditional

2011-02-04 Thread Nigel Kersten
On Thu, Feb 3, 2011 at 11:45 AM, Nick Moffitt wrote: > Nigel Kersten: >> On Wed, Feb 2, 2011 at 5:10 PM, Daniel Pittman wrote: >> > (Also, I went looking and found zero attempts to solve this in a >> > reusable, FOSS way, let alone working solutions.) >> >&

Re: [Puppet Users] host classification based on hostnames

2011-02-09 Thread Nigel Kersten
On Mon, Feb 7, 2011 at 11:46 PM, Joe Gross wrote: > Hi all, > > I'm new to puppet put did a lot with cfengine2 at my last gig. I'm using > v0.25.4 (default) on Ubuntu Lucid but can upgrade to 2.6 if necessary. > > I have a few hundred (with more on the way) machines in a new datacenter. I > have a

Re: [Puppet Users] Re: high 500 error rate on file metadata operations

2011-02-11 Thread Nigel Kersten
On Fri, Feb 11, 2011 at 9:06 AM, Jason Wright wrote: > I've completed rolling out 2.6.3 and it's completely resolved our issues. > > Thanks for the help, Wahoo! That's awesome to hear Jason. It might be worth starting canarying 2.6.5rc2, as you're doing report submissions, and we've got a fix in

Re: [Puppet Users] Migrating from 0.25.4 to 2.6

2011-02-11 Thread Nigel Kersten
On Thu, Feb 3, 2011 at 7:53 AM, Felix Frank wrote: > On 02/03/2011 04:46 PM, Matthew Macdonald-Wallace wrote: >> OK, thanks, that answers the question about whether we can go >> backwards (we can't, we're using Regexes and a few other things!) >> >> Anyone know if a Puppet 2.6.2 client can talk to

Re: [Puppet Users] Re: Problem with file serving and envrionments.

2011-02-11 Thread Nigel Kersten
On Fri, Feb 11, 2011 at 10:30 AM, trey85stang wrote: > Finally figured it out,  Maybe this is a bug I am not sure.  But I was > setting the environment only from the external_nodes script.  I was > not making any changes to the client config.  When I add the > environment to the puppet.conf on the

Re: [Puppet Users] Active Directory join, stages, and AD accounts issues

2011-02-11 Thread Nigel Kersten
On Fri, Feb 11, 2011 at 11:52 AM, Monkeys Typing wrote: > I have a mostly working set of modules to replace our kickstart and > about a dozen scripts. > > I am having issues with attempting to populate my AD account-owned > user folders in the initial puppet run.  The machines i am testing > with

[Puppet Users] Collections and Realizing Resources

2011-02-12 Thread Nigel Kersten
Querying is awesome, particularly with the new relationship syntax, and as a more comprehensible alternative to class inheritance. Package <| |> The part I find frustrating is that it also *realizes* all the virtual resources that match the query. It would be immensely useful in my opinion if yo

Re: [Puppet Users] Making dependencies work with variable resource names

2011-02-13 Thread Nigel Kersten
On Sat, Feb 12, 2011 at 10:38 PM, Ashley Gould wrote: > somehow you have to > parse out the path components of $dir and ensure them one by one. > Why is it puppet does not have a nice trick for "mkdir -p"? > > Because it's really not clear how it should best behave with a bunch of cases. This wo

[Puppet Users] Re: [Puppet-dev] Collections and Realizing Resources

2011-02-13 Thread Nigel Kersten
On Sat, Feb 12, 2011 at 7:40 PM, Dan Bode wrote: > >> Could we add the ability to query whether a given resource has >>> been realized or not? How much of an ordering problem is this? >>> Package <| state == virtual |> >>> Package <| state == real |> >>> >> > Sounds reasonable, I have actually tr

Re: [Puppet Users] Re: [Puppet-dev] Collections and Realizing Resources

2011-02-14 Thread Nigel Kersten
On Sun, Feb 13, 2011 at 9:59 PM, Dan Bode wrote: > > We have only been teaching <| |> in the puppetmaster training as a way to > realize virtual resources. We do not teach that it is possible to override > attributes with this syntax as well: <| |> {} (at least in part b/c the > implications/non-

Re: [Puppet Users] Re: [Puppet-dev] Collections and Realizing Resources

2011-02-14 Thread Nigel Kersten
On Mon, Feb 14, 2011 at 8:56 AM, Dan Bode wrote: > > > On Mon, Feb 14, 2011 at 6:49 AM, Nigel Kersten wrote: > >> On Sun, Feb 13, 2011 at 9:59 PM, Dan Bode wrote: >> >>> >>> We have only been teaching <| |> in the puppetmaster training as a way t

Re: [Puppet Users] Re: Master-less : What do I lose?

2011-02-14 Thread Nigel Kersten
On Wed, Feb 9, 2011 at 8:19 AM, Nan Liu wrote: > Another key difference is the agent only receives a catalog in > master/agent mode. In masterless mode you must provide the puppet > manifest/templates to each client system. The catalog is system > specific and does not contain any configuration i

Re: [Puppet Users] Re: puppet 2.6.5-rc1 Parameter type failed: type is read-only

2011-02-14 Thread Nigel Kersten
On Mon, Feb 14, 2011 at 3:30 PM, John Warburton wrote: > On 9 February 2011 21:57, John Warburton wrote: >> >> OK - I found the issue. Because 2.6.x gives us nice human readable(ish) >> catalogs, I compiled mine and the 'random' hits were all for directories. >> Re-reading the manifest, I see tho

Re: [Puppet Users] troubles with require parametre

2011-02-15 Thread Nigel Kersten
On Tue, Feb 15, 2011 at 7:43 AM, tortuegeniale wrote: > Hi all, > > Getting some troubles installing bind: > err: Could not run Puppet configuration client: Could not find user > bind It looks to me like you don't have a User 'bind' on the target system, and you haven't defined one in the above

Re: [Puppet Users] Trigger an event after a puppet run

2011-02-15 Thread Nigel Kersten
On Tue, Feb 15, 2011 at 6:55 AM, Rus Hughes wrote: > Hi, > > We'd like to run puppet regularly in noop then trigger an event after > the run depending on the results, namely to hook puppet in to our > Nagios implementation so that if anything changes for any reason we > receive an alert. > > We al

[Puppet Users] New Puppet Labs Employee: Randall Hansen

2011-02-15 Thread Nigel Kersten
I'm happy to announce we've recently added Randall Hansen as our Director of User Experience at Puppet Labs. He's on IRC as 'soh', and in his own words... I got hooked on human-computer interaction in 1986, writing Pascal programs to help dad navigate a Tandy 1000SX. I followed a twisty path thr

Re: [Puppet Users] Make puppet clients look at a domain name rather than an IP?

2011-02-16 Thread Nigel Kersten
On Wed, Feb 16, 2011 at 6:37 AM, Phillip B Oldham wrote: > In the docs it says one must add a line to the /etc/hosts file with > the name "puppet" and the IP of the puppet master. This isn't a > possibility for us as the IP is subject to change. Is it possible to > configure the puppet clients to

Re: [Puppet Users] puppetrun :: "HTTP-Error: 500 Internal Server Error" (w/ Passenger)

2011-02-16 Thread Nigel Kersten
On Tue, Feb 15, 2011 at 7:47 AM, CraftyTech wrote: > How do I make sure "puppetrun" is using the same configuration directory > Passenger is using?  when I run "/usr/sbin/puppetrun --configprint confdir" > all I get is "finished" as the end result... and nothing else... has anyone > experience thi

Re: [Puppet Users] Fresh node fails puppet run - init script not found before installing package

2011-02-17 Thread Nigel Kersten
On Thu, Feb 17, 2011 at 4:09 AM, Daniel Piddock wrote: > On 17/02/11 11:45, Felix Frank wrote: >>> e.g.: file { 'something': require => Class['ssh'] } >>> class ssh gets processed but ssh::install and ssh::config might not be, >>> unless I put a depend on something deeper within it. Which defeats

[Puppet Users] Do people walk the filebucket tree searching by path?

2011-02-17 Thread Nigel Kersten
https://projects.puppetlabs.com/issues/6353 Our old behavior was that when files were backed up to a filebucket, we also wrote out the path information to the 'paths' file in the checksum directory. Do people actually use this functionality? Our sanctioned interface "puppet filebucket" only ever

Re: [Puppet Users] Do people walk the filebucket tree searching by path?

2011-02-17 Thread Nigel Kersten
On Thu, Feb 17, 2011 at 12:48 PM, Joe McDonagh wrote: > I care a lot and had thought that the path would eventually be the main key > for retrieving files, with the checksum being sort of like a revision, with > some extra metadata when you interfaces with the filebucket... ok. So it's unacceptab

Re: [Puppet Users] Re: logoutput=>on_failure doesn't work as expected

2011-02-18 Thread Nigel Kersten
On Fri, Feb 18, 2011 at 7:59 AM, Thomas Bellman wrote: > > >> (When its argument is absent, ls writes to standard > >> error, which I think Puppet always copies to its log.) > > Crazily enough, Puppet doesn't capture standard error at all. It > is always thrown away, making debugging exec:s unne

Re: [Puppet Users] Distributing user configs from a central host?

2011-02-19 Thread Nigel Kersten
On Sat, Feb 19, 2011 at 10:18 AM, Robin Lee Powell wrote: > I thought it might be nice to find out more about it, at which point > I noticed that "man puppet" on my system is almost totally useless: > >  Usage:  puppet  command  space separated arguments Available >  commands are: agent, apply, c

Re: [Puppet Users] Re: Do people walk the filebucket tree searching by path?

2011-02-21 Thread Nigel Kersten
Thank you everyone for your feedback on this thread, it's much appreciated. In light of the fact we were obviously removing useful functionality, regardless of whether it was a sanctioned API or not, we're putting back the paths functionality. See the following thread on puppet-dev for the detail

Re: [Puppet Users] Re: How to add ubuntu ppa

2011-02-22 Thread Nigel Kersten
On Tue, Feb 22, 2011 at 12:08 AM, Rawler wrote: > What about keys? Run an exec that adds the key. How would you normally solve this ? > > On Jan 14, 12:11 am, Nigel Kersten wrote: >> On Thu, Jan 13, 2011 at 2:07 PM, Kevin Beckford wrote: >> > Now, I noticed the yumrep

Re: [Puppet Users] any workarond recommendation for bug #3910 ?

2011-02-24 Thread Nigel Kersten
On Thu, Feb 24, 2011 at 1:29 PM, Thomas Bellman wrote: > Stefan Baryakov wrote: > >> Would anyone share workaround for the bug in the subject. >> (http://projects.puppetlabs.com/issues/3910) >> Apologizes if that has been answered, I couldn’t find anything ant >> it’s a real show-stopper for our p

Re: [Puppet Users] any workarond recommendation for bug #3910 ?

2011-02-24 Thread Nigel Kersten
On Thu, Feb 24, 2011 at 3:05 PM, Thomas Bellman wrote: > Nigel Kersten wrote: > >> On Thu, Feb 24, 2011 at 1:29 PM, Thomas Bellman >> wrote: > >>> I think not using 'source => "puppet:///..."' references, but instead >>> using &

Re: [Puppet Users] Re: "hostname not match with the server certificate" error

2011-02-26 Thread Nigel Kersten
On Sat, Feb 26, 2011 at 4:05 PM, Hal Snyder wrote: > Are you specifying certname on puppet master as well as client? That is > working for me as long as I set --server= and > --certname= on the client and --certname= > on the master. You may need to clean out /ssl on your AMIs and > start over to

Re: [Puppet Users] fileserver.conf and security

2011-02-27 Thread Nigel Kersten
On Sun, Feb 27, 2011 at 10:00 AM, Sky wrote: > Hi guys, > > I have a question about fileserver.conf and security. I see that > fileserver.conf has acl based on hostname and ipaddress, but there is > nothing about authenticantion. My consern is about rogue acess. Can > anyone without SSL authentica

[Puppet Users] ANNOUNCE: Puppet 2.6.5 released!

2011-02-28 Thread Nigel Kersten
The release is available for download at: http://puppetlabs.com/downloads/puppet/puppet-2.6.5.tar.gz Please note that this release of Puppet is signed with the Puppet Labs key. See the Verifying Puppet Download section at: http://projects.puppetlabs.com/projects/puppet/wiki/Downloading_Puppet R

[Puppet Users] Re: ANNOUNCE: Puppet 2.6.5 released!

2011-02-28 Thread Nigel Kersten
Sorry, forgot the release notes: https://projects.puppetlabs.com/projects/puppet/wiki/Release_Notes -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this gro

[Puppet Users] Regression in 2.6.5

2011-03-01 Thread Nigel Kersten
http://projects.puppetlabs.com/issues/6443 We have a regression that causes spurious errors and log messages due to auditing being auto-enabled incorrectly in some situations. Do not upgrade to 2.6.5. We will be resolving this issue and providing further information as we run through testing. -

[Puppet Users] Re: Regression in 2.6.5

2011-03-01 Thread Nigel Kersten
bcc:puppet-dev Please follow the general status of this issue on the -users list. There will be a follow-up email to the -dev list about how best to resolve the remaining issue. On Tue, Mar 1, 2011 at 7:53 AM, Nigel Kersten wrote: > http://projects.puppetlabs.com/issues/6443 > >

[Puppet Users] Re: Regression in 2.6.5

2011-03-01 Thread Nigel Kersten
On Tue, Mar 1, 2011 at 2:14 PM, Nigel Kersten wrote: > bcc:puppet-dev > > Please follow the general status of this issue on the -users list. > There will be a follow-up email to the -dev list about how best to > resolve the remaining issue. > > > On Tue, Mar 1, 2011 a

Re: [Puppet Users] Re: best way of handling source installs

2011-03-01 Thread Nigel Kersten
On Tue, Mar 1, 2011 at 5:40 PM, russell.fulton wrote: > I am managing a fairly small set of machines (network security > monitors) and some of these packages are being installed on just two > or three boxes so spending a lot of time building packages is simply > not worth it.  The apps  are also

Re: [Puppet Users] Re: best way of handling source installs

2011-03-02 Thread Nigel Kersten
On Wed, Mar 2, 2011 at 7:18 AM, Mike Lococo wrote: > So Russell, the short of it is that Puppet doesn't provide much to help you > manage source-installed software.  You can apply puppet's features to other > software-management tools to roll something yourself, you can package the > software, or

Re: [Puppet Users] classes.txt missing

2011-03-08 Thread Nigel Kersten
On Tue, Mar 8, 2011 at 3:19 PM, Nitesh wrote: > Hi > It seems like classes.txt file is not being created when I run puppet > on my servers. > I am running puppet without a puppet master. I use subversion to pull > the manifests on each of the boxes and run this command to run puppet. > > puppet ap

Re: [Puppet Users] keeping a service running properly

2011-03-13 Thread Nigel Kersten
On Thu, Mar 10, 2011 at 5:37 PM, Ian Mortimer wrote: > Hi > > The service in this case is ypbind but it could apply to other > services.  The problem is that `service ypbind status' returns 0 > if the service is running even if it's not bound to the domain. > > Replacing hasstatus with `status =>

Re: [Puppet Users] keeping a service running properly

2011-03-13 Thread Nigel Kersten
On Sun, Mar 13, 2011 at 9:02 PM, Nigel Kersten wrote: > On Thu, Mar 10, 2011 at 5:37 PM, Ian Mortimer wrote: >> Hi >> >> The service in this case is ypbind but it could apply to other >> services.  The problem is that `service ypbind status' returns 0 >>

Re: [Puppet Users] How can I dynamically realize this?

2011-03-14 Thread Nigel Kersten
On Thu, Mar 10, 2011 at 9:27 PM, Brian Gallew wrote: > All that said, evil tricks lurk in the land of dragons.  Don't bother asking > for help if you go down this particular path, because the Puppetlabs people > will only tell you that "you're doing it wrong" and no one else will be > willing to

Re: [Puppet Users] A question of order

2011-03-14 Thread Nigel Kersten
On Mon, Mar 14, 2011 at 9:29 AM, David Kavanagh wrote: > I understand how before, requires, etc work. I'm not quite so clear on > stages. > I have many modules I've created for various configuration items. My site.pp > contains a class that simply includes them (some, based on facts). I have a > d

Re: [Puppet Users] A question of order

2011-03-14 Thread Nigel Kersten
#x27;pre'] -> Stage['main'] -> Stage['post'] > class first { >   ... > } > class second { >   ... > } > class third { >   ... > } > node default { >  class { 'first': stage => pre } >  class { 'second': stage

Re: [Puppet Users] templates for user resources types

2011-03-14 Thread Nigel Kersten
On Mon, Mar 14, 2011 at 11:07 AM, VinceT wrote: > I'm attempting to use puppet for customing the root gecos field to use > a template to insert the local hostname for Redhat 5.5 and Solaris > 10.    I'm using Puppet 2.6.4 with environments and modules and seeing > trouble that looks like end of li

Re: [Puppet Users] "schedule is a metaparam; this value will inherit to all contained resources" ?

2011-03-15 Thread Nigel Kersten
On Tue, Mar 15, 2011 at 6:14 AM, Martijn Grendelman wrote: > Hi, > > I have a type named apt::package, that installs packages on Debian base > systems. By default, it sets the schedule to something I defined, to > prevent package updates from happening outside maintenance hours. > > Now, in a spec

[Puppet Users] Announce: Timed Puppet Labs Release Cycle

2011-03-16 Thread Nigel Kersten
elease Candidate Thunderdome. "Two releases enter, one release leaves." We are going to be publishing this all on the wiki, but I wanted to iterate a bit on any questions you all have before that. This also doesn't address the timing of releases such as 2.7.0, 2.8.0, etc. That

[Puppet Users] RFC: Refactoring the mount provider.

2011-03-17 Thread Nigel Kersten
property is overloaded to handle mounted/unmounted/defined/present/absent, and (2) the fact that there is already an ersatz value “ghost” to represent situations where the desired device is mounted but has no entry in fstab. -- Nigel Kersten Product, Puppet Labs @nigelkersten -- You received thi

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

Re: [Puppet Users] Re: parameterized classes and variable inheritance

2011-03-19 Thread Nigel Kersten
On Fri, Mar 18, 2011 at 7:01 PM, Ashley Gould wrote: > On Fri, Mar 18, 2011 at 11:15:56AM -0700, jcbollinger wrote: >> >> >> On Mar 17, 6:03 pm, Ashley Gould wrote: >> > I'm hoping to avoid using subclasses, because there would have to >> > be oodles of them to accomodate the all the variations b

[Puppet Users] RFC: Splitting up the file{} type functionality.

2011-03-21 Thread Nigel Kersten
out directories too if we wanted. Thoughts? -- Nigel Kersten Product, Puppet Labs @nigelkersten -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from

Re: [Puppet Users] Re: RFC: Splitting up the file{} type functionality.

2011-03-22 Thread Nigel Kersten
On Tue, Mar 22, 2011 at 7:20 AM, jcbollinger wrote: > > > On Mar 21, 8:53 pm, Nigel Kersten wrote: >> The file{} type can do all of the following: >> >> * manage single files >> * manage directories >> * manage symlinks >> * manage recursive file co

[Puppet Users] Re: RFC: Splitting up the file{} type functionality.

2011-03-22 Thread Nigel Kersten
On Tue, Mar 22, 2011 at 12:39 PM, Jeffrey Goldschrafe wrote: > On Monday, March 21, 2011 9:53:26 PM UTC-4, Nigel Kersten wrote: >> >> The file{} type can do all of the following: >> >> * manage single files >> * manage directories >> * manage symlinks >

Re: [Puppet Users] augeas slooow

2011-03-22 Thread Nigel Kersten
; puppet-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > > -- Nigel Kersten Product, Puppet Labs @nigelkersten -- You received this message because you are subscribed to the Google Groups "Puppet

Re: [Puppet Users] RFC: Splitting up the file{} type functionality.

2011-03-22 Thread Nigel Kersten
On Tue, Mar 22, 2011 at 3:06 PM, Christian Kauhaus wrote: > Am 22.03.2011 02:53, schrieb Nigel Kersten: >> >> The intersection of files and directories isn't that big a deal, but >> we could split out directories too if we wanted. > > From the user's pers

Re: [Puppet Users] RFC: Refactoring the mount provider.

2011-03-22 Thread Nigel Kersten
On Tue, Mar 22, 2011 at 4:05 PM, Stefan Schulte wrote: > So splitting the mounttype can lead to better reports when puppet sync > mountpoint and entry in fstab seperatly. Because I'm lazy I'll propably > write a define (maybe I will call it mount) that will create two > resources for the two new

[Puppet Users] Re: [Puppet-dev] ANNOUNCE: Puppet 2.6.7 final!

2011-03-24 Thread Nigel Kersten
On Thu, Mar 24, 2011 at 5:10 PM, Thomas S Hatch wrote: > > These accelerated releases are going to keep us on our toes! > > This is the downside of monthly releases, particularly when we have an extra, out of cycle release like we did for 2.6.6. If there's anything we can do in the Puppet commun

[Puppet Users] Re: [Puppet-dev] ANNOUNCE: Puppet 2.6.7 final!

2011-03-24 Thread Nigel Kersten
On Thu, Mar 24, 2011 at 5:42 PM, Nigel Kersten wrote: > > > On Thu, Mar 24, 2011 at 5:10 PM, Thomas S Hatch wrote: > >> >> These accelerated releases are going to keep us on our toes! >> >> > This is the downside of monthly releases, particularly when w

[Puppet Users] RFC on #5158: Make source/content parameters and the file/template functions consistent.

2011-03-28 Thread Nigel Kersten
; file, content => cat(template("header.erb"), "some content", template("footer.erb")), } Note that there are some important differences between cat(template("a.erb"), template("b.erb") and template(“a.erb”, “b.erb”) The latter will allow you

Re: [Puppet Users] Virtual user, depends on "group" being created first?

2011-03-28 Thread Nigel Kersten
On Mon, Mar 28, 2011 at 2:31 PM, Forrie wrote: > I want to realize some virtual users on several systems, but I want > that to depend upon a certain group being present (and created if > needed) first. How can I do this? > > The following works, because the group is being realized first. > >

Re: [Puppet Users] Re: RFC: Splitting up the file{} type functionality.

2011-03-29 Thread Nigel Kersten
not going to rush into this, and we'll try to maintain backwards compatibility as much as possible. > > On 03/22/11 11:10, Nigel Kersten wrote: >> >> On Tue, Mar 22, 2011 at 7:20 AM, jcbollinger >>  wrote: >>> >>> On Mar 21, 8:53 pm, Nigel Kersten  w

Re: [Puppet Users] poor mans puppet, can puppet work with a offline puppetmaster?

2011-04-01 Thread Nigel Kersten
On Fri, Apr 1, 2011 at 5:00 AM, S Ahmed wrote: > Could I use my local laptop as a puppet master, and only start up the > puppetmaster when I have a change I want to send over to the nodes? > Say I only have 1 server, and I don't want or even need a puppetmaster > running all the time. > Is this or

Re: [Puppet Users] PSON! Grrr!

2011-04-02 Thread Nigel Kersten
On Sat, Apr 2, 2011 at 11:13 AM, Douglas Garstang wrote: > Ah, Ok. I was using passenger once as well, but wasn't able to implement it > a second time. To get passenger to work with puppet, you need to have > exactly the right combination of packages/RPM's available. To know the exact > version c

Re: [Puppet Users] gems, ruby installs, and paths

2011-04-02 Thread Nigel Kersten
On Sat, Apr 2, 2011 at 4:29 PM, Bill Weiss wrote: > In a similar situation (ruby-1.8.x and REE installed on a server), I found > that mangling the PATH to point at the appropriate ruby did it.  That only > works if your entire puppet config (including puppet itself?) works with that > ruby, of

Re: [Puppet Users] $environment in File source not working

2011-04-06 Thread Nigel Kersten
On Wed, Apr 6, 2011 at 6:38 PM, Mohamed Lrhazi wrote: > am I doing something wrong? > > this seems to never find my .$env file: > > source => [ >            "puppet:///modules/gu_puppet/puppet.conf.$fqdn", >            "puppet:///modules/gu_puppet/puppet.conf.$environment", >            "puppet://

Re: [Puppet Users] ANNOUNCE: Puppet 2.6.7 final!

2011-04-06 Thread Nigel Kersten
On Wed, Apr 6, 2011 at 8:10 PM, Mohamed Lrhazi wrote: > Is it easy enough to build the gem version out of the tarball? I dont > see the gem in: http://projects.puppetlabs.com/projects/puppet/files I just uploaded them. We haven't quite automated this step yet, but the historical download location

Re: [Puppet Users] ANNOUNCE: Puppet 2.6.7 final!

2011-04-06 Thread Nigel Kersten
On Wed, Apr 6, 2011 at 8:48 PM, Nigel Kersten wrote: > On Wed, Apr 6, 2011 at 8:10 PM, Mohamed Lrhazi wrote: >> Is it easy enough to build the gem version out of the tarball? I dont >> see the gem in: http://projects.puppetlabs.com/projects/puppet/files > > I just uploaded t

Re: [Puppet Users] $environment in File source not working

2011-04-06 Thread Nigel Kersten
On Wed, Apr 6, 2011 at 8:51 PM, Tony G. wrote: > Not completely related, but I was under the impression that clients > shouldn't be higher than the masters, did that change on newer versions? No, it hasn't changed, it's not supported, even though it may work fine. Always upgrade the master firs

Re: [Puppet Users] Skipping a module

2011-04-07 Thread Nigel Kersten
On Thu, Apr 7, 2011 at 3:28 PM, Douglas Garstang wrote: > I'd like to be able to always include all modules at the top level, but in > certain modules, have some logic that uses extlookup to determine if it > should be enabled. What's the best way to use if; then; else to exit a > module, and stop

Re: [Puppet Users] Re: [Puppet-dev] ANNOUNCE: Puppet Dashbard 1.1.0 Final!

2011-04-08 Thread Nigel Kersten
On Thu, Apr 7, 2011 at 11:27 PM, Patrick wrote: > > On Apr 4, 2011, at 1:39 PM, Patrick wrote: > >> >> On Apr 4, 2011, at 11:48 AM, Jacob Helwig wrote: >> >>> 1.  Reports will need to be converted to a new schematized format when >>> upgrading (#5459).  Rather than just storing reports as serializ

Re: [Puppet Users] running puppet agent manually under debian

2011-04-08 Thread Nigel Kersten
On Fri, Apr 8, 2011 at 10:34 AM, rektide wrote: > the debian puppet package has a puppet agent running.  this creates a / > var/run/puppet/agent.pid file.  when i run `sudo puppet agent`, i get: > > Could not prepare for execution: Could not create PID file: /var/run/ > puppet/agent.pid > > this p

Re: [Puppet Users] Re: extlookup == bad?

2011-04-13 Thread Nigel Kersten
On Wed, Apr 13, 2011 at 9:40 AM, R.I.Pienaar wrote: > Soon puppet will start warning > if you use dynamic scoping and after that dynamic scoping will stop working > this means 'include' as we know it will stop working and might as well > be removed from the language. Just to address this point...

[Puppet Users] Puppet 2.7.0rc1 (Statler) available!

2011-04-13 Thread Nigel Kersten
- use original value in case/selector regex matching 19863c0 Fix #2929 - Allow checksum to be "none" fd76142 Fixed puppetlast typo 3b4e782 Follow up for #2604, debug msg left behind. e44430b Fix for #2604 Pure Ruby yaml generation 74cd55f Fixes #3113 - When importing a manifest puppet

[Puppet Users] Re: [Puppet-dev] ANNOUNCE: Puppet 2.6.8rc1 available!

2011-04-14 Thread Nigel Kersten
On Thu, Apr 14, 2011 at 4:41 PM, James Turnbull wrote: > Stefan Schulte wrote: >> Any chance to address #6845 in this release (patch already sent to >> puppet-dev)? The mountprovider is currently not working at all on >> Solaris (the title »mount tmpfs on Solaris fail« is misleading). >> > > Stefa

<    2   3   4   5   6   7   8   9   10   11   >