Skip to content

Conversation

eabecho
Copy link
Contributor

@eabecho eabecho commented Sep 4, 2014

No description provided.

@eabecho
Copy link
Contributor Author

eabecho commented Sep 30, 2014

Any comments?

Copy link
Owner

Choose a reason for hiding this comment

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

instead of commenting it out, the line should be removed. The test would then be

it { should contain_file('ntp_conf').without_content(/^\s*fudge/) }

@ghoneycutt
Copy link
Owner

It needs a test that shows failure if ignore_local_clock is set to an incorrect type, like an array.

Copy link
Owner

Choose a reason for hiding this comment

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

remove the commented out lines and the else statement. This seems to be the reverse of your logic since the default you specify is false, so these lines would not be there. I think your logic should likely be <% if @my_ignore_local_clock == false -%>

@ghoneycutt
Copy link
Owner

Can you point to any articles that explain these options being related to ignoring the local clock?

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