-
Notifications
You must be signed in to change notification settings - Fork 227
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is the current way of containing classes
- Loading branch information
Showing
3 changed files
with
15 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
# Puppet agent | ||
class puppet::agent { | ||
class { '::puppet::agent::install': } | ||
-> class { '::puppet::agent::config': } | ||
~> class { '::puppet::agent::service': } | ||
-> Class['::puppet::agent'] | ||
contain puppet::agent::install | ||
contain puppet::agent::config | ||
contain puppet::agent::service | ||
|
||
Class['puppet::config'] ~> Class['puppet::agent::service'] | ||
Class['puppet::agent::install'] ~> Class['puppet::agent::config'] | ||
Class['puppet::config', 'puppet::agent::config'] ~> Class['puppet::agent::service'] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters