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
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',
>
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
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
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 ( $
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'),
> }
>