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

Use stricter datatypes #669

Merged
merged 1 commit into from
Oct 7, 2018
Merged

Use stricter datatypes #669

merged 1 commit into from
Oct 7, 2018

Conversation

ekohl
Copy link
Member

@ekohl ekohl commented Sep 6, 2018

Perhaps there are more fields that can use better data types.

Copy link
Member

@sean797 sean797 left a comment

Choose a reason for hiding this comment

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

Nice, a couple of suggestions:

Stdlib::Fqdn

String $servername = $::foreman::params::servername,

@@ -68,8 +68,8 @@
String $priority = $::foreman::vhost_priority,
String $servername = $::foreman::servername,
Copy link
Member

Choose a reason for hiding this comment

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

Stdlib::Fqdn ?

Copy link
Member Author

Choose a reason for hiding this comment

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

See, I said there are probably more fields :) Good one.

@ekohl
Copy link
Member Author

ekohl commented Sep 13, 2018

Also changed the server_ssl_certs_dir and server_ssl_crl to be Variant[Enum[''], Stdlib::Absolutepath]

@mmoll
Copy link
Contributor

mmoll commented Oct 7, 2018

@ekohl What's the status here? Still WIP?

@ekohl ekohl changed the title [WIP] Use more datatypes Use more datatypes Oct 7, 2018
@ekohl
Copy link
Member Author

ekohl commented Oct 7, 2018

No, I think this can be merged. Even if I missed a few, I think this can be reviewed to be merged.

@mmoll mmoll merged commit a3e21b6 into theforeman:master Oct 7, 2018
@mmoll
Copy link
Contributor

mmoll commented Oct 7, 2018

merged, bedankt @ekohl!

@ekohl ekohl deleted the use-datatypes branch October 7, 2018 22:13
@ekohl ekohl changed the title Use more datatypes Use stricter datatypes Oct 7, 2018
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.

4 participants