Last active
December 17, 2015 04:59
-
-
Save zipkid/5554959 to your computer and use it in GitHub Desktop.
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
class facter::package ( $version = 'installed' ) { | |
package { 'facter' | |
ensure => $version; | |
} | |
} | |
This will lookup the version in Hiera | |
facter::package::version: 1.6 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment