Re: [Puppet Users] What the?? (gem install puppet not working) sorta... read on...

2011-10-29 Thread James Turnbull
Peter Berghold wrote: > Hi folks, > > In the past when I've wanted to install puppet to a system I"ve just > done a "gem install puppet facter' and it has workd. > > After runing the gem install I tried running puppetd and was told "not > found." OK, so I started to dig and discovered that pupp

[Puppet Users] What the?? (gem install puppet not working) sorta... read on...

2011-10-29 Thread Peter Berghold
Hi folks, In the past when I've wanted to install puppet to a system I"ve just done a "gem install puppet facter' and it has workd. After runing the gem install I tried running puppetd and was told "not found." OK, so I started to dig and discovered that puppetd was indeed installed on the syste

Re: [Puppet Users] Re: Puppet & class dependency

2011-10-29 Thread Jean Baptiste FAVRE
Hello Andrew, Thanks for your answer. Infact, pkgrepo *is* already like you suggest: class pkgrepo { Nginx::Vhost["website.domain.tld"] -> Class['Pkgrepo'] include pkgrepo::install,pkgrepo::config } Just forget about Nginx::Vhost["packages.iscoolapp.com"] and replace it wherever you see i

[Puppet Users] Unable to define order of modules

2011-10-29 Thread Baptiste Grenier
Hello, I am trying to define the modules' run order like this: --8< ... % cat test.pp class baseclass { include sudo } class sudo { file { '/tmp/sudoers': ensure => 'present', content => template('/tmp/sudoers.erb'), } notify {

[Puppet Users] Re: Puppet & class dependency

2011-10-29 Thread Andrew Hendry
Hi Jean, Is Nginx::Vhost["packages.iscoolapp.com"] getting set up somewhere else in your code? If not should your pkgrepo be like this? class pkgrepo { Nginx::Vhost["website.domain.tld"] -> Class['Pkgrepo'] include pkgrepo::install,pkgrepo::config } Or pkgrepo::repository