-
-
Notifications
You must be signed in to change notification settings - Fork 39
Initial support for puppetserver 2.0.0 paths #8
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,11 @@ | |
) { | ||
require ::puppetserver::augeas | ||
|
||
$targetdir = '/etc/puppetserver/conf.d' | ||
if versioncmp($::puppetversion, '4.0.0') >= 0 { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm surprised this is linked to There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @raphink Well, see my initial comment in the PR. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I guess this module would be a proper place to ship such a fact then. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @raphink I guess it's safe to admit that if |
||
$targetdir = '/etc/puppetlabs/puppetserver/conf.d' | ||
} else { | ||
$targetdir = '/etc/puppetserver/conf.d' | ||
} | ||
$target = "/files${targetdir}/${name}" | ||
|
||
case $ensure { | ||
|
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 just put that on a next line for readability?