Permalink
Browse files

COOK-324, update djbdns attributes

  • Loading branch information...
1 parent 6e5afcd commit 02eba8ae785d6cd3a98a8f278f5ce214ba7ca079 @jtimberman jtimberman committed Jul 11, 2010
Showing with 22 additions and 22 deletions.
  1. +10 −10 djbdns/attributes/default.rb
  2. +11 −11 djbdns/metadata.json
  3. +1 −1 djbdns/metadata.rb
@@ -19,19 +19,19 @@
# limitations under the License.
#
-set_unless[:djbdns][:tinydns_ipaddress] = "127.0.0.1"
-set_unless[:djbdns][:tinydns_internal_ipaddress] = "127.0.0.1"
-set_unless[:djbdns][:public_dnscache_ipaddress] = ipaddress
-set_unless[:djbdns][:axfrdns_ipaddress] = "127.0.0.1"
+default[:djbdns][:tinydns_ipaddress] = "127.0.0.1"
+default[:djbdns][:tinydns_internal_ipaddress] = "127.0.0.1"
+default[:djbdns][:public_dnscache_ipaddress] = ipaddress
+default[:djbdns][:axfrdns_ipaddress] = "127.0.0.1"
-set_unless[:djbdns][:axfrdns_uid] = 9996
-set_unless[:djbdns][:dnscache_uid] = 9997
-set_unless[:djbdns][:dnslog_uid] = 9998
-set_unless[:djbdns][:tinydns_uid] = 9999
+default[:djbdns][:axfrdns_uid] = 9996
+default[:djbdns][:dnscache_uid] = 9997
+default[:djbdns][:dnslog_uid] = 9998
+default[:djbdns][:tinydns_uid] = 9999
-set_unless[:djbdns][:public_dnscache_allowed_networks] = [ipaddress.split(".")[0,2].join(".")]
-set_unless[:djbdns][:tinydns_internal_resolved_domain] = domain
+default[:djbdns][:public_dnscache_allowed_networks] = [ipaddress.split(".")[0,2].join(".")]
+default[:djbdns][:tinydns_internal_resolved_domain] = domain
case platform
when "ubuntu"
View
@@ -1,5 +1,5 @@
{
- "recommendations": {
+ "providing": {
},
"attributes": {
"djbdns/axfrdns_ipaddress": {
@@ -103,8 +103,7 @@
"display_name": "DJB DNS TinyDNS IP Address"
}
},
- "maintainer": "Opscode, Inc.",
- "suggestions": {
+ "replacing": {
},
"dependencies": {
"runit": [
@@ -114,8 +113,9 @@
]
},
- "maintainer_email": "cookbooks@opscode.com",
- "conflicting": {
+ "groupings": {
+ },
+ "recommendations": {
},
"platforms": {
"rhel": [
@@ -132,8 +132,9 @@
]
},
"license": "Apache 2.0",
- "version": "0.8.1",
- "providing": {
+ "version": "0.8.2",
+ "maintainer": "Opscode, Inc.",
+ "suggestions": {
},
"recipes": {
"djbdns::axfr": "Sets up djbdns AXFR service",
@@ -142,11 +143,10 @@
"djbdns": "Installs djbdns from package or source and creates users",
"djbdns::server": "Sets up external TinyDNS"
},
- "replacing": {
- },
+ "maintainer_email": "cookbooks@opscode.com",
"name": "djbdns",
- "description": "Installs djbdns and configures DNS services",
- "groupings": {
+ "conflicting": {
},
+ "description": "Installs djbdns and configures DNS services",
"long_description": ""
}
View
@@ -2,7 +2,7 @@
maintainer_email "cookbooks@opscode.com"
license "Apache 2.0"
description "Installs djbdns and configures DNS services"
-version "0.8.1"
+version "0.8.2"
recipe "djbdns", "Installs djbdns from package or source and creates users"
recipe "djbdns::axfr", "Sets up djbdns AXFR service"
recipe "djbdns::cache", "Sets up public dnscache service"

0 comments on commit 02eba8a

Please sign in to comment.