-
-
Notifications
You must be signed in to change notification settings - Fork 178
Conversation
manifests/actionpolicy/rule.pp
Outdated
$fact_filter = '*', | ||
$classes = '*' | ||
String $agent, | ||
String $action = 'allow', |
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.
isn't action more an Enum ?
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.
is even something other than allow allowed here? https://github.com/puppetlabs/mcollective-actionpolicy-auth#usage
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 not sure which values are allowed here. Do you have a list?
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.
https://github.com/puppetlabs/mcollective-actionpolicy-auth#policy-file-format
Any number of policy lines are permitted. These must be tab delimited lines with either four or five fields (the final field is optional) in the following order:
allow or deny
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.
@vinzent fixed
|
||
file { "${confdir}/truststore.jks": | ||
-> file { "${confdir}/truststore.jks": |
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.
why moving them?
why specifying them at all? puppet4 has manifest ordering by default.
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.
ah this is the new puppet-lint s**t. never mind.
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.
still leaves the why specifying the relationship at all. :)
Class['mcollective::client::install'] -> | ||
Class['mcollective::client::config'] | ||
Class['mcollective::client::install'] | ||
-> Class['mcollective::client::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.
Why moving?
From my perspective the old style is nicer.
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.
we agreed somewhere in the IRC to go with the new puppet-lint style. This is recommended by the style guide. We should discuss the style guide if we don't like it, but not disable the linter.
No description provided.