File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -73,6 +73,12 @@ class CsTemplateRegister < Chef::Knife
7373 :boolean => true ,
7474 :default => false
7575
76+ option :isdynamicallyscalable ,
77+ :long => "--isdynamicallyscalable" ,
78+ :description => "Is the template dynamically scalable. Default: NO" ,
79+ :boolean => true ,
80+ :default => false
81+
7682 option :featured ,
7783 :long => "--[no-]featured" ,
7884 :description => "Is the tempalte featured? Default: NO" ,
@@ -159,6 +165,7 @@ def run
159165 'zoneid' => zoneid ,
160166 'bits' => locate_config_value ( :bits ) ,
161167 }
168+ params [ 'isdynamicallyscalable' ] = locate_config_value ( :isdynamicallyscalable ) if locate_config_value ( :isdynamicallyscalable )
162169 params [ 'isextractable' ] = locate_config_value ( :isextractable ) if locate_config_value ( :isextractable )
163170 params [ 'ispublic' ] = locate_config_value ( :public ) if locate_config_value ( :public )
164171 params [ 'isfeatured' ] = locate_config_value ( :featured ) if locate_config_value ( :featured )
You can’t perform that action at this time.
0 commit comments