Tags » Puppet

The puppet's wish

Please god, Make me Millionaire. I want this and that too.

God says, everybody wants this. I can make everybody Millionaire but then You will say, to make you Billionaire.

18 more words
Amazon

Puppet cheat sheet

# if statement:

if ('*' in $config['x']) or ($::fqdn in $config['x']) {
notice ('do x')
}

# case statement:

case $x {
/^(x|y|z)abc$/:
notify ('(x|y|z)abc')
18 more words

Automation

Puppet spec fixtures

That’s how you specify branches in puppetlabs’ spec_helper fixtures.yml:

fixtures:
  forge_modules:
    stdlib:
      repo: "puppetlabs/stdlib"
      ref: "4.6.0"
  symlinks:
    mapr_helpers: "#{source_dir}"
  repositories:
    mapr:
      repo: "http://myurl/puppet-mapr.git"
      # this is a branch. 9 more words
Puppet

Scaffold your Puppet modules !

Hej,

I’ve recently worked with a project scaffolding tool called Yeoman (see Yeoman homepage).

My first experiments where with an AngularJS generator used to bootstrap an AngularJS web application and I must say that the tool is doing it’s job fine. 234 more words

Puppet

Puppet Quiz: What's wrong here?

The error is: Dependency cycle.

The code is:

class my::own::docker {
    include ::docker
    file { '/var/lib/docker':
        ensure => directory,
        before => Class['docker'],
    }
}

Why? :) 18 more words

Puppet

Puppet and Foreman : infrastructure as legos

Ahoj,

It’s been a while since I posted my last article. I’ve began writing this article 6 months ago when I wanted to prepare a simple introduction to Puppet and Foreman for all the curious people at my workplace. 512 more words

Puppet