forked from chef-boneyard/cookbooks
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove us-centric pool servers for ntp
- Loading branch information
jtimberman
committed
Feb 17, 2011
1 parent
d453eba
commit 94252da
Showing
5 changed files
with
115 additions
and
104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,103 +1,103 @@ | ||
{ | ||
"providing": { | ||
}, | ||
"attributes": { | ||
"ntp/servers": { | ||
"required": "optional", | ||
"calculated": false, | ||
"choice": [ | ||
|
||
], | ||
"default": [ | ||
"0.us.pool.ntp.org", | ||
"1.us.pool.ntp.org" | ||
], | ||
"type": "array", | ||
"recipes": [ | ||
"name": "ntp", | ||
"description": "Installs and configures ntp as a client or server", | ||
"long_description": "DESCRIPTION\n===========\n\nInstalls and configures ntp, optionally set up a local NTP server.\n\nREQUIREMENTS\n============\n\nShould work on any Red Hat-family or Debian-family Linux distribution.\n\nUSAGE\n=====\n\nSet up the ntp attributes in a role. For example in a base.rb role applied to all nodes:\n\n name \"base\"\n description \"Role applied to all systems\"\n default_attributes(\n \"ntp\" => {\n \"servers\" => [\"time.int.example.org\"]\n }\n )\n\nThen in an ntpserver.rb role that is applied to NTP servers (e.g., time.int.example.org):\n\n name \"ntp_server\"\n description \"Role applied to the system that should be an NTP server.\"\n default_attributes(\n \"ntp\" => {\n \"is_server\" => \"true\",\n \"servers\" => [\"0.pool.ntp.org\", \"1.pool.ntp.org\"]\n }\n )\n\nLICENSE AND AUTHOR\n==================\n\nAuthor:: Joshua Timberman (<joshua@opscode.com>)\n\nCopyright 2009-2011, 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", | ||
"maintainer": "Opscode, Inc.", | ||
"maintainer_email": "cookbooks@opscode.com", | ||
"license": "Apache 2.0", | ||
"platforms": { | ||
"ubuntu": [ | ||
|
||
], | ||
"description": "Array of servers we should talk to", | ||
"display_name": "NTP Servers" | ||
}, | ||
"ntp/service": { | ||
"required": "optional", | ||
"calculated": false, | ||
"choice": [ | ||
], | ||
"debian": [ | ||
|
||
], | ||
"default": "ntp", | ||
"type": "string", | ||
"recipes": [ | ||
], | ||
"redhat": [ | ||
|
||
], | ||
"description": "Name of the NTP service", | ||
"display_name": "NTP Service" | ||
}, | ||
"ntp/is_server": { | ||
"required": "optional", | ||
"calculated": false, | ||
"choice": [ | ||
], | ||
"centos": [ | ||
|
||
], | ||
"default": "false", | ||
"type": "string", | ||
"recipes": [ | ||
], | ||
"fedora": [ | ||
|
||
], | ||
"description": "Set to true if this is an NTP server", | ||
"display_name": "NTP Is Server?" | ||
}, | ||
"ntp": { | ||
"required": "optional", | ||
"calculated": false, | ||
"choice": [ | ||
] | ||
}, | ||
"dependencies": { | ||
}, | ||
"recommendations": { | ||
}, | ||
"suggestions": { | ||
}, | ||
"conflicting": { | ||
}, | ||
"providing": { | ||
}, | ||
"replacing": { | ||
}, | ||
"attributes": { | ||
"ntp": { | ||
"display_name": "NTP", | ||
"description": "Hash of NTP attributes", | ||
"type": "hash", | ||
"choice": [ | ||
|
||
], | ||
"type": "hash", | ||
"recipes": [ | ||
], | ||
"calculated": false, | ||
"required": "optional", | ||
"recipes": [ | ||
|
||
], | ||
"description": "Hash of NTP attributes", | ||
"display_name": "NTP" | ||
} | ||
}, | ||
"replacing": { | ||
}, | ||
"dependencies": { | ||
}, | ||
"groupings": { | ||
}, | ||
"recommendations": { | ||
] | ||
}, | ||
"platforms": { | ||
"debian": [ | ||
"ntp/service": { | ||
"display_name": "NTP Service", | ||
"description": "Name of the NTP service", | ||
"default": "ntp", | ||
"choice": [ | ||
|
||
], | ||
"fedora": [ | ||
"calculated": false, | ||
"type": "string", | ||
"required": "optional", | ||
"recipes": [ | ||
|
||
] | ||
}, | ||
"ntp/is_server": { | ||
"display_name": "NTP Is Server?", | ||
"description": "Set to true if this is an NTP server", | ||
"default": "false", | ||
"choice": [ | ||
|
||
], | ||
"centos": [ | ||
"calculated": false, | ||
"type": "string", | ||
"required": "optional", | ||
"recipes": [ | ||
|
||
] | ||
}, | ||
"ntp/servers": { | ||
"display_name": "NTP Servers", | ||
"description": "Array of servers we should talk to", | ||
"type": "array", | ||
"default": [ | ||
"0.pool.ntp.org", | ||
"1.pool.ntp.org" | ||
], | ||
"ubuntu": [ | ||
"choice": [ | ||
|
||
], | ||
"redhat": [ | ||
"calculated": false, | ||
"required": "optional", | ||
"recipes": [ | ||
|
||
] | ||
}, | ||
"license": "Apache 2.0", | ||
"version": "0.8.2", | ||
"maintainer": "Opscode, Inc.", | ||
"suggestions": { | ||
}, | ||
"recipes": { | ||
"ntp": "Installs and configures ntp either as a server or client" | ||
}, | ||
"maintainer_email": "cookbooks@opscode.com", | ||
"name": "ntp", | ||
"conflicting": { | ||
}, | ||
"description": "Installs and configures ntp as a client or server", | ||
"long_description": "DESCRIPTION\n===========\n\nInstalls and configures ntp, optionally set up a local NTP server.\n\nUSAGE\n=====\n\nSet up the ntp attributes in a role. For example in a base.rb role applied to all nodes:\n\n \"ntp\" => {\n \"servers\" => \"time.int.example.org\"\n }\n\nThen in an ntpserver.rb role that is applied to NTP servers:\n\n \"ntp\" => {\n \"is_server\" => \"true\",\n \"servers\" => \"0.us.pool.ntp.org\"\n }\n\nThe time.int.example.org used in the base role is a CNAME for the NTP server.\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" | ||
} | ||
} | ||
}, | ||
"groupings": { | ||
}, | ||
"recipes": { | ||
"ntp": "Installs and configures ntp either as a server or client" | ||
}, | ||
"version": "1.0.0" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters