Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@salt01:~# salt 'scale*' cmd.run 'cat /etc/example'
- scale-gw.mv.tsgdc.io:
- Variable is: custom-var-data
- a
- b
- c
- d
- e
- f
- g
- root@salt01:~#
- root@salt01:~# salt 'scale*' file.line /etc/example 'blah blah blah', after='b', mode='ensure'
- scale-gw.mv.tsgdc.io:
- ERROR: Found less than expected occurrences in "after" expression
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement