Created
January 3, 2016 09:29
-
-
Save BronsonQuick/e25e3a376ca24d1c20b6 to your computer and use it in GitHub Desktop.
View all the puppet variables on this client
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 all_facts_file { | |
file { '/tmp/facts.yaml': | |
content => inline_template('<%= scope.to_hash.reject { |k,v| !( k.is_a?(String) && v.is_a?(String) ) }.to_yaml %>'), | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment