summaryrefslogtreecommitdiff
path: root/cloudinit/util.py
diff options
context:
space:
mode:
authorRomanos Skiadas <rski@intracom-telecom.com>2018-02-22 16:40:05 -0500
committerScott Moser <smoser@ubuntu.com>2018-02-26 14:47:50 -0500
commitd67636f7cc3df3df69b438c27ae0cd8a4416048d (patch)
tree9f692cb96f7f3294358fdf005e501885c5408f78 /cloudinit/util.py
parent46cb6716c27d4496ce3d2bea7684803f522f277d (diff)
downloadvyos-cloud-init-d67636f7cc3df3df69b438c27ae0cd8a4416048d.tar.gz
vyos-cloud-init-d67636f7cc3df3df69b438c27ae0cd8a4416048d.zip
Implement puppet 4 support
Make puppet installation more configurable by: - Adding a package_name parameter - Exposing the puppet configuration and puppet ssl directories as parameters. These default to the previous values if unset, but can be set to the new values puppetlabs requires for its puppet 4.x packages. This way puppet 4 configuration is now possible. LP: #1446804
Diffstat (limited to 'cloudinit/util.py')
-rw-r--r--cloudinit/util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/util.py b/cloudinit/util.py
index 5a919cfe..02dc2ce8 100644
--- a/cloudinit/util.py
+++ b/cloudinit/util.py
@@ -1746,7 +1746,7 @@ def chmod(path, mode):
def write_file(filename, content, mode=0o644, omode="wb", copy_mode=False):
"""
Writes a file with the given content and sets the file mode as specified.
- Resotres the SELinux context if possible.
+ Restores the SELinux context if possible.
@param filename: The full path of the file to write.
@param content: The content to write to the file.