le1t0-deprec 2.1.6.058 → 2.1.6.059

Sign up to get free protection for your applications and to get access to all the features.
@@ -13,6 +13,13 @@ module Deprec2
13
13
  ENV['ROLES'] = old_roles.to_s unless ENV['HOSTS']
14
14
  end
15
15
 
16
+ def filter_hosts(hostfilter)
17
+ old_hostfilter = ENV['HOSTFILTER']
18
+ ENV['HOSTFILTER'] = hostfilter.to_s
19
+ yield
20
+ ENV['HOSTFILTER'] = old_hostfilter.to_s
21
+ end
22
+
16
23
  # Temporarily ignore ROLES and HOSTS
17
24
  def ignoring_roles_and_hosts
18
25
  old_roles = ENV['ROLES']
@@ -230,8 +230,6 @@ Capistrano::Configuration.instance(:must_exist).load do
230
230
  r.apache
231
231
  r.passenger
232
232
  r.s3utils
233
- r.monit if use_monit
234
- r.logrotate if use_logrotate
235
233
  end
236
234
 
237
235
  profile :ubuntu_base do |p, r|
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: le1t0-deprec
3
3
  version: !ruby/object:Gem::Version
4
- hash: 11
4
+ hash: 9
5
5
  prerelease: false
6
6
  segments:
7
7
  - 2
8
8
  - 1
9
9
  - 6
10
- - 58
11
- version: 2.1.6.058
10
+ - 59
11
+ version: 2.1.6.059
12
12
  platform: ruby
13
13
  authors:
14
14
  - Le1t0