Add test for passenger cookbook
authorTom Hughes <tom@compton.nu>
Sun, 16 Feb 2020 10:29:04 +0000 (10:29 +0000)
committerTom Hughes <tom@compton.nu>
Sun, 16 Feb 2020 10:29:04 +0000 (10:29 +0000)
.kitchen.yml
.travis.yml
cookbooks/passenger/metadata.rb
cookbooks/passenger/recipes/default.rb

index db9eb968086a61a515780dd4220c7d20a8feb04f..5e058c04b13fde14c1c098b2990d2def8645322b 100644 (file)
@@ -139,6 +139,9 @@ suites:
   - name: otrs
     run_list:
       - recipe[otrs::default]
+  - name: passenger
+    run_list:
+      - recipe[passenger::default]
   - name: planet
     run_list:
       - recipe[planet::default]
index 44fb7b62e7506ead7f01b392256e6ec000add712..f6be57d86d21b612464ff18c643b2778ea888ba5 100644 (file)
@@ -90,6 +90,9 @@ jobs:
     - name: "Test Kitchen (otrs)"
       script:
         - bundle exec kitchen test otrs-ubuntu-1804
+    - name: "Test Kitchen (passenger)"
+      script:
+        - bundle exec kitchen test passenger-ubuntu-1804
     - name: "Test Kitchen (planet)"
       script:
         - bundle exec kitchen test planet-ubuntu-1804
index 24863de8a1533693d3e8c482b972a91d3739fa4c..69e22f4a3b2fd1a130acea55298a8c81f09b599f 100644 (file)
@@ -7,4 +7,6 @@ description       "Installs and configures passenger"
 version           "1.0.0"
 supports          "ubuntu"
 depends           "apache"
+depends           "apt"
 depends           "munin"
+depends           "systemd"
index 03412e2ff8c7241a24c85fc6dfc777b90bc39151..159c6b3ca19ee35a66f7151fd4568c18b87b39f4 100644 (file)
@@ -18,6 +18,7 @@
 #
 
 include_recipe "apache"
+include_recipe "apt"
 include_recipe "munin"
 
 package "ruby#{node[:passenger][:ruby_version]}"