summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Lane <rlane@wikimedia.org>2011-01-28 12:17:01 +0000
committerRyan Lane <rlane@wikimedia.org>2011-01-28 12:17:01 +0000
commitb17f551894e67d0fa07026f587c906b157810a9c (patch)
tree2b790b655ede4771f651f327867dbf72f5beeada
parent7d26b49482f5e7a4205d3a7999cd9db11a696993 (diff)
downloadvyos-cloud-init-b17f551894e67d0fa07026f587c906b157810a9c.tar.gz
vyos-cloud-init-b17f551894e67d0fa07026f587c906b157810a9c.zip
Removing quotes from puppet config option values
LP: #709946
-rw-r--r--cloudinit/CloudConfig/cc_puppet.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/CloudConfig/cc_puppet.py b/cloudinit/CloudConfig/cc_puppet.py
index 8ccfb2df..9cfe7a49 100644
--- a/cloudinit/CloudConfig/cc_puppet.py
+++ b/cloudinit/CloudConfig/cc_puppet.py
@@ -67,7 +67,7 @@ def handle(name,cfg,cloud,log,args):
cloud.datasource.get_instance_id())
# certname needs to be downcase
v = v.lower()
- puppet_conf_fh.write("%s=\"%s\"\n" % (o, v))
+ puppet_conf_fh.write("%s=%s\n" % (o, v))
puppet_conf_fh.close()
# Set puppet default file to automatically start
subprocess.check_call(['sed', '-i',