Skip to content
This repository was archived by the owner on Dec 20, 2024. It is now read-only.

replace validate_string with datatype #343

Merged
merged 3 commits into from
Apr 13, 2017
Merged

Conversation

bastelfreak
Copy link
Member

No description provided.

$fact_filter = '*',
$classes = '*'
String $agent,
String $action = 'allow',
Copy link
Contributor

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 ?

Copy link
Contributor

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

Copy link
Member Author

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?

Copy link
Contributor

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

Copy link
Member Author

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":
Copy link
Contributor

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.

Copy link
Contributor

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.

Copy link
Contributor

@vinzent vinzent Apr 11, 2017

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']
Copy link
Contributor

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.

Copy link
Member Author

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.

@rnelson0 rnelson0 merged commit 256da07 into voxpupuli:master Apr 13, 2017
@bastelfreak bastelfreak deleted the puppet4 branch April 13, 2017 14:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants