mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-19 03:52:25 -05:00
10 lines
325 B
Ruby
10 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
|