summaryrefslogtreecommitdiff
path: root/puppet/modules/site_apache/spec/classes/autorestart.rb
diff options
context:
space:
mode:
authorTulio Casagrande <tcasagra@thoughtworks.com>2017-01-17 11:03:14 -0200
committerTulio Casagrande <tcasagra@thoughtworks.com>2017-01-17 14:23:20 -0200
commit810df8983e3ada8ad4b0ebbc7e0e3cf01219e33c (patch)
treeca38c6453801d992168499820335b3110b2c06d0 /puppet/modules/site_apache/spec/classes/autorestart.rb
parent65604b35e96c4ca6e83c2d90b1c512dfa7ff31e7 (diff)
Rename extensions module to autorestart
Diffstat (limited to 'puppet/modules/site_apache/spec/classes/autorestart.rb')
-rw-r--r--puppet/modules/site_apache/spec/classes/autorestart.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/puppet/modules/site_apache/spec/classes/autorestart.rb b/puppet/modules/site_apache/spec/classes/autorestart.rb
new file mode 100644
index 00000000..afa02ec9
--- /dev/null
+++ b/puppet/modules/site_apache/spec/classes/autorestart.rb
@@ -0,0 +1,7 @@
+require 'spec_helper'
+
+describe 'site_apache::common::autorestart' do
+ it "should include apache autorestart" do
+ should contain_file('/etc/systemd/system/apache2.service.d/autorestart.conf').with_source('puppet:///modules/site_apache/autorestart.conf')
+ end
+end