]> git.openstreetmap.org Git - chef.git/commitdiff
remove the old configuration file
authormichael spreng <code@m.spreng.ch>
Wed, 10 Jul 2024 15:21:28 +0000 (17:21 +0200)
committerGrant <github@firefishy.com>
Wed, 10 Jul 2024 15:56:04 +0000 (16:56 +0100)
cookbooks/civicrm/recipes/default.rb

index 399d06c524ed0f0f0c53748a21a6fbc70bb8246e..2aed4f64fba0b9c6923c054b55978608c1eb5f50 100644 (file)
@@ -235,6 +235,10 @@ file "/srv/supporting.openstreetmap.org/wp-content/uploads/civicrm/civicrm.setti
   content settings
 end
 
+file "#{civicrm_directory}/civicrm.settings.php" do
+  action :delete
+end
+
 systemd_service "osmf-crm-jobs" do
   description "Run CRM jobs"
   exec_start "/usr/bin/php #{civicrm_directory}/civicrm/bin/cli.php -s supporting.openstreetmap.org -u batch -p \"#{passwords['batch']}\" -e Job -a execute"