vagrant-saltdeps 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/vagrant-saltdeps/action.rb +1 -1
- data/lib/vagrant-saltdeps/errors.rb +9 -7
- data/lib/vagrant-saltdeps/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: 257a5f2a42061257b622a1ac9a59c604947069ba
|
4
|
+
data.tar.gz: 241165cda6b1b1b829653992bcce0f90d10eb73e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6e651d6d102cad89f4d56d2ba884ed33521d7278209d72688522dfcb823471bac573fccf4022f56decc1cfb481085d27cf879739c1a5fc0f9635f2d427c8dadf
|
7
|
+
data.tar.gz: 28d45e5bd1d84b46cebef9cefae8dcf08b599c00e1153c41b14ac27137ac6f918b5f98ff97d895a8d1733856176a4375dca6b5aa4e7ab7b52c3828b16a7a4218
|
@@ -33,7 +33,7 @@ module Vagrant
|
|
33
33
|
g.checkout(branch)
|
34
34
|
g.pull
|
35
35
|
rescue Git::GitExecuteError => e
|
36
|
-
raise GitCheckoutError
|
36
|
+
raise Errors::GitCheckoutError :branch => branch, :message => e.message
|
37
37
|
end
|
38
38
|
|
39
39
|
config_loader.set(:base_vagrantfile, "#{checkout_path}/#{name}/Vagrantfile")
|
@@ -1,12 +1,14 @@
|
|
1
|
-
|
1
|
+
require "vagrant"
|
2
2
|
|
3
3
|
module VagrantPlugins
|
4
4
|
module Saltdeps
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
5
|
+
module Errors
|
6
|
+
class GitCheckoutError < Vagrant::Errors::VagrantError
|
7
|
+
error_key "git_checkout_error"
|
8
|
+
end
|
9
|
+
class UnknownException < Vagrant::Errors::VagrantError
|
10
|
+
error_key "unknown_error"
|
11
|
+
end
|
10
12
|
end
|
11
13
|
end
|
12
|
-
end
|
14
|
+
end
|