Gabor Orosz
|
35815c0ec4
|
Introduce template option for linux.system.file
Change-Id: Ifb45b2cf72d71caa9c8a63f8e7684fd15b81e450
Implements: jira/CLOUDB-487
Signed-off-by: Gabor Orosz <gabor.orosz@ericsson.com>
|
6 years ago |
Bruno Binet
|
da2b13611a
|
Use json serializer instead of yaml to fix serialization of long lines
Yaml serializer splits long lines into multiple lines, which causes salt
parsing of generated yaml to fail.
|
6 years ago |
Bruno Binet
|
9c2fe220a8
|
Add support file.serialize in linux:system:file
Ensure presence of file to be serialized through one of the serializer modules
(see: https://docs.saltstack.com/en/latest/ref/serializers/all/index.html):
|
6 years ago |
Michael Fladischer
|
1e41e3065d
|
Use items() instead of iteritems() for Python3 compatibility.
iteritems() was dropped in recent Python3 releases and items() is compatible
with Python 2.7.
|
6 years ago |
Richard Felkl
|
f40599a3c8
|
linux.system.file - hash only if source is defined and ability to set name by param
Change-Id: Ia286ac4377c6b03ce16c9dc1a5c7d3441efe7e12
|
6 years ago |
Bruno Binet
|
4a19d09d4d
|
Fix file mode in file.managed state
file.managed use "mode" option and not "file_mode" to configure the
perms of the managed file.
See: https://docs.saltstack.com/en/latest/ref/states/all/salt.states.file.html#salt.states.file.managed
|
6 years ago |
Bruno Binet
|
b0bc29e120
|
Add contents_pillar support for files managed by pillar
|
7 years ago |
Richard Felkl
|
2e07d650c1
|
Added support for managing files by pillar
Change-Id: Ibd0a024bcd69089d9835a18f2bb803c952e13967
|
7 years ago |