summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorRaffael Schmid <raffael@yux.ch>2013-01-19 13:54:33 +0100
committerRaffael Schmid <raffael@yux.ch>2013-01-19 13:54:33 +0100
commit0e86fd590621d815efee091819576f3d3ba4fafd (patch)
treeddcc804cfceb12269c87442b5bbada6aff14ec2c /spec
parent7b0c0d803f90c9ac3ea12f2e04708b74a3779659 (diff)
default log should be syslog
Diffstat (limited to 'spec')
-rw-r--r--spec/defines/openvpn_server_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/defines/openvpn_server_spec.rb b/spec/defines/openvpn_server_spec.rb
index f9c4780..6803745 100644
--- a/spec/defines/openvpn_server_spec.rb
+++ b/spec/defines/openvpn_server_spec.rb
@@ -51,7 +51,7 @@ describe 'openvpn::server', :type => :define do
it { should contain_file('/etc/openvpn/test_server.conf').with_content(/^comp-lzo$/) }
it { should contain_file('/etc/openvpn/test_server.conf').with_content(/^group\s+nobody$/) }
it { should contain_file('/etc/openvpn/test_server.conf').with_content(/^user\s+nobody$/) }
- it { should contain_file('/etc/openvpn/test_server.conf').with_content(/^log\-append\s+test_server\/openvpn\.log$/) }
+ it { should_not contain_file('/etc/openvpn/test_server.conf').with_content(/^log\-append\s+test_server\/openvpn\.log$/) }
it { should contain_file('/etc/openvpn/test_server.conf').with_content(/^status\s+test_server\/openvpn\-status\.log$/) }
it { should contain_file('/etc/openvpn/test_server.conf').with_content(/^dev\s+tun0$/) }
it { should contain_file('/etc/openvpn/test_server.conf').with_content(/^local\s+1\.2\.3\.4$/) }