From d67636f7cc3df3df69b438c27ae0cd8a4416048d Mon Sep 17 00:00:00 2001 From: Romanos Skiadas Date: Thu, 22 Feb 2018 16:40:05 -0500 Subject: 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 --- cloudinit/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cloudinit/util.py') 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. -- cgit v1.2.3