From: Tom Hughes Date: Thu, 28 Mar 2019 09:25:44 +0000 (+0000) Subject: Remove ntpd cleanup code X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/742a261c58b09d77fbbe7d506671a654f54d2eb5?ds=sidebyside Remove ntpd cleanup code --- 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