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