pupcap 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/pupcap/action.rb +4 -2
- data/lib/pupcap/action/apply.rb +2 -1
- data/lib/pupcap/action/apply/Capfile +1 -1
- data/lib/pupcap/version.rb +1 -1
- metadata +2 -2
data/lib/pupcap/action.rb
CHANGED
@@ -61,8 +61,10 @@ module Pupcap::Action
|
|
61
61
|
cap.ssh_options[:forward_agent] = true
|
62
62
|
cap.default_run_options[:pty] = true
|
63
63
|
|
64
|
-
cap.set :
|
65
|
-
cap.set :
|
64
|
+
cap.set :repository, "."
|
65
|
+
cap.set :scm, :none
|
66
|
+
cap.set :deploy_via, :copy
|
67
|
+
|
66
68
|
cap.set :copy_exclude, [".git", ".keys"]
|
67
69
|
cap.set :repository, "."
|
68
70
|
cap.set :keep_releases, 2
|
data/lib/pupcap/action/apply.rb
CHANGED
@@ -5,7 +5,7 @@ namespace :deploy do
|
|
5
5
|
if !pupcap_options[:without_librarian_puppet]
|
6
6
|
debug = pupcap_options[:debug] ? " --verbose" : ""
|
7
7
|
run("ln -sf #{shared_path}/librarian-puppet-cache #{release_path}/puppet/.tmp")
|
8
|
-
run("cd #{release_path}/puppet
|
8
|
+
run("cd #{release_path}/puppet ; /usr/local/bin/librarian-puppet install #{debug} --destructive; true")
|
9
9
|
end
|
10
10
|
end
|
11
11
|
|
data/lib/pupcap/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pupcap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-11-
|
12
|
+
date: 2012-11-20 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: capistrano
|