X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/7b9ec4b60ee39614d1d083d7220e76b07d2b275f..682e1fcdcb50f1cf42560a905512487c02dbdcb4:/cookbooks/ntp/metadata.rb?ds=inline diff --git a/cookbooks/ntp/metadata.rb b/cookbooks/ntp/metadata.rb index 404666fd5..b512bb56a 100644 --- a/cookbooks/ntp/metadata.rb +++ b/cookbooks/ntp/metadata.rb @@ -1,34 +1,10 @@ +name "ntp" maintainer "Opscode, Inc." maintainer_email "cookbooks@opscode.com" -license "Apache 2.0" +license "Apache-2.0" description "Installs and configures ntp as a client or server" -long_description IO.read(File.join(File.dirname(__FILE__), 'README.md')) -version "0.8.2" - -recipe "ntp", "Installs and configures ntp either as a server or client" - -%w{ ubuntu debian redhat centos fedora }.each do |os| - supports os -end - -attribute "ntp", - :display_name => "NTP", - :description => "Hash of NTP attributes", - :type => "hash" - -attribute "ntp/service", - :display_name => "NTP Service", - :description => "Name of the NTP service", - :default => "ntp" - -attribute "ntp/is_server", - :display_name => "NTP Is Server?", - :description => "Set to true if this is an NTP server", - :default => "false" - -attribute "ntp/servers", - :display_name => "NTP Servers", - :description => "Array of servers we should talk to", - :type => "array", - :default => ["0.us.pool.ntp.org", "1.us.pool.ntp.org"] +version "0.8.2" +supports "ubuntu" +depends "prometheus" +depends "systemd"