mirror of
https://github.com/discourse/discourse.git
synced 2024-12-21 17:23:45 +08:00
11 lines
325 B
Ruby
11 lines
325 B
Ruby
if(node[:omnibus_updater][:disabled])
|
|
Chef::Log.warn 'Omnibus updater disabled via `disabled` attribute'
|
|
else
|
|
include_recipe 'omnibus_updater::downloader'
|
|
include_recipe 'omnibus_updater::installer'
|
|
end
|
|
|
|
if(node[:omnibus_updater][:remove_chef_system_gem])
|
|
include_recipe 'omnibus_updater::remove_chef_system_gem'
|
|
end
|