Skip to content

Commit

Permalink
Merge pull request #102 from carmstrong/install_lxc_on_ubuntu
Browse files Browse the repository at this point in the history
Explicitly install lxc on Ubuntu (fixes #101)
  • Loading branch information
bflad committed Mar 29, 2014
2 parents 025c622 + b295622 commit 00fbd9e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,15 @@
end
end

include_recipe 'docker::cgroups' if node['docker']['exec_driver'] == 'lxc'
if node['docker']['exec_driver'] == 'lxc'
include_recipe 'docker::cgroups'
include_recipe 'docker::lxc'
end

unless node['docker']['install_type'] == 'package'
if node['platform'] == 'ubuntu' && Chef::VersionConstraint.new('< 13.10').include?(node['platform_version'])
include_recipe "docker::#{node['docker']['storage_driver']}" if node['docker']['storage_driver']
end
include_recipe 'docker::lxc' if node['docker']['exec_driver'] == 'lxc'
if node['docker']['install_type'] == 'source'
include_recipe 'golang'
include_recipe 'git'
Expand Down

0 comments on commit 00fbd9e

Please sign in to comment.