From: Michal Migurski Date: Wed, 15 Jan 2020 01:43:57 +0000 (-0800) Subject: Updated wiki configuration to run under Test-Kitchen X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/f90d05d4762f35e75d6955d32b80494ada622c25 Updated wiki configuration to run under Test-Kitchen - Added missing databags to fix transient errors - Added wiki test suite with appropriate cookbooks --- diff --git a/.kitchen.yml b/.kitchen.yml index a9e3949c9..1f71e92cd 100644 --- a/.kitchen.yml +++ b/.kitchen.yml @@ -323,3 +323,10 @@ suites: - name: wordpress run_list: - recipe[wordpress::default] + - name: wiki + run_list: + - recipe[apt::default] + - recipe[accounts::default] + - recipe[munin::default] + - recipe[wiki] + - role[wiki] diff --git a/test/data_bags/accounts/wiki.json b/test/data_bags/accounts/wiki.json new file mode 100644 index 000000000..0ee9618c2 --- /dev/null +++ b/test/data_bags/accounts/wiki.json @@ -0,0 +1,7 @@ +{ + "id": "wiki", + "uid": "555", + "comment": "wiki.openstreetmap.org", + "home": "/opt/wiki", + "manage_home": false +} diff --git a/test/data_bags/wiki/passwords.json b/test/data_bags/wiki/passwords.json new file mode 100644 index 000000000..de5589f7f --- /dev/null +++ b/test/data_bags/wiki/passwords.json @@ -0,0 +1,6 @@ +{ + "database": "pw1", + "admin": "pw2", + "recaptcha": "pw3", + "thunderforest": "pw4" +}