1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
class relationships::notify {
notify { 'foo':
notify => Notify['bar']
}
notify { 'bar':
subscribe => Notify['baz'],
}
notify { 'baz': }
notify { 'gronk': }
Notify['gronk'] <~ Notify['baz']
class { '::relationships::notify::pre': } ~>
class { '::relationships::notify::middle': } ~>
class { '::relationships::notify::post': }
}
class relationships::notify::pre {
notify { 'pre': }
}
class relationships::notify::middle {
notify { 'middle': }
}
class relationships::notify::post {
notify { 'post': }
}
|