Use file resource to remove old planet cron file
authorGrant Slater <grant.slater@wearefriday.com>
Wed, 22 Jun 2016 11:56:24 +0000 (12:56 +0100)
committerGrant Slater <grant.slater@wearefriday.com>
Wed, 22 Jun 2016 11:56:24 +0000 (12:56 +0100)
cookbooks/planet/recipes/default.rb

index 59cc36781908c801447a5598c6619ab548e09582..99798fd056f934c24dafd1368cb77746622fcfde 100644 (file)
@@ -29,7 +29,7 @@ else
   package "php5-cli"
 end
 
-template "/etc/cron.d/planet" do
+file "/etc/cron.d/planet" do
   action :delete
 end