From 742a261c58b09d77fbbe7d506671a654f54d2eb5 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Thu, 28 Mar 2019 09:25:44 +0000 Subject: [PATCH] Remove ntpd cleanup code --- cookbooks/ntp/recipes/default.rb | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/cookbooks/ntp/recipes/default.rb b/cookbooks/ntp/recipes/default.rb index 0cd8dea24..0abd9a4f6 100644 --- a/cookbooks/ntp/recipes/default.rb +++ b/cookbooks/ntp/recipes/default.rb @@ -17,28 +17,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -service "ntp" do - action [:stop, :disable] -end - -package "ntp" do - action :purge -end - -package "ntpdate" do - action :purge -end - -if File.directory?("/etc/munin/plugins") - Dir.new("/etc/munin/plugins").each do |plugin| - next unless plugin.match?(/^ntp_/) - - munin_plugin plugin do - action :delete - end - end -end - package %w[ chrony tzdata -- 2.43.2