diff --git a/manifests/client_specific_config.pp b/manifests/client_specific_config.pp index b5c1b196..7d07b0d7 100644 --- a/manifests/client_specific_config.pp +++ b/manifests/client_specific_config.pp @@ -88,7 +88,6 @@ ) { Openvpn::Server[$server] -> - Openvpn::Client[$name] -> Openvpn::Client_specific_config[$name] file { "${::openvpn::params::etc_directory}/openvpn/${server}/client-configs/${name}": diff --git a/spec/defines/openvpn_client_specific_config_spec.rb b/spec/defines/openvpn_client_specific_config_spec.rb index 89737ae2..3109e3b1 100644 --- a/spec/defines/openvpn_client_specific_config_spec.rb +++ b/spec/defines/openvpn_client_specific_config_spec.rb @@ -11,18 +11,13 @@ :operatingsystemrelease => '12.04', } } let(:pre_condition) do - [ 'openvpn::server { "test_server": country => "CO", province => "ST", city => "Some City", organization => "example.org", email => "testemail@example.org" - }', - 'openvpn::client { "test_client": - server => "test_server" }' - ].join end it { should contain_file('/etc/openvpn/test_server/client-configs/test_client') }