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
Apologies because this might be more an user error than a bug.
I am trying to use the class ssh::server directly from within a profile class and I am getting a duplicate declaration error. The documentation for the module suggests that I should be able to use the ssh::server class directly and I do not understand what I am doing wrong.
class profile::ssh::server {
class { 'ssh::server':
storeconfigs_enabled => true,
validate_sshd_file => true,
options => {
'AddressFamily' => 'inet',
... ... ... more options here ....
},
}
}
And the error message indicates a duplicate declaration at /site/profile/manifests/ssh/server.pp (my profile class) and /modules/ssh/manifests/init.pp (this module managed by r10k)
Apologies because this might be more an user error than a bug.
I am trying to use the class ssh::server directly from within a profile class and I am getting a duplicate declaration error. The documentation for the module suggests that I should be able to use the ssh::server class directly and I do not understand what I am doing wrong.
And the error message indicates a duplicate declaration at /site/profile/manifests/ssh/server.pp (my profile class) and /modules/ssh/manifests/init.pp (this module managed by r10k)
I am following the example documentation here
https://github.com/saz/puppet-ssh/tree/v9.0.0#server-only
I have searched all over my control repository and I do not see any other references to either class ssh or class ssh::server
Any pointers are appreciated.
Thank you in advance for your help.
The text was updated successfully, but these errors were encountered: