We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello,
I tried the Git version from you and configured a base profile class .. like this one:
# source modules/profile/manifests/docker/harbor.pp # == Class: profile::docker::harbor class profile::docker::harbor ( $api_version = hiera('docker::harbor::api_version'), String $ldap_url = hiera('docker::harbor::ldap_url'), String $ldap_base_dn = hiera('docker::harbor::ldap_base_dn'), String $ldap_search_dn = hiera('docker::harbor::ldap_search_dn'), #$ldap_search_password = Sensitive(hiera('docker::harbor::ldap_search_password')), String $username = hiera('docker::harbor::username'), $password = Sensitive(hiera('docker::harbor::password')), ){ include harbor $swagger_settings = { username => $username, password => $password.unwrap, scheme => 'https', verify_ssl => true, verify_ssl_host => true, ssl_ca_cert => '/etc/ssl/certs/ca-certificates.crt', host => $facts['fqdn'], api_version => Integer($api_version), } file { '/etc/puppetlabs/swagger.yaml': ensure => present, content => to_yaml($swagger_settings), } harbor_user_settings { 'ldap_settings': auth_mode => 'ldap_auth', ldap_url => "$ldap_url", ldap_base_dn => "$ldap_base_dn", ldap_search_dn => "$ldap_search_dn", } }
and configured the values in my Hiera node config.
It fails in the end with:
Error: Could not run: cannot load such file -- harbor1_client
I've tried to install the Gem module on the Puppetserver:
# puppetserver gem install harbor1_client harbor2_client harbor2_legacy_client # systemctl restart puppetserver
But still no success.
Any suggestions ?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello,
I tried the Git version from you and configured a base profile class .. like this one:
and configured the values in my Hiera node config.
It fails in the end with:
I've tried to install the Gem module on the Puppetserver:
But still no success.
Any suggestions ?
The text was updated successfully, but these errors were encountered: