-
-
Notifications
You must be signed in to change notification settings - Fork 6
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
Replace config template by conversion to yaml #37
Conversation
6d1b698
to
c76218c
Compare
c76218c
to
66712a0
Compare
$conf_dir = $icingadb::globals::conf_dir | ||
$user = $icingadb::globals::user | ||
$group = $icingadb::globals::group | ||
$redis_tls_files = $icingadb::redis_tls_files | ||
$db_tls_files = $icingadb::db_tls_files | ||
$config_content = if versioncmp($stdlib_version, '9.0.0') < 0 { | ||
to_yaml($icingadb::config) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
are there still users for this old version of stdlib? metadata.json lists 9.0.0 als oldest supported version.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I have a customer this week who is not on the bleeding edge.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's the reason for the other three Icinga modules to also support older version.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If that version is supported, metadata.json
should reflect that
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It does?!
Line 12 in 54fa582
"name": "puppetlabs/stdlib", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I went @bastelfreak's comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ekohl You're welcome.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm still annoyed that stdlib didn't have an 8.x version with the namespaced functions and we have to resort to this
No description provided.