Merge pull request #3 from jeffmccune/feedback/master/composite_transitive_relationships
Feedback/master/composite transitive relationships
This commit is contained in:
commit
7e4b8bfbb4
1 changed files with 13 additions and 6 deletions
|
@ -3,7 +3,7 @@
|
|||
# This module manages NGINX.
|
||||
#
|
||||
# Parameters:
|
||||
#
|
||||
#
|
||||
# There are no default parameters for this class. All module parameters are managed
|
||||
# via the nginx::params class
|
||||
#
|
||||
|
@ -24,9 +24,16 @@
|
|||
# include nginx
|
||||
# }
|
||||
class nginx {
|
||||
include nginx::package
|
||||
include nginx::config
|
||||
include nginx::service
|
||||
|
||||
Class['nginx::package'] -> Class['nginx::config'] ~> Class['nginx::service']
|
||||
|
||||
include nginx::package
|
||||
include nginx::config
|
||||
include nginx::service
|
||||
|
||||
Class['nginx::package'] -> Class['nginx::config'] ~> Class['nginx::service']
|
||||
|
||||
# Allow the end user to establish relationships to the "main" class
|
||||
# and preserve the relationship to the implementation classes through
|
||||
# a transitive relationship to the composite class.
|
||||
Class['nginx::service'] -> Class['nginx']
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue