Merge pull request #3 from jeffmccune/feedback/master/composite_transitive_relationships

Feedback/master/composite transitive relationships
This commit is contained in:
James Fryman 2011-06-14 20:07:15 -07:00
commit 7e4b8bfbb4

View file

@ -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']
# 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']
}