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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 04643dd072d64a6cb347851a349e7bdb5b5413760518a4aad5c6d8af10f8ac73
4
- data.tar.gz: 1a13a0e8fbe1ab5e8f173a048b44ff4c70d87ff9a3bf4ade06d863c92570b5f0
3
+ metadata.gz: d363822079dc68472a28420dbdf37989b2c2ddf6098cb5ef2920ec84242773a4
4
+ data.tar.gz: 908d85569d1157a45fc6115d11ec74fe9f41f3006020f9bb6e2692ae288cf526
5
5
  SHA512:
6
- metadata.gz: 34ec6b673840cde4f21c706482c363885b6806fe93118b919e6448d5042f66cb8bdf1eb8e0d1177e15259de58a91a92774c3f9f016ea79bfec93ac9a8dfbcbbd
7
- data.tar.gz: a6532e43c353b3434e9d543109f373a0ccf3ec89b8504dda1182f30b42f8cde1a2577cbe4255eb56a30c83e0fc6db669ae7d9e8204fa015c905bdda580f01f34
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)
@@ -2,7 +2,7 @@
2
2
 
3
3
  module Nexoform
4
4
  def self.version
5
- '0.1.6'
5
+ '0.1.7'
6
6
  end
7
7
 
8
8
  def self.date
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nexoform
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Porter