Use DATA as a placeholder for file-write operations

This commit is contained in:
Andrea Cardaci
2018-08-20 14:35:43 +02:00
parent 866ca2e404
commit d4b50275bb
29 changed files with 36 additions and 36 deletions

View File

@@ -9,7 +9,7 @@ functions:
- description: The file path must be absolute.
code: |
export LFILE="/tmp/file_to_write"
puppet apply -e "file { '$LFILE': content => 'data' }"
puppet apply -e "file { '$LFILE': content => 'DATA' }"
file-read:
- description: The read file content is corrupted by the `diff` output format. The actual `/usr/bin/diff` command is executed.
code: |