Package backend :: Package server :: Package action :: Module configfiles
[hide private]
[frames] | no frames]

Module configfiles

source code

Functions [hide private]
 
mtime_upload(server_id, action_id, dry_run=0) source code
 
upload(server_id, action_id, dry_run=0) source code
 
deploy(server_id, action_id, dry_run=0) source code
 
verify(server_id, action_id, dry_run=0) source code
 
diff(server_id, action_id, dry_run=0) source code
 
_get_files(server_id, action_id) source code
Variables [hide private]
  __rhnexport__ = ['upload', 'deploy', 'verify', 'diff', 'mtime_...
  _query_upload_files = <spacewalk.server.rhnSQL.sql_base.Statem...
  _query_mtime_upload_info = <spacewalk.server.rhnSQL.sql_base.S...
  _query_mtime_upload_paths = <spacewalk.server.rhnSQL.sql_base....
  _query_get_files = <spacewalk.server.rhnSQL.sql_base.Statement...
  __package__ = 'backend.server.action'
Variables Details [hide private]

__rhnexport__

Value:
['upload', 'deploy', 'verify', 'diff', 'mtime_upload']

_query_upload_files

Value:
<spacewalk.server.rhnSQL.sql_base.Statement instance at 13998081440600\
0; statement=
    select cfn.path
      from rhnActionConfigFileName acfn, rhnConfigFileName cfn
     where acfn.server_id = :server_id
       and acfn.action_id = :action_id
       and acfn.config_file_name_id = cfn.id

_query_mtime_upload_info

Value:
<spacewalk.server.rhnSQL.sql_base.Statement instance at 13998081440607\
2; statement=
    select TO_CHAR(start_date, 'YYYY-MM-DD HH24:MI:SS') as start_date,
           TO_CHAR(end_date, 'YYYY-MM-DD HH24:MI:SS') as end_date,
           TO_CHAR(sysdate, 'YYYY-MM-DD HH24:MI:SS') as now,
           import_contents
      from rhnActionConfigDate
     where action_id = :action_id
...

_query_mtime_upload_paths

Value:
<spacewalk.server.rhnSQL.sql_base.Statement instance at 13998081440614\
4; statement=
    select file_name,
           file_type
      from rhnActionConfigDateFile
     where action_id = :action_id

_query_get_files

Value:
<spacewalk.server.rhnSQL.sql_base.Statement instance at 13998081440621\
6; statement=
    select cfn.path,
           cc.label config_channel,
           ccont.contents file_contents,
           ccont.is_binary is_binary,
           c.checksum_type,
           c.checksum,
...