Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
97 lines (83 sloc) 2.76 KB
{
"providing": {
},
"attributes": {
"resolver/nameservers": {
"required": "optional",
"calculated": false,
"choice": [
],
"default": [
""
],
"type": "array",
"recipes": [
],
"description": "Default nameservers",
"display_name": "Resolver Nameservers"
},
"resolver/search": {
"required": "optional",
"calculated": false,
"choice": [
],
"default": "domain",
"type": "string",
"recipes": [
],
"description": "Default domain to search",
"display_name": "Resolver Search"
},
"resolver": {
"required": "optional",
"calculated": false,
"choice": [
],
"type": "hash",
"recipes": [
],
"description": "Hash of Resolver attributes",
"display_name": "Resolver"
}
},
"replacing": {
},
"dependencies": {
},
"groupings": {
},
"recommendations": {
},
"platforms": {
"openbsd": [
],
"debian": [
],
"centos": [
],
"fedora": [
],
"macosx": [
],
"freebsd": [
],
"ubuntu": [
],
"redhat": [
]
},
"license": "Apache 2.0",
"version": "0.8.2",
"maintainer": "Opscode, Inc.",
"suggestions": {
},
"recipes": {
"resolver": "Configures /etc/resolv.conf via attributes"
},
"maintainer_email": "cookbooks@opscode.com",
"name": "resolver",
"conflicting": {
},
"description": "Configures /etc/resolv.conf",
"long_description": "DESCRIPTION\n===========\n\nConfigures /etc/resolv.conf.\n\nUSAGE\n=====\n\nSet the resolver attributes in a role, for example from my base.rb:\n\n \"resolver\" => {\n \"nameservers\" => [\"10.13.37.120\", \"10.13.37.40\"],\n \"search\" => \"int.example.org\"\n }\n\nThe resulting /etc/resolv.conf will look like:\n\n domain int.example.org\n search int.example.org\n nameserver 10.13.37.120\n nameserver 10.13.37.40\n\nLICENSE AND AUTHOR\n==================\n\nAuthor:: Joshua Timberman (<joshua@opscode.com>)\n\nCopyright 2009, Opscode, Inc.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n"
}