forked from voxpupuli/puppet-openvpn
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not require openvpn::client for client specific configs
There is no need to require openvpn::client type as client configs don't rely on any of that type resources. It also not possible to use client_specific_config if extca_enabled is set to true for a server due to openvpn::client failure. Fixes voxpupuli#229 Signed-off-by: Anton Baranov <[email protected]>
- Loading branch information
Showing
2 changed files
with
0 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,18 +13,13 @@ | |
} | ||
end | ||
let(:pre_condition) do | ||
[ | ||
'openvpn::server { "test_server": | ||
country => "CO", | ||
province => "ST", | ||
city => "Some City", | ||
organization => "example.org", | ||
email => "[email protected]" | ||
}', | ||
'openvpn::client { "test_client": | ||
server => "test_server" | ||
}' | ||
].join | ||
end | ||
|
||
it { is_expected.to contain_file('/etc/openvpn/test_server/client-configs/test_client') } | ||
|