I’m a happy user of SaltStack and I recently needed to deploy 26 discourses on Debian Buster.
I find the Administrative Bulk Operations howto which help a lot.
So, I did a formula to automate things and make it reproductible.
I managed to:
- define settings
- create users (with personal rake task)
Then, someone asked me to deploy Matomo, I found this theme component and managed to automate it’s installation.
But I have a problem to define the parameters of this theme component, it’s settings can’t be set by
My idea is to define themes in SaltStack configuration like:
discourse: themes: matomo: # See https://github.com/discourse/discourse/blob/master/lib/tasks/themes.rake theme_name: https://github.com/discourse/discourse-matomo-analytics.git settings: # see https://github.com/discourse/discourse-matomo-analytics/blob/master/settings.yml host_url: 'my-matomo.example.net' website_id: 2
But I’m not sure how I could set the matomo settings programmatically.
Does someone have an idea?