]> git.openstreetmap.org Git - chef.git/commitdiff
Add geocoder extension to CiviCRM
authormichael spreng <code@m.spreng.ch>
Wed, 26 Jun 2024 08:29:59 +0000 (10:29 +0200)
committerGrant <github@firefishy.com>
Wed, 26 Jun 2024 12:18:34 +0000 (13:18 +0100)
The contribution pages want to use a geocoder. The default geocoder is
nominatim, so it stays in the OSMF :)

cookbooks/civicrm/attributes/default.rb

index f06407cf25270b49b50d2ed3ac9e23ccd594076b..96ed4abb389f69e6dc560c4310b37a33485d875b 100644 (file)
@@ -93,3 +93,8 @@ default[:civicrm][:extensions][:firewall][:revision] = "1.5.10"
 default[:civicrm][:extensions][:qfsessionwarning][:name] = "org.civicrm.qfsessionwarning"
 default[:civicrm][:extensions][:qfsessionwarning][:repository] = "https://lab.civicrm.org/extensions/qfsessionwarning.git"
 default[:civicrm][:extensions][:qfsessionwarning][:revision] = "1.3"
+
+# The contribution forms like to use a geocoder. Use the CiviCRM geocoder which uses nominatim
+default[:civicrm][:extensions][:geocoder][:name] = "org.wikimedia.geocoder"
+default[:civicrm][:extensions][:geocoder][:repository] = "https://github.com/eileenmcnaughton/org.wikimedia.geocoder.git"
+default[:civicrm][:extensions][:geocoder][:revision] = "1.12"