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

Fix patching sysctl.conf on FreeBSD. #48087

Merged
merged 1 commit into from
Jun 14, 2018

Conversation

mat813
Copy link
Contributor

@mat813 mat813 commented Jun 13, 2018

In b3c1be2 the lines were stripped of their ending \n, but the \n was
never added back to the lines, so calling writelines generates a broken
one line file.

Previous Behavior

Using sysctl.present would change /etc/sysctl.conf to have all its content on one line.

New Behavior

Keep the lines as lines and make it work again.

Tests written?

No

Commits signed with GPG?

Yes

In b3c1be2 the lines were stripped of their ending \n, but the \n was
never added back to the lines, so calling writelines generates a broken
one line file.
@rallytime rallytime merged commit 42d88ec into saltstack:develop Jun 14, 2018
garethgreenaway added a commit to garethgreenaway/salt that referenced this pull request Nov 1, 2018
rallytime pushed a commit that referenced this pull request Nov 1, 2018
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.

None yet

3 participants