You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 22, 2019. It is now read-only.
I have a base_node that has an ldap client definition and an ldap_master node that inherits base_node. With this configuration, I get the following error:
Error: Failed to apply catalog: Cannot alias File[ssl_cert] to ["/etc/ssl/certs/mycert.pem"] at /etc/puppet/modules/ldap/manifests/server/master.pp:199; resource ["File", "/etc/ssl/certs/mycert.pem"] already declared at /etc/puppet/modules/ldap/manifests/init.pp:214
I was able to get around this by doing the following:
copy /etc/puppet/files/ldap/mycert.pem to /etc/puppet/files/ldap/mycert.copy.pem
in the ldap_master node definition: ssl_cert => 'mycert.pem'
in the default node definition: ssl_cert => 'mycert.copy.pem'
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I have a base_node that has an ldap client definition and an ldap_master node that inherits base_node. With this configuration, I get the following error:
Error: Failed to apply catalog: Cannot alias File[ssl_cert] to ["/etc/ssl/certs/mycert.pem"] at /etc/puppet/modules/ldap/manifests/server/master.pp:199; resource ["File", "/etc/ssl/certs/mycert.pem"] already declared at /etc/puppet/modules/ldap/manifests/init.pp:214
The text was updated successfully, but these errors were encountered: