]> git.openstreetmap.org Git - chef.git/commitdiff
Remove ntpd cleanup code
authorTom Hughes <tom@compton.nu>
Thu, 28 Mar 2019 09:25:44 +0000 (09:25 +0000)
committerTom Hughes <tom@compton.nu>
Thu, 28 Mar 2019 09:25:44 +0000 (09:25 +0000)
cookbooks/ntp/recipes/default.rb

index 0cd8dea24ae0eba23629a1a2ca16b3deeb812cc6..0abd9a4f640143d981aec325f354626cdd57b3fa 100644 (file)
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
 # 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
 package %w[
   chrony
   tzdata