]> git.openstreetmap.org Git - chef.git/blob - cookbooks/ntp/metadata.rb
Add more READMEs
[chef.git] / cookbooks / ntp / metadata.rb
1 name              "ntp"
2 maintainer        "Opscode, Inc."
3 maintainer_email  "cookbooks@opscode.com"
4 license           "Apache 2.0"
5 description       "Installs and configures ntp as a client or server"
6 long_description  IO.read(File.join(File.dirname(__FILE__), "README.md"))
7 version           "0.8.2"
8
9 recipe "ntp", "Installs and configures ntp either as a server or client"
10
11 %w(ubuntu debian redhat centos fedora).each do |os|
12   supports os
13 end
14
15 attribute "ntp",
16   :display_name => "NTP",
17   :description => "Hash of NTP attributes",
18   :type => "hash"
19
20 attribute "ntp/service",
21   :display_name => "NTP Service",
22   :description => "Name of the NTP service",
23   :default => "ntp"
24
25 attribute "ntp/is_server",
26   :display_name => "NTP Is Server?",
27   :description => "Set to true if this is an NTP server",
28   :default => "false"
29
30 attribute "ntp/servers",
31   :display_name => "NTP Servers",
32   :description => "Array of servers we should talk to",
33   :type => "array",
34   :default => ["0.us.pool.ntp.org", "1.us.pool.ntp.org"]