summaryrefslogtreecommitdiff
path: root/puppet/modules/site_apache/spec
diff options
context:
space:
mode:
Diffstat (limited to 'puppet/modules/site_apache/spec')
-rw-r--r--puppet/modules/site_apache/spec/classes/autorestart_spec.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/puppet/modules/site_apache/spec/classes/autorestart_spec.rb b/puppet/modules/site_apache/spec/classes/autorestart_spec.rb
new file mode 100644
index 00000000..ad9c9f2e
--- /dev/null
+++ b/puppet/modules/site_apache/spec/classes/autorestart_spec.rb
@@ -0,0 +1,7 @@
+require 'spec_helper'
+
+describe 'site_apache::common::autorestart' do
+ it "should include apache autorestart" do
+ should contain_file('apache2.service.d/autorestart.conf').with_source('puppet:///modules/site_apache/autorestart.conf')
+ end
+end