modulesync 7.5.0 #177
Annotations
2 errors
Run tests:
spec/defines/openvpn_server_spec.rb#L681
openvpn::server on redhat-7-x86_64 with easyrsa 2.0 creating a server with the minimum parameters is expected to contain File[/etc/openvpn/test_server.conf] with content =~ /^local\s+10\.0\.2\.15$/
Failure/Error: it { is_expected.to contain_file("#{server_directory}/test_server.conf").with_content(%r{^local\s+10\.0\.2\.15$}) }
expected that the catalogue would contain File[/etc/openvpn/test_server.conf] with content set to /^local\s+10\.0\.2\.15$/ but it is set to "mode server\nclient-config-dir /etc/openvpn/test_server/client-configs\nca /etc/openvpn/test_server/keys/ca.crt\ncert /etc/openvpn/test_server/keys/server.crt\nkey /etc/openvpn/test_server/keys/server.key\ndh /etc/openvpn/test_server/keys/dh2048.pem\ncrl-verify /etc/openvpn/test_server/crl.pem\nproto tcp-server\nport 1194\ntls-server\ngroup nobody\nuser nobody\nstatus /var/log/openvpn/test_server-status.log\ndev tun0\nlocal 10.109.1.2\ntopology net30\ncipher AES-256-GCM\ntls-cipher TLS-DHE-RSA-WITH-AES-256-GCM-SHA384:TLS-DHE-RSA-WITH-AES-256-CBC-SHA256:TLS-DHE-RSA-WITH-AES-128-GCM-SHA256:TLS-DHE-RSA-WITH-AES-128-CBC-SHA256\n\n# Additional custom options\n"
Diff:
@@ -1,20 +1,39 @@
-(?-mix:^local\s+10\.0\.2\.15$)
+mode server
+client-config-dir /etc/openvpn/test_server/client-configs
+ca /etc/openvpn/test_server/keys/ca.crt
+cert /etc/openvpn/test_server/keys/server.crt
+key /etc/openvpn/test_server/keys/server.key
+dh /etc/openvpn/test_server/keys/dh2048.pem
+crl-verify /etc/openvpn/test_server/crl.pem
+proto tcp-server
+port 1194
+tls-server
+group nobody
+user nobody
+status /var/log/openvpn/test_server-status.log
+dev tun0
+local 10.109.1.2
+topology net30
+cipher AES-256-GCM
+tls-cipher TLS-DHE-RSA-WITH-AES-256-GCM-SHA384:TLS-DHE-RSA-WITH-AES-256-CBC-SHA256:TLS-DHE-RSA-WITH-AES-128-GCM-SHA256:TLS-DHE-RSA-WITH-AES-128-CBC-SHA256
+
+# Additional custom options
|
Run tests
Process completed with exit code 1.
|
Loading