Commit 756dc0574378bb11a3240d309c6529b09d8484a8

Authored by Antonio Terceiro
1 parent 040a0c20

mailman: actually enable/start the service

cookbooks/mailman-api/recipes/default.rb
... ... @@ -6,3 +6,8 @@ if node['platform'] == 'centos'
6 6 end
7 7  
8 8 package 'mailman-api'
  9 +
  10 +service 'mailman-api' do
  11 + action [:enable, :start]
  12 + supports :restart => true
  13 +end
... ...
test/mailman_api_test.sh 0 → 100644
... ... @@ -0,0 +1,8 @@
  1 +. $(dirname $0)/test_helper.sh
  2 +
  3 +test_mailman_api_running() {
  4 + assertTrue 'mailman running' 'run_on integration pgrep -fa mailman-api'
  5 +}
  6 +
  7 +. shunit2
  8 +
... ...