cloudshaper 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/cloudshaper/cli.rb +2 -3
- data/lib/cloudshaper/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 997ccf5fc75d5b596c3ff04b156c933e8ad19b46
|
4
|
+
data.tar.gz: 7781b49fb3e7b81daff39dcc2e9fb88f42d19d43
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 287e0a8d82299f183ab4d7fcbe3e11a45c76a479ed6882931bd9f1361db615c26cf7185469be9f90c593a7ed39b2daaa00975799b19adae115d840d44d838e87
|
7
|
+
data.tar.gz: ab3c3b2a71abf969548f0108c417fa0d9e1b65e508d69294b66acb005294fbf62d561dac201142c70f01544fcfbdc88228abbf2f63ba111ce4959b8b5ad7ce21
|
data/Gemfile.lock
CHANGED
data/lib/cloudshaper/cli.rb
CHANGED
@@ -79,10 +79,9 @@ module Cloudshaper
|
|
79
79
|
private
|
80
80
|
|
81
81
|
def load_stack(stack, options)
|
82
|
-
puts options
|
83
82
|
load_modules(options['template_dir'])
|
84
83
|
Cloudshaper::Stacks.load
|
85
|
-
pull(stack) if remote_state?
|
84
|
+
pull(stack) if remote_state? && !(caller[0] == 'pull')
|
86
85
|
stack = Cloudshaper::Stacks.stacks[stack]
|
87
86
|
stack.get
|
88
87
|
stack
|
@@ -93,7 +92,7 @@ module Cloudshaper
|
|
93
92
|
end
|
94
93
|
|
95
94
|
def load_modules(dir)
|
96
|
-
Dir.glob("#{File.join(Dir.pwd, dir)}/*.rb").each { |t|
|
95
|
+
Dir.glob("#{File.join(Dir.pwd, dir)}/*.rb").each { |t| require_relative t }
|
97
96
|
end
|
98
97
|
end
|
99
98
|
end
|
data/lib/cloudshaper/version.rb
CHANGED