Mastodon Mastodon - Puppet Quiz: What’s wrong here?
 logo
  • Home 
  • Tags 
  • Blog posts 
  1. Home
  2. Blog posts
  3. Puppet Quiz: What’s wrong here?

Puppet Quiz: What’s wrong here?

Posted on July 2, 2015  (Last modified on March 9, 2022) • 1 min read • 42 words
Puppet   Solved  
Puppet   Solved  
Share via

The error is: Dependency cycle.

The code is:

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

Why? 🙂

It’s rather simple here, in the real class it really took me a while to find it.

 Docker and proxies
OpenStack IPs, part II 
In case you want to follow me

Here are some links. The further to the right, the less active.

           
(c) Axel Bock | Powered by Hinode.
Link copied to clipboard
Code copied to clipboard