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

Add source parameter to motd #16

Merged
merged 3 commits into from
Oct 30, 2014
Merged

Conversation

adreyer
Copy link
Contributor

@adreyer adreyer commented Oct 29, 2014

This parameter will be useful for static motds and NC examples.

The spec tests pass now too.

If you would like to provide a static string as the MOTD content you can use the content parameter:

class { 'motd':
content: 'Hello!',
Copy link
Contributor

Choose a reason for hiding this comment

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

This should be content => 'Hello!',

@adreyer adreyer force-pushed the master branch 2 times, most recently from f996f1f to e80aa52 Compare October 30, 2014 17:23
) {
if $::kernel == 'Linux' {
if $template {
if content {
Copy link
Contributor

Choose a reason for hiding this comment

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

This should be $content

underscorgan pushed a commit that referenced this pull request Oct 30, 2014
Add source parameter to motd
@underscorgan underscorgan merged commit 1c29c22 into puppetlabs:master Oct 30, 2014
@underscorgan
Copy link
Contributor

Thanks @adreyer!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants