Skip to content

Instantly share code, notes, and snippets.

/ruby.rb Secret

Created June 19, 2015 14:42
Show Gist options
  • Save anonymous/21c3ff8507fcbcd1b933 to your computer and use it in GitHub Desktop.
Save anonymous/21c3ff8507fcbcd1b933 to your computer and use it in GitHub Desktop.
rpms_to_download.each do |path|
if name.start_with?("hieradata_")
if name.include? "prod_"
puts path
end
else
puts path
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment