knife-dns-update 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/CHANGELOG.md +4 -0
- data/lib/chef/knife/dns_update.rb +1 -1
- data/lib/knife-dns-update/config.rb +1 -1
- data/lib/knife-dns-update/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ODRiNjMyOGI2ZmM3YTQxN2I3ZTgxODQxMjcyM2Y2Yzc0MzVkYzhhMg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MjNjYTdiNzg5ZDA5ZGVlNWVjMDFiYjA1ZjI0YzhhZjkyOGM5NjcxNA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZWJkOWNhN2NmNDc2YTJhNzhjMjNiYTRlOTFkYTY0MjhiZjRhZGYyNzMzN2Ux
|
10
|
+
NjJhOThhMjg1MmVlODhmZjYxYzE1OWJlN2YxMWM4NzFlNTUxZmUwMDIwOTMy
|
11
|
+
N2ViYWU4YWUxODAzNjFlOWUxMjliMTc0MzhiNzI1ZTM3YjA4YzE=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NGJkMzI3MzliOTgzZWY3MzAwMDFhM2M5NDVkNDAyMjk0NjE5MDQzNjM4ZTY1
|
14
|
+
ZjEzYzA1MWI3MzM1ZTAyMjY3YjkzNGQ1OWQ1ZjAzMWQxMTNjYTg1YTc4ZjQx
|
15
|
+
ZDI5ZjVjZDgyYzk5ZTlkNmU4Nzc2YzI0MGFlYzcyNzMxNWViZjU=
|
data/CHANGELOG.md
CHANGED
@@ -100,7 +100,7 @@ module KnifeDnsUpdate
|
|
100
100
|
ui.info("Looking at: #{rec.name} IN #{rec.type} #{rec.value}") if config[:verbosity] >= 3
|
101
101
|
|
102
102
|
if cfg.subdomain && rec.name !~ /#{Regexp.quote(cfg.subdomain)}\.#{Regexp.quote(cfg.zone)}\.?$/
|
103
|
-
ui.info("Not in subdomain, skipping: #{rec.name} IN #{rec.type} #{rec.value}") if config[:verbosity] >=
|
103
|
+
ui.info("Not in subdomain, skipping: #{rec.name} IN #{rec.type} #{rec.value}") if config[:verbosity] >= 1
|
104
104
|
next
|
105
105
|
end
|
106
106
|
|
@@ -37,7 +37,7 @@ module KnifeDnsUpdate
|
|
37
37
|
case opt
|
38
38
|
when /^\d+\.\d+\.\d+\.\d+$/ then opt = { :a => opt }
|
39
39
|
when /^[a-z0-9.-]+\.$/ then opt = { :cname => opt }
|
40
|
-
when /^[a-z0-9.-]+$/ then opt = { :cname =>
|
40
|
+
when /^[a-z0-9.-]+$/ then opt = { :cname => [ opt, subdomain, zone ].compact.join('.') << '.' }
|
41
41
|
when /^name:[a-z0-9.-]+$/ then opt = { :node => opt[5..-1] }
|
42
42
|
when /:/ then opt = { :query => opt }
|
43
43
|
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.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Maciej Pasternacki
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2014-01-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: chef
|