Skip to content
New issue

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

Refs #29715: Add options to expose mongodb on a public interface with… #400

Closed
wants to merge 1 commit into from

Conversation

ehelms
Copy link
Member

@ehelms ehelms commented May 11, 2020

… SSL

'ssl_key' => '/tmp/cert-bundle.key',
'ssl_ca' => '/tmp/ca.crt',
})
end
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Locally this fails with:

  3) pulp::database with mongodb parameters and ipv6 should configure mongodb::server for localhost
     Failure/Error:
       is_expected.to contain_class('mongodb::server').with({
         'bind_ip' => ['0.0.0.0', '::/0'],
         'ipv6'    => true,
         'ssl'     => true,
         'ssl_key' => '/tmp/cert.key',
         'ssl_ca'  => '/tmp/ca_cert.crt',
       })
     
     Puppet::PreformattedError:
       Evaluation Error: Resource type not found: Stdlib::Absolutepath (file: /home/ehelms/workspace/upstream/modules/puppet-pulp/spec/fixtures/modules/pulp/manifests/init.pp, line: 417, column: 3) on node war.eagle

@ekohl can you see what I am doing wrong?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This can happen if you didn't prepare the fixtures (rake spec_prep) and manually ran rspec.

Copy link
Member

@ekohl ekohl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd prefer not to do this here. We can define mongodb::server in puppet-foreman_proxy_content and puppet-katello. The include here will then still work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants