I see what you're saying about the design of the code. The suggested
workaround you proposed doesn't work. It's the same as if I just have the
literal in there.
Error: Could not retrieve catalog from remote server: Error 400 on SERVER:
Could not find resource 'Openvpn::Server[winterthur]' for
In the case of the module you're using (
https://github.com/luxflux/puppet-openvpn it appears) and you seem to
have already understood this, the client resource has a hard dependency
on files that should only exist on the server (due to client cert
generation process).
All is really not
Hello,
I am not exactly sure how to phrase this, but consider the following:
case $::role {
'access': {
notify {Applying access packages :}
include access_packages
freebsd::rc_conf { 'test' :
In this case, you’ve got 2 issues.
1, most of that data would, ideally, be in Hiera. But, with a defined type,
you can’t use the parameterized classes lookup.
2. That case statement means that the catalog for the system with “client
doesn’t even know anything about the “access resources.