Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- Example .sls entry
- # Configure the jmx-console-users.properties
- /jboss-eap-5.1/jboss-as/server/default/conf/props/jmx-console-users.properties:
- file:
- - managed
- - template: jinja
- - name: 'c:/jboss-eap-5.1/jboss-as/server/default/conf/props/jmx-console-users.properties'
- - source: 'salt://win/repo/jboss-as/jmx-console-users.properties.jinja2'
- - require:
- - cmd: 'extract-jboss-as'
- ---Error Message
- State: - file
- Name: c:/jboss-eap-5.1/jboss-as/server/default/conf/props/jmx-console-users.properties
- Function: managed
- Result: False
- Comment: An exception occurred in this state: Traceback (most recent call last):
- File "c:\salt\python27\lib\site-packages\salt\state.py", line 1237, in call
- *cdata['args'], **cdata['kwargs'])
- File "c:\salt\python27\lib\site-packages\salt\states\file.py", line 868, in managed
- contents)
- File "c:\salt\python27\lib\site-packages\salt\modules\file.py", line 1600, in manage_file
- bdiff = _binary_replace(name, sfn)
- NameError: global name '_binary_replace' is not defined
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement