-
-
Notifications
You must be signed in to change notification settings - Fork 39
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
Comments #4
Comments
That's an interesting feature, that we might want to code for other augeasproviders as well. I think though that I'd rather pass an array of comments then: sysctl { 'net.ipv4.tcp_max_syn_backlog':
ensure => present,
value => '4096',
comment => ['Increase the number of remembered', 'connection requests awaiting acknowledgement from the client'],
} @domcleal what do you think? |
Yes that would be good. sysctl { 'net.ipv4.tcp_max_syn_backlog':
ensure => present,
value => '4096',
comment => '\n\n Increase the number of remembered connection requests awaiting acknowledgement from the client'
} Thanks Joe.. |
The example you gave initially didn't have newlines in the output. What do you expect those newlines to do? |
The newlines will help space out the lines in the file. Joe. |
Firstly thanks for the module.
I have a question - would it be possible to have comments spanning multiple lines or be able to add a new line at the start of the comment so that when the lines are added in /etc/sysctl.conf file they are not all crammed together and are more readable.
Example:
This is what it currently produces:
What would be nice is to be able to write the following:
which produces lines in the file as shown:
Thanks
Joe..
The text was updated successfully, but these errors were encountered: