Re: [Puppet Users] Re: Wrong version in SPEC file

2010-09-17 Thread Todd Zullinger
micha...@tnrglobal.com wrote: > On Sep 16, 4:23 pm, "R.I.Pienaar" wrote: >> rpmbuild -ba -D 'dist .el5' -D 'rhel 5' -D '_without_augeas 1' puppet.spec > > Great- that works. I also just tried: > rpmbuild --without augeas --without selinux --rebuild > puppet-2.6.1-0.5.el5.src.rpm FWIW, the spec f

Re: [Puppet Users] Small bug: puppet.spec still refers to 2.6.0

2010-09-17 Thread Todd Zullinger
Nigel Kersten wrote: > On Tue, Sep 14, 2010 at 3:51 PM, Douglas Garstang >> Lets play rock paper scissors to see who files a bug... > > That's uncharitable and unfair. Indeed. I usually joke that all complaints should be submitted in unified diff format. I actually feel bad anytime I file a bug

Re: [Puppet Users] Re: realize users based on tags

2010-09-17 Thread Dan Bode
On Fri, Sep 17, 2010 at 10:33 AM, CraftyTech wrote: > Thanks Dan. I have something very similar that's not working for > me... i.e, > you are querying for exported resources not virtual. > class basic::service_accounts { >@user { 'user1': >tag => 'test', >home => '/home/user1', >

[Puppet Users] Re: vcsrepo type

2010-09-17 Thread alaric
Michael, Thanks for the response! Thats awesome! I updated vcsrepo, and got it doing essentially what I expected, puppet did complain a bit that it didn't know the state of the resource if the directory didn't exist, so I had puppet create the directory before running vcsrepo file { "/path/to

Re: [Puppet Users] Re: Dashboard database optimization

2010-09-17 Thread Jacob Helwig
On Thu, 16 Sep 2010 05:34:33 -0700, Oliver Hookins wrote: > > On Sep 16, 12:38 pm, Ben Tullis wrote: > > Thanks for the response, but I think you've misunderstood the first > > bit. > > > > > Rails logs are not rotated by default. The rails world would use a   > > > capistrano task: > > > > >http

[Puppet Users] Re: realize users based on tags

2010-09-17 Thread CraftyTech
Thanks Dan. I have something very similar that's not working for me... i.e, class basic::service_accounts { @user { 'user1': tag => 'test', home => '/home/user1', shell => '/bin/bash', ensure => 'present' } class testgroup { require basic::service_accounts Us

Re: [Puppet Users] realize users based on tags

2010-09-17 Thread Dan Bode
On Fri, Sep 17, 2010 at 9:57 AM, CraftyTech wrote: > Hello All, > > Can someone share their syntax on how they'd realize users based > on tags? > > User<| tag == 'foo' |> > Thanks, > > Henry > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users"

Re: [Puppet Users] modulepath in puppet.conf ignored?

2010-09-17 Thread Leslie Giles
Thanks - that was it. I knew it was something silly. I may have missed it, but I think there is one tutorial that would be good to add - there's plenty of detail about setting up the basic configuration with a master and agents, and there's plenty of details about the language, however it would b

Re: [Puppet Users] cucumber-puppet and environments

2010-09-17 Thread Alan Barrett
On Fri, 17 Sep 2010, Nigel Kersten wrote: > > I just ran "/usr/local/sbin/puppetd --onetime --test --noop > > --environment=WRONG --tags=notify", and I saw the client perform > > "GET /WRONG/catalog/host.domain.example?...", but it received > > the catalog for the correct environment (and stashed i

[Puppet Users] realize users based on tags

2010-09-17 Thread CraftyTech
Hello All, Can someone share their syntax on how they'd realize users based on tags? Thanks, Henry -- 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...@googlegroups.com. To unsubscribe from th

Re: [Puppet Users] cucumber-puppet and environments

2010-09-17 Thread Nigel Kersten
On Fri, Sep 17, 2010 at 9:42 AM, Alan Barrett wrote: > On Fri, 17 Sep 2010, Nigel Kersten wrote: >> >> On Wed, Sep 15, 2010 at 09:31:19PM +0200, Alan Barrett wrote: >> >> > I use an external node classifier purely for the purpose of >> >> > setting the environment [...] >> > I have tested with inc

Re: [Puppet Users] cucumber-puppet and environments

2010-09-17 Thread Alan Barrett
On Fri, 17 Sep 2010, Nigel Kersten wrote: > >> On Wed, Sep 15, 2010 at 09:31:19PM +0200, Alan Barrett wrote: > >> > I use an external node classifier purely for the purpose of > >> > setting the environment [...] > > I have tested with incorrect environments on the client's command > > line or in t

Re: [Puppet Users] modulepath in puppet.conf ignored?

2010-09-17 Thread Dan Bode
Hi Leslie, On Fri, Sep 17, 2010 at 7:30 AM, Leslie Giles wrote: > I'm just starting out with puppet. I've taken the training, but even with > that, I'm finding the learning curve rather steep. > it is a lot to learn, if you have any additional feedback of how we could improve things, I would b

Re: [Puppet Users] Can I access data structure internal to providers

2010-09-17 Thread Nigel Kersten
On Fri, Sep 17, 2010 at 4:32 AM, John Warburton wrote: > Hi > > I would like to be able to access the hash "info2hash" in > lib/puppet/provider/package/sun.rb which is a list of all Solaris packages > on a Sun server > > Is it possible to query this so that I don't have to run "pkginfo -l" > mysel

Re: [Puppet Users] cucumber-puppet and environments

2010-09-17 Thread Nigel Kersten
On Fri, Sep 17, 2010 at 6:10 AM, Alan Barrett wrote: > On Thu, 16 Sep 2010, Bruce Richardson wrote: >> On Wed, Sep 15, 2010 at 09:31:19PM +0200, Alan Barrett wrote: >> > I use an external node classifier purely for the purpose of setting >> > the environment [...] >> You're still trusting the clie

[Puppet Users] modulepath in puppet.conf ignored?

2010-09-17 Thread Leslie Giles
I'm just starting out with puppet. I've taken the training, but even with that, I'm finding the learning curve rather steep. My problem right now is that it seems to be ignoring modulepath in /etc/puppet/puppet.conf. Here's my /etc/puppet/puppet.conf on the master, logsplitter:

Re: [Puppet Users] cucumber-puppet and environments

2010-09-17 Thread Alan Barrett
On Thu, 16 Sep 2010, Bruce Richardson wrote: > On Wed, Sep 15, 2010 at 09:31:19PM +0200, Alan Barrett wrote: > > I use an external node classifier purely for the purpose of setting > > the environment [...] > You're still trusting the client. Yes, for file serving, as I discovered a few messages e

[Puppet Users] Can I access data structure internal to providers

2010-09-17 Thread John Warburton
Hi I would like to be able to access the hash "info2hash" in lib/puppet/provider/package/sun.rb which is a list of all Solaris packages on a Sun server Is it possible to query this so that I don't have to run "pkginfo -l" myself, and probably create a fact for each package with its version number