Skip to content

Commit

Permalink
Merge pull request #144 from cheesefactory/amazon-linux
Browse files Browse the repository at this point in the history
Amazon linux
  • Loading branch information
bflad committed May 7, 2014
2 parents 9910b70 + da12985 commit b03c9c5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions attributes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
end
default['docker']['group_members'] = []
default['docker']['init_type'] = value_for_platform(
%w(centos debian oracle redhat) => {
%w(amazon centos debian oracle redhat) => {
'default' => 'sysv'
},
%w(fedora) => {
Expand All @@ -23,7 +23,7 @@
'default' => 'upstart'
)
default['docker']['install_type'] = value_for_platform(
%w(centos debian fedora redhat ubuntu) => {
%w(amazon centos debian fedora redhat ubuntu) => {
'default' => 'package'
},
'default' => 'binary'
Expand Down
2 changes: 1 addition & 1 deletion recipes/package.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
case node['platform']
when 'centos', 'redhat'
when 'amazon', 'centos', 'redhat'
include_recipe 'yum-epel'

package 'docker-io' do
Expand Down

0 comments on commit b03c9c5

Please sign in to comment.