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):
diff --git a/README.rst b/README.rst
index 2765990..45139c4 100644
--- a/README.rst
+++ b/README.rst
@@ -389,6 +389,20 @@
/tmp/test.txt:
contents_grains: motd
+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):
+
+.. code-block:: yaml
+
+ linux:
+ system:
+ file:
+ /tmp/test.json:
+ serialize: json
+ contents:
+ foo: 1
+ bar: 'bar'
+
Kernel
~~~~~~