-
-
Notifications
You must be signed in to change notification settings - Fork 313
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 optional service meta hash #466
Conversation
manifests/service.pp
Outdated
Hash $service_config_hash = {}, | ||
$tags = [], | ||
$token = undef, | ||
Hash[String, String] $meta = {}, |
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.
Can you please enforce the minimal string lengt:
Hash[String, String] $meta = {}, | |
Hash[String[1], String[1]] $meta = {}, |
Please also align all the =
chars in the parameter section.
@@ -36,6 +36,9 @@ | |||
# [*token*] | |||
# ACL token for interacting with the catalog (must be 'management' type) | |||
# | |||
# [*meta*] |
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.
can you also mention this parameter in the README.md?
we need to wait until puppetlabs/beaker-puppet#102 got merged and released. That will fix the beaker jobs. |
Length enforcement is in. |
thanks! |
add optional service meta hash
Hi,
as requested in #436 and similar to #441 this is an up-to-date PR based on latest master of solarkennedy and the work of sc0rp10.
It adds meta hash the a service definition. The hash is optional.
Note: I've not clue about the spec files. Just took over the changes initially made. Will need external input if something is broken there.
Best regards
jardleex