Actions
Action handlers for Simple-cdd-yaml recipes
Action
Abstract action base class
Source code in simple_cdd_yaml/actions.py
63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 |
|
append_result(new_result, key='actions')
combine_results(result)
Combine two result sets
Source code in simple_cdd_yaml/actions.py
execute(props)
Execute an action
Source code in simple_cdd_yaml/actions.py
extend_result(new_result, key='actions')
perform_action(props)
perform_debos_action(props)
prepend_result(new_result, key='actions')
unique_filename(base='script', ext='sh', description=None)
Create a name from description or using uuid
Source code in simple_cdd_yaml/actions.py
ActionError
AptAction
Bases: Action
Apt action
Source code in simple_cdd_yaml/actions.py
perform_action(props)
Process APT action
Source code in simple_cdd_yaml/actions.py
ConfAction
Bases: Action
Conf action
Source code in simple_cdd_yaml/actions.py
DebosAction
Bases: Action
Debos action
Source code in simple_cdd_yaml/actions.py
create_action(action_type, args)
process_actions(action_list, action_key)
Process given list of actions
Source code in simple_cdd_yaml/actions.py
DownloadsAction
Bases: Action
Downloads action
Source code in simple_cdd_yaml/actions.py
ExtraAction
Bases: Action
Extra action
Source code in simple_cdd_yaml/actions.py
OverlayAction
Bases: Action
Overlay action
Source code in simple_cdd_yaml/actions.py
compress_overlay(props, output_dir)
Compress overlay into tarball
Source code in simple_cdd_yaml/actions.py
destination(props)
If destination is provided, this overrules the user setting
Source code in simple_cdd_yaml/actions.py
OwnerTarFilter
Parametrizable tar filer
Source code in simple_cdd_yaml/actions.py
tar_filter(tarinfo)
tar filter for modifying user/group name properties
PreseedAction
RecipeAction
Bases: Action
Recipe action
Source code in simple_cdd_yaml/actions.py
create_action(action_type, args)
get_result()
process_actions(props)
Perform all actions contained in the recipe
Source code in simple_cdd_yaml/actions.py
RunAction
Bases: Action
Run action
Source code in simple_cdd_yaml/actions.py
command(props)
Shell code to run a command
Source code in simple_cdd_yaml/actions.py
create_run_script(props)
Create script from run action
Source code in simple_cdd_yaml/actions.py
script(props)
Shell commands to run a script