knife-dns-update 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ODRiNjMyOGI2ZmM3YTQxN2I3ZTgxODQxMjcyM2Y2Yzc0MzVkYzhhMg==
4
+ ZGE4MjQwMmM0YzcxNWExNTczYjdlOTE0ZjJlMTNjNjFmYjcwMWQ2YQ==
5
5
  data.tar.gz: !binary |-
6
- MjNjYTdiNzg5ZDA5ZGVlNWVjMDFiYjA1ZjI0YzhhZjkyOGM5NjcxNA==
6
+ ZWJkYzljZTRlMTM1NGNiMmJhNTRkMDgyNGU5ZmFiMjlmZjFkZjczMw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ZWJkOWNhN2NmNDc2YTJhNzhjMjNiYTRlOTFkYTY0MjhiZjRhZGYyNzMzN2Ux
10
- NjJhOThhMjg1MmVlODhmZjYxYzE1OWJlN2YxMWM4NzFlNTUxZmUwMDIwOTMy
11
- N2ViYWU4YWUxODAzNjFlOWUxMjliMTc0MzhiNzI1ZTM3YjA4YzE=
9
+ ODdjZTBiN2RmZDFkNmZjYzJjNDU0YzE5NjEwZmEzNDJjOWU4MGZmYjMxMTUw
10
+ NzYwMTgyYzA5MjI3NTRhNDczZjgwZDhjODYwMzQ1YmI2ZTI4OTEwZDRhNDk5
11
+ ODE1OGE1MWEyNzNmZTMzZjRkMzQ5NjVlOGI4YjM3OTY4YTlhYzM=
12
12
  data.tar.gz: !binary |-
13
- NGJkMzI3MzliOTgzZWY3MzAwMDFhM2M5NDVkNDAyMjk0NjE5MDQzNjM4ZTY1
14
- ZjEzYzA1MWI3MzM1ZTAyMjY3YjkzNGQ1OWQ1ZjAzMWQxMTNjYTg1YTc4ZjQx
15
- ZDI5ZjVjZDgyYzk5ZTlkNmU4Nzc2YzI0MGFlYzcyNzMxNWViZjU=
13
+ M2FjNjJjODg5MGMyOTM2M2ZjMjA5YjEwNzZlMzQxMmVkYmM0MjcyMDRmM2E4
14
+ ZTg5MjJkMGEzNzdhNGUxYjg2ZTY4Njg5YWI0YmU0OWU4MmNkNjdhZjk5NTIz
15
+ M2U2YmRkYjdlNDQwN2JlOTk1YjViN2JmNzJiMjc1ZjAzNmNjNDM=
data/CHANGELOG.md CHANGED
@@ -1,6 +1,10 @@
1
1
  Changes
2
2
  =======
3
3
 
4
+ 0.0.4
5
+ -----
6
+ * Don't try to remove NS or SOA records
7
+
4
8
  0.0.3
5
9
  -----
6
10
  * Correctly handle subdomain
@@ -97,6 +97,7 @@ module KnifeDnsUpdate
97
97
  managed = Set.new
98
98
 
99
99
  zone.records.each do |rec|
100
+ next if %w(NS SOA).include? rec.type
100
101
  ui.info("Looking at: #{rec.name} IN #{rec.type} #{rec.value}") if config[:verbosity] >= 3
101
102
 
102
103
  if cfg.subdomain && rec.name !~ /#{Regexp.quote(cfg.subdomain)}\.#{Regexp.quote(cfg.zone)}\.?$/
@@ -1,3 +1,3 @@
1
1
  module KnifeDnsUpdate
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: knife-dns-update
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Maciej Pasternacki
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-01-24 00:00:00.000000000 Z
11
+ date: 2014-05-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: chef
@@ -164,7 +164,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
164
164
  version: '0'
165
165
  requirements: []
166
166
  rubyforge_project:
167
- rubygems_version: 2.1.11
167
+ rubygems_version: 2.2.2
168
168
  signing_key:
169
169
  specification_version: 4
170
170
  summary: Updates Route 53 DNS entries based on Chef database contents