~cloudcontrol/cloud-init/vagrant-deb-build

« back to all changes in this revision

Viewing changes to cloudinit/config/cc_chef.py

  • Committer: Tobias Wilken
  • Date: 2015-08-05 15:32:55 UTC
  • Revision ID: tooangel@tooangel.de-20150805153255-p0fegf0382g5hcpf
Start chef-client only once

Show diffs side-by-side

added added

removed removed

Lines of Context:
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')
103
 
            util.subp(['/usr/bin/chef-client',
104
 
                       '-d', '-i', '1800', '-s', '20'], capture=False)
 
103
            util.subp(['/usr/bin/chef-client', '-d'], 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',))