Update init.pp test with relationships
This shows the module user how relationships can be easily added to the main nginx class without peeking inside the guts of the module.
This commit is contained in:
parent
f608b8ffd8
commit
1a3d758d4b
1 changed files with 9 additions and 2 deletions
|
@ -1,2 +1,9 @@
|
|||
include nginx
|
||||
|
||||
# The notify before should always come BEFORE all resources
|
||||
# managed by the nginx class
|
||||
# and the notify last should always come AFTER all resources
|
||||
# managed by the nginx class.
|
||||
node default {
|
||||
notify { 'before': }
|
||||
-> class { 'nginx': }
|
||||
-> notify { 'last': }
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue