[Puppet Users] Re: Redefine package type

2010-09-09 Thread alcy
You can do both. As an introductory tutorial, have a look at http://www.kartar.net/2010/02/puppet-types-and-providers-are-easy/ and, more information at http://docs.puppetlabs.com/#extending_puppet On Sep 9, 1:27 pm, SiD wrote: > Thanks for your quick answer. > I've already analysed the code, bu

[Puppet Users] Re: Puppet use with OLPC's XS

2010-09-08 Thread alcy
> 2 - Can I say "install this shellscript and run it once"? How? > > 2a - Is there an ISConf-like facility that says "run it until it > succeeds once"? [ Happy to use Makefiles, but if there's a > Puppet-supported elegant way of doing it... ] If the code of the shell script can be minimized to use

[Puppet Users] puppetrun with noop or similar functionality

2010-09-08 Thread alcy
Hi, I wanted to have my puppet client daemons running in the noop=true mode, and changes could be triggered centrally through puppetrun -- noop false. Also it would be nice in an inverse situation, when client daemons are running in the default (noop = false) mode and before testing out a new(smal

[Puppet Users] Puppet Standalone Behavior

2010-08-16 Thread alcy
If I do 1) puppet --modulepath=/home/abc/puppet/modules OR 2) puppet --modulepath=/home/abc/puppet/modules --manifest=/home/abc/ puppet/site.pp (...where site.pp has import "nodes.pp", and nodes.pp has a default node definition that includes basic modules defined under /home/abc/ puppet/modules

[Puppet Users] puppetrun with --class argument not working, ver. 0.25.5

2010-08-10 Thread alcy
I am experiencing the behavior reported in another bug report (http:// projects.puppetlabs.com/issues/1006) in version 0.25.5, that is: puppetrun --host xyz.def.com --class apache --debug --trace gives this: You must be using LDAP to specify host classes My puppet.conf looks like this: [ma

[Puppet Users] Recursively setting owner ?

2010-07-22 Thread alcy
Alright so if I have something like file {"xyz": ensure=>directory, mode=>644 owner=>"abc", group=>"abc", recurse=>true, } ...then all this does is to set the appropriate file permissions for the subdirectories & files under xyz, but it doesn't change the