Re: [Puppet Users] Re: Failed to retrieve current state of resource: Error 400 on SERVER: Permission denied

2010-02-11 Thread Anchi Zhang
On Wed, Feb 10, 2010 at 5:10 PM, jcbollinger wrote: > > On Feb 10, 3:21 pm, Anchi Zhang wrote: > > [...] > > > file { "/etc/shadow": > > source => "puppet:///solaris//etc/shadow", > > } > > [...] > > > I g

[Puppet Users] Failed to retrieve current state of resource: Error 400 on SERVER: Permission denied

2010-02-10 Thread Anchi Zhang
Greetings, ruby 1.8.7, facter 1.5.7, puppet 0.25.2, and Solaris 10 on sun4u. >From /etc/puppet/fileserver.conf, [solaris] path /etc/puppet/manifests/solaris allow * >From /etc/puppet/manifests/site.pp, file { "/etc/shadow": source => "puppet:///solaris//etc/shadow", } And, ls -l /et

Re: [Puppet Users] Free press! Free Puppet T-shirts!

2010-02-03 Thread Anchi Zhang
There are companies such as the one I am contracting at do not want their names to appear on a website or a mailing list unless agreed by the public relations people, although Puppet may have been doing wonders for them. On Wed, Feb 3, 2010 at 10:22 AM, Michael DeHaan wrote: > Hi Everyone, > > We

Re: [Puppet Users] cfengine like groups

2010-02-02 Thread Anchi Zhang
Great explanation. Thank you very much. On Tue, Feb 2, 2010 at 10:12 AM, Bruce Richardson wrote: > On Mon, Feb 01, 2010 at 05:30:47PM -0600, Anchi Zhang wrote: > > Greetings, > > > > CFEngine 2 (not sure about 3) allows groups definitions such as > > > > groups

[Puppet Users] cfengine like groups

2010-02-01 Thread Anchi Zhang
Greetings, CFEngine 2 (not sure about 3) allows groups definitions such as groups: ntp = { ntpserv1 ntpserv2 } and the ability to negate such as links: !ntp:: /etc/inet/ntp.conf -> /etc/inet/ntp.client I was wondering how I would accomplish something like it in Puppe

Re: [Puppet Users] recurse => true

2010-01-27 Thread Anchi Zhang
On Wed, Jan 27, 2010 at 11:06 AM, Peter Meier wrote: > Node and class: >> >> node default { include solaris } >> class solaris { >>file { "/etc": >>source => "puppet:///files-solaris/etc", >>recurse => true, >>ensure => directory, >>

Re: [Puppet Users] recurse => true

2010-01-27 Thread Anchi Zhang
> > the reason why I say that it doesn't scale is that for example if the ntp >> file changes you'd like to to restart the ntp service if the ntp config >> changes and so on. Anyway the idea is to organize things that belongs >> together, for example for ntp, the package, the service and the config

Re: [Puppet Users] recurse => true

2010-01-27 Thread Anchi Zhang
On Tue, Jan 26, 2010 at 2:15 PM, Anchi Zhang wrote: > > > >>> My fileserver.conf contains >> >>> >> >>> [files-solaris] >> >>> path /etc/puppet/manifests/files/solaris >> >>> allow * >> >>>

Re: [Puppet Users] recurse => true

2010-01-26 Thread Anchi Zhang
>>> My fileserver.conf contains > >>> > >>> [files-solaris] > >>> path /etc/puppet/manifests/files/solaris > >>> allow * > >>> > >>> and > >>> > >>> puppetmaster# ls /etc/puppet/manifests/files/solaris/etc > >>> motd nsswitch.conf pam.conf resolv.conf > >>> I would like to have th

Re: [Puppet Users] recurse => true

2010-01-26 Thread Anchi Zhang
> > > My fileserver.conf contains > > > > [files-solaris] > > path /etc/puppet/manifests/files/solaris > > allow * > > > > and > > > > puppetmaster# ls /etc/puppet/manifests/files/solaris/etc > > motd nsswitch.conf pam.conf resolv.conf > > I would like to have these files in /etc o

Re: [Puppet Users] recurse => true

2010-01-26 Thread Anchi Zhang
> > > My simple site.pp below would work. > > > > node default { include solaris } > > class solaris { > > file { "/etc/motd": > > source => "puppet:///files-solaris/etc/motd", > > recurse => true, > > } > > } > > But, if "/motd" is removed, files und

Re: [Puppet Users] recurse => true

2010-01-26 Thread Anchi Zhang
That did not seem to make any difference. I am using version 0.25.2. On Mon, Jan 25, 2010 at 5:54 PM, Carl.caum wrote: > Try adding > ensure => directory > > To your File[/etc] resource. > > > On Jan 25, 2010, at 4:25 PM, Anchi Zhang wrote: > > My simple site.p