Advertisement
Guest User

Untitled

a guest
Jul 11th, 2013
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.09 KB | None | 0 0
  1. --- Example .sls entry
  2. # Configure the jmx-console-users.properties
  3. /jboss-eap-5.1/jboss-as/server/default/conf/props/jmx-console-users.properties:
  4.   file:
  5.     - managed
  6.     - template: jinja
  7.     - name: 'c:/jboss-eap-5.1/jboss-as/server/default/conf/props/jmx-console-users.properties'
  8.     - source: 'salt://win/repo/jboss-as/jmx-console-users.properties.jinja2'
  9.     - require:
  10.       - cmd: 'extract-jboss-as'
  11.  
  12.  
  13. ---Error Message
  14.     State: - file
  15.     Name:      c:/jboss-eap-5.1/jboss-as/server/default/conf/props/jmx-console-users.properties
  16.     Function:  managed
  17.         Result:    False
  18.         Comment:   An exception occurred in this state: Traceback (most recent call last):
  19.   File "c:\salt\python27\lib\site-packages\salt\state.py", line 1237, in call
  20.     *cdata['args'], **cdata['kwargs'])
  21.   File "c:\salt\python27\lib\site-packages\salt\states\file.py", line 868, in managed
  22.     contents)
  23.   File "c:\salt\python27\lib\site-packages\salt\modules\file.py", line 1600, in manage_file
  24.     bdiff = _binary_replace(name, sfn)
  25. NameError: global name '_binary_replace' is not defined
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement