]> git.openstreetmap.org Git - chef.git/commitdiff
Fix mediawiki cookbook dependencies
authorTom Hughes <tom@compton.nu>
Wed, 18 Mar 2020 20:11:34 +0000 (20:11 +0000)
committerTom Hughes <tom@compton.nu>
Wed, 18 Mar 2020 20:11:34 +0000 (20:11 +0000)
.kitchen.yml
cookbooks/mediawiki/metadata.rb
cookbooks/mediawiki/recipes/default.rb

index 1f71e92cd36109cc78ea7783062518d3281920b3..994885126ed72373e9cbbbf43bf3bb1e68b5f23b 100644 (file)
@@ -320,13 +320,9 @@ suites:
   - name: web-rails
     run_list:
       - recipe[web::rails]
+  - name: wiki
+    run_list:
+      - recipe[wiki::default]
   - name: wordpress
     run_list:
       - recipe[wordpress::default]
-  - name: wiki
-    run_list:
-      - recipe[apt::default]
-      - recipe[accounts::default]
-      - recipe[munin::default]
-      - recipe[wiki]
-      - role[wiki]
index 9df8048079287980de97d44bb3500bac0428839e..03571ce4a91753fcc51f70497f537388dc126868 100644 (file)
@@ -6,7 +6,9 @@ description       "Installs and configures mediawiki"
 
 version           "1.0.0"
 supports          "ubuntu"
-depends           "memcached"
+depends           "accounts"
 depends           "apache"
-depends           "mysql"
+depends           "apt"
 depends           "git"
+depends           "memcached"
+depends           "mysql"
index 27c7cb48fe1b228a4b076345c67b78774fbb2c5a..4466250b94836dd5d3ec865dc37848fb91437d74 100644 (file)
 # limitations under the License.
 #
 
-include_recipe "memcached"
+include_recipe "accounts"
 include_recipe "apache"
-include_recipe "mysql"
+include_recipe "apt"
 include_recipe "git"
+include_recipe "memcached"
+include_recipe "mysql"
 
 # Mediawiki Base Requirements
 package %w[