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

multivalues: change tabs to spaces #71

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

broerman
Copy link

@broerman broerman commented Sep 3, 2020

example:
net.ipv4.ip_local_port_range = 1024 64999

@gtufte
Copy link

gtufte commented Oct 11, 2021

Would be nice to have this merged! I have some settings that run in a constant exec-loop due to the /usr/bin/test outputs tabs instead of spaces, e.g.

Puppet run debug output:

Debug: Executing: '/usr/bin/test "$(/sbin/sysctl -n net.ipv4.tcp_wmem)" = "4096 12582912 16777216"'

Output when command run manually:

/sbin/sysctl -n net.ipv4.tcp_wmem
4096	12582912	16777216

Command run with suggested fix

/sbin/sysctl -n net.ipv4.tcp_wmem | /usr/bin/tr '\t' ' '
4096 12582912 16777216

@bschonec
Copy link

Please merge this. I can confirm that the changes in the pull request solved the space/tab issue for me.

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.

3 participants