Skip to content

Commit

Permalink
Only use Amazon Linux 2013.09 assets in RHEL 6.
Browse files Browse the repository at this point in the history
  • Loading branch information
workeitel committed May 22, 2015
1 parent 0e66956 commit 3ada916
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opsworks_commons/providers/assets_installer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def asset_url
_platform_version = node[:platform_version]
# Hack to get RedHat 6 to online state until we have proper userspace
# Ruby packages or removed Ruby dependency from custom layer.
if ["redhat", "centos"].include?(_platform)
if ["redhat", "centos"].include?(_platform) && _platform_version.start_with?("6.")
_platform = "amazon"
#ToDo: this should be a global attribute in the commons cookbook
_platform_version = "2013.09"
Expand Down

0 comments on commit 3ada916

Please sign in to comment.