summaryrefslogtreecommitdiff
path: root/puppet/modules/site_apache/spec
diff options
context:
space:
mode:
authorTulio Casagrande <tcasagra@thoughtworks.com>2017-01-17 11:03:14 -0200
committervarac <varacanero@zeromail.org>2017-01-18 18:44:21 +0100
commit740734a79b143b572da440e203dbadcb471f2e4e (patch)
treeca38c6453801d992168499820335b3110b2c06d0 /puppet/modules/site_apache/spec
parent4d35718a58a11c399cca7001ac3ae73cd292fabf (diff)
Rename extensions module to autorestart
Diffstat (limited to 'puppet/modules/site_apache/spec')
-rw-r--r--puppet/modules/site_apache/spec/classes/autorestart.rb7
-rw-r--r--puppet/modules/site_apache/spec/classes/extensions.rb7
2 files changed, 7 insertions, 7 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
diff --git a/puppet/modules/site_apache/spec/classes/extensions.rb b/puppet/modules/site_apache/spec/classes/extensions.rb
deleted file mode 100644
index 632b2d72..00000000
--- a/puppet/modules/site_apache/spec/classes/extensions.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-require 'spec_helper'
-
-describe 'site_apache::common::extensions' do
- it "should include apache autostart" do
- should contain_file('/etc/systemd/system/apache2.service.d/auto_restart.conf').with_source('puppet:///modules/site_apache/apache_auto_restart.conf')
- end
-end