catfish 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/catfish/cli.rb +4 -5
- data/lib/catfish/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: 0c7b5485ea2c1f9302882355b1dc14d33deca505
|
4
|
+
data.tar.gz: 993e762a13c58f8ca95fea15e54f8d4c865389f1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 488629ee393efd089eae591cf4d7a708d674f52730af1d604d5968a70d54a6bf25f4aea54d1f5e36637a4331799997da5eea1e0ef619cc22e7201a7fcbdefead
|
7
|
+
data.tar.gz: 59cbb197d317bb25e6ad54790468e8b6f263c00fc8a8aaf5c5377458e7ba2e612c7624176909e32644730f9bc9c55db795a34523bcc8c848bbfaabba8612440a
|
data/lib/catfish/cli.rb
CHANGED
@@ -45,7 +45,7 @@ module Catfish
|
|
45
45
|
Init.new(options.dup, self).run
|
46
46
|
end
|
47
47
|
|
48
|
-
desc 'resolve
|
48
|
+
desc 'resolve', 'Resolves the servers listed in Catfishfile to .lock'
|
49
49
|
def resolve
|
50
50
|
require 'catfish/cli/resolve'
|
51
51
|
Resolve.new(options.dup).run
|
@@ -68,14 +68,13 @@ module Catfish
|
|
68
68
|
method_option 'parallel', type: :boolean, default: false, banner: 'Run provisioning in parallel'
|
69
69
|
def provision
|
70
70
|
exists_before_resolve = File.exist?('Catfishfile.lock')
|
71
|
-
|
72
|
-
|
71
|
+
resolve
|
72
|
+
plugin
|
73
73
|
require 'catfish/cli/provision'
|
74
74
|
Provision.new(options.dup).run
|
75
|
-
|
76
75
|
# If the Catfishfile.lock existed before the start of the run, then
|
77
76
|
# we should leave it there. Otherwise, we should clean it up.
|
78
|
-
|
77
|
+
clean unless exists_before_resolve
|
79
78
|
end
|
80
79
|
end
|
81
80
|
end
|
data/lib/catfish/version.rb
CHANGED