Skip to content

Instantly share code, notes, and snippets.

@jfryman
Created December 20, 2011 15:09
Show Gist options
  • Save jfryman/1501885 to your computer and use it in GitHub Desktop.
Save jfryman/1501885 to your computer and use it in GitHub Desktop.
class dnsmasq {
include dnsmasq::install
include dnsmasq::config
include dnsmasq::service
Class['dnsmasq::install'] -> Class['dnsmasq::config'] ~> Class['dnsmasq::service']
}
class dnsmasq {
class { 'dnsmasq::install': }
-> class { 'dnsmasq::config': }
-> class { 'dnsmasq::service': }
}
class dnsmasq {
class { 'dnsmasq::install': }
class { 'dnsmasq::config':
require => Class['dnsmasq::install'],
notify => Class['dnsmasq::service'],
}
class { 'dnsmasq::service': }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment