diff --git a/manifests/client_specific_config.pp b/manifests/client_specific_config.pp index 17b785e1..241387a9 100644 --- a/manifests/client_specific_config.pp +++ b/manifests/client_specific_config.pp @@ -38,7 +38,6 @@ ) { if $manage_client_configs { Openvpn::Server[$server] - -> Openvpn::Client[$name] -> Openvpn::Client_specific_config[$name] } else { Openvpn::Server[$server] diff --git a/spec/defines/openvpn_client_specific_config_spec.rb b/spec/defines/openvpn_client_specific_config_spec.rb index 93ea09e1..db1afc75 100644 --- a/spec/defines/openvpn_client_specific_config_spec.rb +++ b/spec/defines/openvpn_client_specific_config_spec.rb @@ -6,18 +6,13 @@ on_supported_os.each do |os, facts| context "on #{os}" do 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 + 'openvpn::server { "test_server": + country => "CO", + province => "ST", + city => "Some City", + organization => "example.org", + email => "testemail@example.org" + }' end let(:facts) do facts