Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- configure_tomcat_webapp:
- file.managed:
- - source: salt://experiment/test.template
- - template: jinja
- - user: root
- - group: root
- - mode: 0644
- test.template has
- Address {{ grains['fqdn_ip4'][0] }}
- when I run this, I get this:
- [root@chm-salt-master experiment]# salt 'chm-test01' state.apply
- chm-test01:
- ----------
- ID: configure_tomcat_webapp
- Function: file.managed
- Result: False
- Comment: Specified file configure_tomcat_webapp is not an absolute path
- Started: 20:27:05.195290
- Duration: 8.094 ms
- Changes:
- Summary for chm-test01
- ------------
- Succeeded: 0
- Failed: 1
- ------------
- Total states run: 1
- ERROR: Minions returned with non-zero exit code
- [root@chm-salt-master experiment]#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement