summaryrefslogtreecommitdiff
path: root/cloudinit/CloudConfig/cc_chef.py
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2012-01-12 16:49:17 +0100
committerScott Moser <smoser@ubuntu.com>2012-01-12 16:49:17 +0100
commit029ac0b55f686180167fa3c929fb41ad3574b656 (patch)
tree1ae03c6c3b13e3d7c2cc78b36ec15ab06869d96b /cloudinit/CloudConfig/cc_chef.py
parent982856531a3498d784e3977f307a9cbf2a673977 (diff)
downloadvyos-cloud-init-029ac0b55f686180167fa3c929fb41ad3574b656.tar.gz
vyos-cloud-init-029ac0b55f686180167fa3c929fb41ad3574b656.zip
[PATCH 01/13] Fix pylint warnings W0311 (bad indentation)
From: Juerg Haefliger <juerg.haefliger@hp.com>
Diffstat (limited to 'cloudinit/CloudConfig/cc_chef.py')
-rw-r--r--cloudinit/CloudConfig/cc_chef.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cloudinit/CloudConfig/cc_chef.py b/cloudinit/CloudConfig/cc_chef.py
index 14960a3c..f093d0b2 100644
--- a/cloudinit/CloudConfig/cc_chef.py
+++ b/cloudinit/CloudConfig/cc_chef.py
@@ -90,9 +90,9 @@ def get_ruby_packages(version):
def install_chef_from_gems(ruby_version, chef_version = None):
cc.install_packages(get_ruby_packages(ruby_version))
if not os.path.exists('/usr/bin/gem'):
- os.symlink('/usr/bin/gem%s' % ruby_version, '/usr/bin/gem')
+ os.symlink('/usr/bin/gem%s' % ruby_version, '/usr/bin/gem')
if not os.path.exists('/usr/bin/ruby'):
- os.symlink('/usr/bin/ruby%s' % ruby_version, '/usr/bin/ruby')
+ os.symlink('/usr/bin/ruby%s' % ruby_version, '/usr/bin/ruby')
if chef_version:
subprocess.check_call(['/usr/bin/gem','install','chef',
'-v %s' % chef_version, '--no-ri',