2013-07-05 10:56:57 -04:00
|
|
|
if(node[:omnibus_updater][:disabled])
|
2013-02-07 14:09:57 -05:00
|
|
|
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'
|
2013-02-07 14:09:57 -05:00
|
|
|
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
|