nexoform 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/nexoform +9 -0
- data/lib/nexoform/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d363822079dc68472a28420dbdf37989b2c2ddf6098cb5ef2920ec84242773a4
|
4
|
+
data.tar.gz: 908d85569d1157a45fc6115d11ec74fe9f41f3006020f9bb6e2692ae288cf526
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 45906a116b4cd2b521110a520f8410ecc46775855dadd758892dba82e8426f0c885a102653f3ab027f7c099f495c734d36d98c89ac36a7b067cfde97cb9a955b
|
7
|
+
data.tar.gz: 73d855031ba118f4493e4da5a045c87d4cbb48768dd491489d66d5df8e76712af65a16861312c296693e19b3b1400659c2b0edaf97e7a52c153f59e7721bb4ed
|
data/bin/nexoform
CHANGED
@@ -349,6 +349,11 @@ class NexoformBin < Thor
|
|
349
349
|
|
350
350
|
def terraform_apply(options)
|
351
351
|
varfile = apply_with_plan_file?(options) ? '' : var_file_arg(options)
|
352
|
+
|
353
|
+
puts "[DEBUG]: terraform_apply - options: '#{options}'" if options['debug']
|
354
|
+
puts "[DEBUG]: terraform_apply - apply_with_plan_file?: '#{apply_with_plan_file?(options)}'" if options['debug']
|
355
|
+
puts "[DEBUG]: terraform_apply - options[:plan]: '#{options[:plan]}'" if options['debug']
|
356
|
+
|
352
357
|
planfile = apply_with_plan_file?(options) ? options[:plan] : ''
|
353
358
|
yes = options[:assume_yes] ? "yes 'yes' | " : ''
|
354
359
|
puts "[DEBUG]: terraform_apply - yes value: '#{yes}'" if options['debug']
|
@@ -357,6 +362,7 @@ class NexoformBin < Thor
|
|
357
362
|
end
|
358
363
|
|
359
364
|
def exec_output(options)
|
365
|
+
puts "[DEBUG]: exec_output - options: '#{options}'" if options['debug']
|
360
366
|
sanity_check(options)
|
361
367
|
generate_files(options, chdir: true) if has_erb_files?
|
362
368
|
run_init(options)
|
@@ -365,17 +371,20 @@ class NexoformBin < Thor
|
|
365
371
|
end
|
366
372
|
|
367
373
|
def exec_init(options)
|
374
|
+
puts "[DEBUG]: exec_init - options: '#{options}'" if options['debug']
|
368
375
|
sanity_check(options)
|
369
376
|
generate_files(options, chdir: true) if has_erb_files?
|
370
377
|
run_init(options)
|
371
378
|
end
|
372
379
|
|
373
380
|
def exec_clean(options)
|
381
|
+
puts "[DEBUG]: exec_clean - options: '#{options}'" if options['debug']
|
374
382
|
sanity_check(options)
|
375
383
|
clean_output_dir(options, mkdir: false)
|
376
384
|
end
|
377
385
|
|
378
386
|
def exec_apply(options)
|
387
|
+
puts "[DEBUG]: exec_apply - options: '#{options}'" if options['debug']
|
379
388
|
sanity_check(options)
|
380
389
|
generate_files(options, chdir: true) if has_erb_files? && !options[:plan]
|
381
390
|
options = prompt_for_plan_file(options)
|
data/lib/nexoform/version.rb
CHANGED