[Puppet Users] puppet agent question

2015-01-10 Thread Brian Lock
If the puppet agent isn't running on a server and you issue the command sudo /etc/init.d/puppet stop, and you have also disables execute access on the file /etc/init.d/puppet by chmod -x , why does puppet run from the master at its pre-prescribed time? -- You received this message because yo

Re: [Puppet Users] Puppet: installing package via pip

2015-01-10 Thread Garrett Honeycutt
On 1/9/15 8:40 PM, Jason Price wrote: > Puppet version 3.7.3 > > Master and agent are running on Centos v7.0 > > When the manifest includes the following block, it fails with the error > below: > > code block: > > package {'s3cmd': > ensure => present, > provider => 'pip', >

Re: [Puppet Users] rspec-puppet: let( :title ) isn't setting title

2015-01-10 Thread Gareth Rushgrove
So, as mentioned, the let(:title) method is actually just for defined types: http://rspec-puppet.com/tutorial/#specifying_the_title_of_the_defined_type Given you have a class, title could be coming from a fact, in which case you could use use: let(:facts) { {:title => 'foo'} } Or it should

Re: [Puppet Users] Concatinating hashes

2015-01-10 Thread Michael Wörz
Thanks a lot. i will try this on monday 2015-01-09 17:08 GMT+01:00 Stephen Marlow : > Yknow, completely disregard the above answer :p > > I was looking at stdlib and completely forgot about it before playing with > inline templating. > > values and join in stdlib (https://github.com/puppetlabs/pu

Re: [Puppet Users] defined types question

2015-01-10 Thread Christopher Wood
On Fri, Jan 09, 2015 at 01:51:28PM -0800, Drew wrote: >I'm fooling around with some defined types and am struggling a little. > The following is just a small example of what I'm doing while I work it >out: >#/etc/puppet/modules/testmodule/manifests/init.pp >define testmodule ( $

Re: [Puppet Users] Error: Failed to parse template . Detail: Could not find value for 'serveraliases' at

2015-01-10 Thread Martin Alfke
Hi, > > class otrs::apache { > > include apache > > apache::vhost { $otrs::sitename: > priority=> '01', > docroot => '/var/www', > port=> '80', > serveraliases => [ $::fqdn ], > content=> template('otrs/vhost-otrs.conf.erb'), > } >