Add ordering examples
This commit is contained in:
parent
5a88e722db
commit
ba7f8d5d80
2 changed files with 26 additions and 0 deletions
7
manifests/4-order-example.pp
Normal file
7
manifests/4-order-example.pp
Normal file
|
@ -0,0 +1,7 @@
|
|||
notify { 'First': }
|
||||
notify { 'Second': }
|
||||
notify { 'Third': }
|
||||
notify { 'Fourth': }
|
||||
notify { 'Fifth': }
|
||||
notify { 'Sixth': }
|
||||
notify { 'Seventh': }
|
19
manifests/5-ordered-example.pp
Normal file
19
manifests/5-ordered-example.pp
Normal file
|
@ -0,0 +1,19 @@
|
|||
notify { 'First': }
|
||||
notify { 'Second':
|
||||
require => Notify['First'],
|
||||
}
|
||||
notify { 'Third':
|
||||
require => Notify['Second'],
|
||||
}
|
||||
notify { 'Fourth':
|
||||
require => Notify['Third'],
|
||||
}
|
||||
notify { 'Fifth':
|
||||
require => Notify['Fourth'],
|
||||
}
|
||||
notify { 'Sixth':
|
||||
require => Notify['Fifth'],
|
||||
}
|
||||
notify { 'Seventh':
|
||||
require => Notify['Sixth'],
|
||||
}
|
Loading…
Reference in a new issue