File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33require 'yaml'
44require 'rainbow'
55
6- VERSION = '0.1 .0'
6+ VERSION = '1.0 .0'
77CONFIG_DIR = "#{ ENV [ 'HOME' ] } /.restacker"
88CONFIG_FILE = "#{ CONFIG_DIR } /restacker.yml"
99SAMPLE_FILE = "#{ __dir__ } /../restacker-sample.yml"
1010
1111# needed here (after config_dir and defaults_file)
1212require_relative 'auth'
1313
14- CREATE_COMPLETE = 'CREATE_COMPLETE'
15- CREATE_IN_PROGRESS = 'CREATE_IN_PROGRESS'
16- DELETE_IN_PROGRESS = 'DELETE_IN_PROGRESS'
17- DELETE_COMPLETE = 'DELETE_COMPLETE'
14+ STATUS = {
15+ CC : 'CREATE_COMPLETE' ,
16+ CIP : 'CREATE_IN_PROGRESS' ,
17+ CF : 'CREATE_FAILED' ,
18+
19+ DC : 'DELETE_COMPLETE' ,
20+ DIP : 'DELETE_IN_PROGRESS' ,
21+ DF : 'DELETE_FAILED' ,
22+
23+ UC : 'UPDATE_COMPLETE' ,
24+ UIP : 'UPDATE_IN_PROGRESS' ,
25+ UF : 'UPDATE_FAILED'
26+ }
1827
1928class BaseStacker
2029 def initialize ( options )
You can’t perform that action at this time.
0 commit comments