-
-
Save anonymous/a6175e41c77edb3df3f402e3f68c19ea 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
let(:facts) do | |
facts.merge({ | |
puppetversion: Puppet.version, | |
ap_env: 'dev', | |
ap_region: 'us-east-1', | |
role: 'ingester' | |
}) | |
end | |
role = facts[role] | |
puts "My Role is #{role}" | |
puts "My FactsRole is #{facts[role]}" | |
puts "My FactsRole2 is #{facts[:role]}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment