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

add cors domains parameter #715

Merged
merged 1 commit into from
Feb 25, 2019
Merged

Conversation

timogoebel
Copy link
Member

This is required to support: theforeman/foreman#6467

@@ -311,6 +313,7 @@
Stdlib::Port $dynflow_pool_size = $::foreman::params::dynflow_pool_size,
String $jobs_service = $::foreman::params::jobs_service,
Boolean $hsts_enabled = $::foreman::params::hsts_enabled,
Array[Stdlib::HTTPUrl] $cors_domains = $::foreman::params::cors_domains,
Copy link
Member

Choose a reason for hiding this comment

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

HTTPUrl -> Httpurl

Copy link
Member Author

Choose a reason for hiding this comment

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

Tests fail now with unknown data type Stdlib::Httpurl.

Copy link
Member

Choose a reason for hiding this comment

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

I went with https://github.com/puppetlabs/puppetlabs-stdlib#stdlibhttpurl but that's not what's actually in the code :( puppetlabs/puppetlabs-stdlib#1001 should fix that.

manifests/init.pp Outdated Show resolved Hide resolved
templates/settings.yaml.erb Outdated Show resolved Hide resolved
@timogoebel
Copy link
Member Author

@ekohl: Updated.

@timogoebel
Copy link
Member Author

Reverted the HTTPUrl change.

@ekohl ekohl merged commit a32fa64 into theforeman:master Feb 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants