cloudshaper 0.0.8 → 0.0.9
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 +3 -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: b103f03a30fc5e26488fd021a3380f42bff40cc3
|
4
|
+
data.tar.gz: d0a8ad0adf56e11de4f1d252e548a22bcad55c89
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 405bb763b4eb7ab76dd6474c3168fdcb268331d966fc93bab26dd904efdc99b0bb31d956f6d1d7ec9b10196903c78cd542d3beb73ad4179df755f0758e0f5aa0
|
7
|
+
data.tar.gz: 080c02b4bd8368e13858fbc4659037f876231425716cbe74f799fc0671defed2305b036d2682343c105fb2d713ffa9ac6b550fd2ceeb4028450c74856ea3e754
|
data/Gemfile.lock
CHANGED
data/lib/cloudshaper/cli.rb
CHANGED
@@ -42,7 +42,7 @@ module Cloudshaper
|
|
42
42
|
|
43
43
|
desc "pull NAME", "Pull stack state from remote location"
|
44
44
|
def pull(name)
|
45
|
-
stack = load_stack(name, options)
|
45
|
+
stack = load_stack(name, options, false)
|
46
46
|
remote_config(name)
|
47
47
|
stack.pull
|
48
48
|
end
|
@@ -78,10 +78,10 @@ module Cloudshaper
|
|
78
78
|
|
79
79
|
private
|
80
80
|
|
81
|
-
def load_stack(stack, options)
|
81
|
+
def load_stack(stack, options, pull=true)
|
82
82
|
load_modules(options['template_dir'])
|
83
83
|
Cloudshaper::Stacks.load
|
84
|
-
pull(stack) if remote_state? &&
|
84
|
+
pull(stack) if remote_state? && pull
|
85
85
|
stack = Cloudshaper::Stacks.stacks[stack]
|
86
86
|
stack.get
|
87
87
|
stack
|
data/lib/cloudshaper/version.rb
CHANGED