pupcap 0.2.2 → 0.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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 :deploy_via, :copy
65
- cap.set :copy_cache, true
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
@@ -48,7 +48,8 @@ class Pupcap::Action::Apply < Pupcap::Action::Base
48
48
  {
49
49
  :file => File.expand_path("Pupcapfile"),
50
50
  :debug => false,
51
- :noop => false
51
+ :noop => false,
52
+ :without_librarian_puppet => false
52
53
  }
53
54
  end
54
55
  end
@@ -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 && /usr/local/bin/librarian-puppet install #{debug}; true")
8
+ run("cd #{release_path}/puppet ; /usr/local/bin/librarian-puppet install #{debug} --destructive; true")
9
9
  end
10
10
  end
11
11
 
@@ -5,7 +5,7 @@ module Pupcap
5
5
 
6
6
  MAJOR = 0
7
7
  MINOR = 2
8
- PATCH = 2
8
+ PATCH = 3
9
9
 
10
10
  def self.to_s
11
11
  "#{MAJOR}.#{MINOR}.#{PATCH}"
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.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-19 00:00:00.000000000 Z
12
+ date: 2012-11-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: capistrano