100
100
install_chef_from_gems(ruby_version, chef_version, cloud.distro)
101
101
# and finally, run chef-client
102
102
log.debug('Running chef-client')
104
'-d', '-i', '1800', '-s', '20'], capture=False)
105
104
elif install_type == 'packages':
106
105
# this will install and run the chef-client from packages
107
106
cloud.distro.install_packages(('chef',))