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

windows_motd_title parameter added #108

Merged
merged 8 commits into from
May 3, 2018
Merged

Conversation

cgpeanut
Copy link
Contributor

allows users to customize the windows message of the day title.

cgpeanut and others added 4 commits March 13, 2018 15:43
windows "Message of the day" title now customizable for corporate consumption.
This will test the windows_motd_title param
Copy link
Contributor

@hunner hunner left a 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',
Copy link
Contributor

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?

Choose a reason for hiding this comment

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

@param has been added.

@@ -213,6 +213,7 @@
let(:params) do
{
content: 'Hello!',
windows_motd_title: 'This is the title.',
Copy link
Contributor

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.

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

Choose a reason for hiding this comment

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

also indentation.

@hunner hunner added the feature label Mar 14, 2018
Copy link
Contributor Author

@cgpeanut cgpeanut left a 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,

@david22swan
Copy link
Member

@hunner Are you satisfied with the changes made??

@cgpeanut
Copy link
Contributor Author

cgpeanut commented Apr 11, 2018 via email

@pmcmaw pmcmaw merged commit bdd1e23 into puppetlabs:master May 3, 2018
@pmcmaw
Copy link
Contributor

pmcmaw commented May 3, 2018

@cgpeanut great PR!
I would just like to thank you for taking the time to contribute! 👍

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.

5 participants