I am just getting this blog whipped together.  There will be meatier content very soon.

Below will be some stuff I am testing with.  Feel free to ignore.

This will get more exciting later.

  if $ensure != 'absent' {
    contain 'docker::repos'
    contain 'docker::install'
    contain 'docker::config'
    contain 'docker::service'

    Class['docker::repos'] -> Class['docker::install'] -> Class['docker::config'] -> Class['docker::service']
    Class['docker'] -> Docker::Registry <||> -> Docker::Image <||>
    Class['docker'] -> Docker::Image <||>
    Class['docker'] -> Docker::Run <||>
  } else {
    contain 'docker::repos'
    contain 'docker::install'

    Class['docker::repos'] -> Class['docker::install']
  }

Leave a Comment

Your email address will not be published. Required fields are marked *