discourse/chef/cookbooks/omnibus_updater/recipes/default.rb

11 lines
325 B
Ruby
Raw Normal View History

2013-07-05 10:56:57 -04:00
if(node[:omnibus_updater][:disabled])
Chef::Log.warn 'Omnibus updater disabled via `disabled` attribute'
else
2013-07-05 10:56:57 -04:00
include_recipe 'omnibus_updater::downloader'
include_recipe 'omnibus_updater::installer'
end
2013-07-05 10:56:57 -04:00
if(node[:omnibus_updater][:remove_chef_system_gem])
include_recipe 'omnibus_updater::remove_chef_system_gem'
end