Skip to content

Commit

Permalink
Merge pull request #26 from jayofdoom/master
Browse files Browse the repository at this point in the history
feature(upgrade): Add ability to set package action
  • Loading branch information
bflad committed Nov 18, 2013
2 parents 4673c2c + 9fe809b commit 5719dbc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions attributes/default.rb
Expand Up @@ -34,6 +34,7 @@
default['docker']['package']['distribution'] = 'docker'
default['docker']['package']['repo_url'] = 'https://get.docker.io/ubuntu'
default['docker']['package']['repo_key'] = 'https://get.docker.io/gpg'
default['docker']['package']['action'] = 'install'
end

# Source attributes
Expand Down
1 change: 1 addition & 0 deletions recipes/package.rb
Expand Up @@ -10,4 +10,5 @@

package 'lxc-docker' do
options '--force-yes'
action node['docker']['package']['action'].intern
end

0 comments on commit 5719dbc

Please sign in to comment.