rubber 2.0.7 → 2.0.8
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.
- data/CHANGELOG +19 -17
- data/lib/rubber/dns/base.rb +3 -3
- data/lib/rubber/version.rb +1 -1
- metadata +3 -3
data/CHANGELOG
CHANGED
|
@@ -1,46 +1,48 @@
|
|
|
1
|
+
2.0.8 (08/01/2012)
|
|
2
|
+
------------------
|
|
3
|
+
|
|
4
|
+
[core] fix update of dns for instances <f57145c>
|
|
5
|
+
[core] Merge commits shouldn't be in the changelog. <bdff81a>
|
|
6
|
+
[core] Another typo fix. <bcc2381>
|
|
7
|
+
[core] Fixed a typo. <2c8ec30>
|
|
8
|
+
[core] Simplified new features in 2.0.6 release to highlight what was added. <a9a1ba1>
|
|
9
|
+
|
|
10
|
+
2.0.7 (08/01/2012)
|
|
11
|
+
------------------
|
|
12
|
+
|
|
13
|
+
[core] remove useless log msg <09c1a16>
|
|
14
|
+
[core] fix deprecation msg <c52c35f>
|
|
15
|
+
[core] uncomment the code that updates dns <df46f39>
|
|
16
|
+
|
|
1
17
|
2.0.6 (08/01/2012)
|
|
2
18
|
------------------
|
|
3
19
|
|
|
4
20
|
New Features:
|
|
5
21
|
============
|
|
6
|
-
|
|
7
|
-
[resque_scheduler] Rake task file must end in .rake not .rb <03a7cfa>
|
|
8
|
-
[resque_scheduler] append to log on restart <eadd00a>
|
|
9
|
-
[resque_scheduler] enable scheduler tabs in resque-web ui <3e68509>
|
|
10
|
-
[resque_scheduler] first pass at a resque scheduler template <e9e0111>
|
|
11
|
-
[resque_scheduler] log output from resque-scheduler upstart job <91c3790>
|
|
12
|
-
[resque_scheduler] redirect error to log as well <d75b96a>
|
|
13
|
-
[resque_scheduler] use resque_scheduler PID path from yaml file. <e699193>
|
|
22
|
+
Added a template for resque-scheduler.
|
|
14
23
|
|
|
15
24
|
Improvements:
|
|
16
25
|
============
|
|
17
26
|
[core] multi-host rubber:reboot <56ef06f>
|
|
18
|
-
[core] update nettica to work with new
|
|
27
|
+
[core] update nettica to work with new rubber-dns.yml format <1bfa525>
|
|
19
28
|
[base] format change to better support multi-value records like MX, round robin A, etc refactor to better handle route53/zerigo differences in fog add export_dns_records to allow dumping from provider to a rubber-dns.yml format <7c806cf>
|
|
20
29
|
[base] update base ami <be8c0f4>
|
|
21
30
|
|
|
22
31
|
Bug Fixes:
|
|
23
32
|
=========
|
|
24
|
-
[core]
|
|
33
|
+
[core] isolate security groups from global namespace so having a key with the same name as a capistrano role doesn't cause problems <41ba2cf>
|
|
25
34
|
[core] make cron logs more user friendly and prevent exponential explosion of files in log dir due to interaction with rubber:util:rotate_logs <7e11a7f>
|
|
26
35
|
[core] fix nettica support (fix super call, credentials) <14fd048>
|
|
27
|
-
[core] Merge pull request #192 from garrytan/master <837d8be>
|
|
28
36
|
[core] don't attempt to read a non-existant instance file in cloud storage <c4d11ac>
|
|
29
|
-
[core] Merge pull request #173 from viniciusnz/master <d7e8f9f>
|
|
30
37
|
[core] Avoid error if localtime file already exists <cff1fb4>
|
|
31
|
-
[base] Merge pull request #190 from davebenvenuti/ssh_env_whitelist <48260c9>
|
|
32
38
|
[base] whitelist ssh-related variables in sudoers so capistrano tasks can take advantage of ssh-agent forwarding <1009e7b>
|
|
33
|
-
[collectd] Merge pull request #191 from davebenvenuti/passenger_sudoers_fix <09511a8>
|
|
34
39
|
[collectd] add to env variable whitelist rather than overwrite it <dff23f7>
|
|
35
40
|
[elasticsearch] Ensure unzip package present for elasticsearch <40af636>
|
|
36
41
|
[graphite] fix for multiple targets in graph defn <b72c469>
|
|
37
|
-
[jenkins] Merge pull request #171 from ScotterC/patch-1 <133aa3e>
|
|
38
42
|
[jenkins] removed hardcoded application, thanks to scotterc for finding this <b5b26b4>
|
|
39
43
|
[jenkins] sun-java6 fails on Ubuntu 10.04 <88779a9>
|
|
40
44
|
[passenger] Removed the code to remove config.ru from Rails apps as it's no longer needed in Passenger 3. <517d23e>
|
|
41
45
|
[postgresql] Fixed an issue with PostgreSQL messing with casing on us. <72e63b5>
|
|
42
|
-
[resque] Merge pull request #174 from messick/resque_fix <dc70092>
|
|
43
|
-
[resque] Merge pull request #179 from messick/resque_redis_fix <d2d436c>
|
|
44
46
|
[resque] connect to redis_master role, rather than just redis <f778dc8>
|
|
45
47
|
[resque] explicitly make Rubber.root a string <c0852b2>
|
|
46
48
|
[resque] placeholder config for dev <d855381>
|
data/lib/rubber/dns/base.rb
CHANGED
|
@@ -15,10 +15,10 @@ module Rubber
|
|
|
15
15
|
else
|
|
16
16
|
if find_host_records(:host => host).size == 0
|
|
17
17
|
puts "Creating dynamic DNS: #{host} => #{ip}"
|
|
18
|
-
create_host_record(:host => host, :data => ip)
|
|
18
|
+
create_host_record(:host => host, :data => [ip])
|
|
19
19
|
else
|
|
20
20
|
puts "Updating dynamic DNS: #{host} => #{ip}"
|
|
21
|
-
update_host_record({:host => host}, {:host => host, :data => ip})
|
|
21
|
+
update_host_record({:host => host}, {:host => host, :data => [ip]})
|
|
22
22
|
end
|
|
23
23
|
end
|
|
24
24
|
end
|
|
@@ -31,7 +31,7 @@ module Rubber
|
|
|
31
31
|
end
|
|
32
32
|
|
|
33
33
|
def up_to_date(host, ip)
|
|
34
|
-
find_host_records(:host => host).any? {|host| host[:data]
|
|
34
|
+
find_host_records(:host => host).any? {|host| host[:data].include?(ip) }
|
|
35
35
|
end
|
|
36
36
|
|
|
37
37
|
def create_host_record(opts = {})
|
data/lib/rubber/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rubber
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.0.
|
|
4
|
+
version: 2.0.8
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -648,7 +648,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
648
648
|
version: '0'
|
|
649
649
|
segments:
|
|
650
650
|
- 0
|
|
651
|
-
hash:
|
|
651
|
+
hash: 4060872164563619130
|
|
652
652
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
653
653
|
none: false
|
|
654
654
|
requirements:
|
|
@@ -657,7 +657,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
657
657
|
version: '0'
|
|
658
658
|
segments:
|
|
659
659
|
- 0
|
|
660
|
-
hash:
|
|
660
|
+
hash: 4060872164563619130
|
|
661
661
|
requirements: []
|
|
662
662
|
rubyforge_project: rubber
|
|
663
663
|
rubygems_version: 1.8.24
|