Package config_management :: Module rhncfg_diff :: Class Handler
[hide private]
[frames] | no frames]

Class Handler

source code


Nested Classes [hide private]
Instance Methods [hide private]
 
run(self) source code
 
__attributes_differ(self, fsrc, fdst)
Returns true if acl, ownership, type or selinux context differ.
source code
 
diff_file(self, channel, path, local_file, revision) source code

Inherited from config_common.handler_base.HandlerBase: __init__, authenticate, get_auth_info, set_exec_name, set_mode, usage

Class Variables [hide private]
  _usage_options = '[options] file [ file ... ]'
  _options_table = [<Option at 0x7f4fc2db3c20: -c/--channel>, <O...
Method Details [hide private]

__attributes_differ(self, fsrc, fdst)

source code 

Returns true if acl, ownership, type or selinux context differ. fsrc is config file retrieved from xmlrpc, fdst is output of make_stat_info()


Class Variable Details [hide private]

_options_table

Value:
[<Option at 0x7f4fc2db3c20: -c/--channel>,
 <Option at 0x7f4fc2db3c68: -r/--revision>,
 <Option at 0x7f4fc2db3cb0: -d/--dest-file>,
 <Option at 0x7f4fc2db3cf8: -t/--topdir>]