1a3d758d4b
This shows the module user how relationships can be easily added to the main nginx class without peeking inside the guts of the module.
9 خطوط
268 B
Puppet
9 خطوط
268 B
Puppet
# 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': }
|
|
}
|