Created
October 25, 2018 17:10
-
-
Save dhollinger/ab987bd551f259c6bf2187df72b74ade to your computer and use it in GitHub Desktop.
More like this
This file contains hidden or 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
contain foo::package | |
contain foo::config | |
contain foo:service | |
Class['foo::package'] | |
-> Class['foo::config'] | |
~> Class['foo::servce'] | |
# package.pp | |
if $foo::manage_package { | |
package { 'foo': | |
bar => bar, | |
baz => baz | |
} | |
} |
This file contains hidden or 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
if $manage_package { | |
contain foo::package | |
} | |
if $manage_service { | |
contain foo:service | |
} | |
contain foo::config |
binford2k
commented
Oct 25, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment