mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
We're apparently unable to have an empty last line in yaml literal strings.
This commit is contained in:
parent
5af62d01ac
commit
33fa855bc4
2 changed files with 4 additions and 2 deletions
|
@ -1,5 +1,4 @@
|
|||
/tmp/salttest/issue-1879:
|
||||
|
||||
file.append:
|
||||
- text: |
|
||||
# set variable identifying the chroot you work in (used in the prompt below)
|
||||
|
|
|
@ -117,8 +117,11 @@ fi
|
|||
if [ -f /etc/bash_completion ] && ! shopt -oq posix; then
|
||||
. /etc/bash_completion
|
||||
fi
|
||||
|
||||
'''
|
||||
# Delete if exiting
|
||||
if os.path.isfile('/tmp/salttest/issue-1879'):
|
||||
os.unlink('/tmp/salttest/issue-1879')
|
||||
|
||||
# Create the file
|
||||
self.run_function('state.sls', mods='issue-1879')
|
||||
# The first append
|
||||
|
|
Loading…
Add table
Reference in a new issue