Skip to content
Snippets Groups Projects
Commit a1391e28 authored by Pär Lindfors's avatar Pär Lindfors Committed by Thomas Bellman
Browse files

Quote unquoted file modes.


For compatibility with Puppet 4, which differentiates between strings
and integers, and file modes must be strings (since it could otherwise
be ambigous if a mode was specified as octal or decimal).

Found and fixed using puppet-lint for file, manually for concat::file.

(It would be tempting to use symbolic modes, e.g. 'u=rwx,go=rx', but
at least Puppet 2.7 does not remove setuid, setgid and sticky bits
correctly in this case.)

Signed-off-by: default avatarThomas Bellman <bellman@nsc.liu.se>
parent f31dd20f
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment