cloudspin-stack-rake 0.1.13 → 0.1.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 74ddadd8baaf4af1ae16f3d66b280ed337c38db420bb1ce56073cbc86309b757
4
- data.tar.gz: 8b7ab9bc491a3db38201aefca8fa3ee1e3eb3cc2bf49c7c98fa2126e119d1ae8
3
+ metadata.gz: 9ee478496cbc9de0bde65e5c9042368314b4d9933fc8f4faa50d378d52440f37
4
+ data.tar.gz: cfae6c7dfc0fca45d3082d1f7ea75674fbd5f75be26420fd97099086c9647d67
5
5
  SHA512:
6
- metadata.gz: a653e3900cb5263f1abce2cf23cf28c06358c6054a7fb8280503b086f411c0ea11496558fc7dc3f78630297682c7173f5e204d846fb1630d8ed22b751096bdb8
7
- data.tar.gz: 2b7b09dcc37e4d8da48758b62e67e62052f63048bdec22cf460238a8e27597abd5b0b42a6a3c4815a00797f7f1ab28fd72f021cecc07483084410c802f29d406
6
+ metadata.gz: 28ad525d94a06dc03008cece8aa7b3c470bb0f405b7c2a0d3b4397d84a65f7af4d64735702943d815f60ba2b80e28c9899d57f224f4fde1604c82bb416c9f2d4
7
+ data.tar.gz: 6c283412f94090f2d667116d23d6fee8a0ec97c6de8c32da77a5c0451f5424b2b2bde43a2338413d7a2b490d15662a8d98d2978428a37b2a111a59c1e796652b
@@ -20,18 +20,18 @@ module Cloudspin
20
20
  @environment = environment
21
21
  @role = role
22
22
  @base_folder = base_folder
23
- @configuration_files = configuration_files || instance_configuration_files
23
+ @configuration_files = configuration_files || the_usual_configuration_files
24
24
 
25
25
  @instance = Cloudspin::Stack::Instance.from_folder(
26
26
  @configuration_files,
27
27
  definition_folder: definition_folder,
28
- base_working_folder: "#{base_folder}/work",
29
- base_statefile_folder: "#{base_folder}/state"
28
+ base_folder: @base_folder,
29
+ base_working_folder: "#{@base_folder}/work"
30
30
  )
31
31
  define
32
32
  end
33
33
 
34
- def instance_configuration_files
34
+ def the_usual_configuration_files
35
35
  file_list = default_configuration_files
36
36
  if @environment
37
37
  if File.exists? full_path_of(environment_config_file)
@@ -62,23 +62,27 @@ module Cloudspin
62
62
 
63
63
  desc "Create or update stack #{@instance.id}"
64
64
  task :up do
65
+ puts @instance.init_dry
65
66
  puts @instance.up_dry
66
67
  puts @instance.up
67
68
  end
68
69
 
69
70
  desc "Plan changes to stack #{@instance.id}"
70
71
  task :plan do
72
+ puts @instance.init_dry
71
73
  puts @instance.plan_dry
72
74
  puts @instance.plan
73
75
  end
74
76
 
75
77
  desc "Show command line to be run for stack #{@instance.id}"
76
78
  task :dry do
79
+ puts @instance.init_dry
77
80
  puts @instance.up_dry
78
81
  end
79
82
 
80
83
  desc "Destroy stack #{@instance.id}"
81
84
  task :down do
85
+ puts @instance.init_dry
82
86
  puts @instance.down_dry
83
87
  puts @instance.down
84
88
  end
@@ -1,7 +1,7 @@
1
1
  module Cloudspin
2
2
  module Stack
3
3
  module Rake
4
- VERSION = '0.1.13'
4
+ VERSION = '0.1.14'
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cloudspin-stack-rake
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.13
4
+ version: 0.1.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - 'kief '
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-09-21 00:00:00.000000000 Z
11
+ date: 2018-09-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cloudspin-stack