Created
December 11, 2013 04:52
-
-
Save alex-harvey-z3q/7905234 to your computer and use it in GitHub Desktop.
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
[root@master ~]# export FACTER_operatingsystem=blah | |
[root@master ~]# puppet apply -e 'notify { "${::osfamily}": }' | |
Notice: Linux | |
Notice: /Stage[main]//Notify[Linux]/message: defined 'message' as 'Linux' | |
Notice: Finished catalog run in 0.24 seconds | |
[root@master ~]# unset FACTER_operatingsystem | |
[root@master ~]# puppet apply -e 'notify { "${::osfamily}": }' | |
Notice: RedHat | |
Notice: /Stage[main]//Notify[RedHat]/message: defined 'message' as 'RedHat' | |
Notice: Finished catalog run in 0.23 seconds |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment