Skip to content
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

(FM-3815) Parameterize file mode of config file. #296

Merged
merged 1 commit into from
Nov 17, 2015

Conversation

bmjen
Copy link
Contributor

@bmjen bmjen commented Nov 17, 2015

No description provided.

class ntp::config inherits ntp {
# Private Class
class ntp::config (
$file_mode = $::ntp::params::config_file_mode,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should default to $::ntp::config_file_mode

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, ntp::config isn't even a public class, so it shouldn't take any parameters. Just bring the variable straight into the namespace inside the main body.

@bmjen bmjen force-pushed the mode-param branch 2 times, most recently from 2501071 to c037baf Compare November 17, 2015 22:18
@hunner
Copy link
Contributor

hunner commented Nov 17, 2015

LGTM. Just waiting for travis

hunner added a commit that referenced this pull request Nov 17, 2015
(FM-3815) Parameterize file mode of config file.
@hunner hunner merged commit 9786d3e into puppetlabs:master Nov 17, 2015
@bmjen bmjen deleted the mode-param branch November 17, 2015 22:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants