-
Notifications
You must be signed in to change notification settings - Fork 87
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
windows_motd_title parameter added #108
Conversation
windows "Message of the day" title now customizable for corporate consumption.
This will test the windows_motd_title param
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.
The hard tabs are causing test failures.
| @@ -21,6 +21,7 @@ | |||
| $issue_content = undef, | |||
| $issue_net_template = undef, | |||
| $issue_net_content = undef, | |||
| $windows_motd_title = 'Message of the day', | |||
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.
Could you also add an @param docline above for documentation?
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.
@param has been added.
spec/classes/motd_spec.rb
Outdated
| @@ -213,6 +213,7 @@ | |||
| let(:params) do | |||
| { | |||
| content: 'Hello!', | |||
| windows_motd_title: 'This is the title.', | |||
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.
Looks like the indentation is off here. Hard tabs should not be used, only spaces.
spec/classes/motd_spec.rb
Outdated
| is_expected.to contain_Registry_value('HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\policies\system\legalnoticecaption').with( | ||
| ensure: 'present', | ||
| type: 'string', | ||
| data: 'This is the title.', |
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.
also indentation.
Align the spec.
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.
corrections have been done,
Added the @param comment line to init.pp per request
|
@hunner Are you satisfied with the changes made?? |
|
yep
…On Wed, Apr 11, 2018 at 6:32 AM, david22swan ***@***.***> wrote:
@hunner <https://github.com/hunner> Are you satisfied with the changes
made??
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#108 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AQAYrQz2nptOPmffaCuvpU7Cc3GV0SiVks5tnem3gaJpZM4Spfsy>
.
|
|
@cgpeanut great PR! |
allows users to customize the windows message of the day title.