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

Missing param force / replace #22

Open
real-aga opened this issue Mar 21, 2018 · 3 comments
Open

Missing param force / replace #22

real-aga opened this issue Mar 21, 2018 · 3 comments

Comments

@real-aga
Copy link

moved from former sysctl module (not supported any more) to augeasproviders_sysctl.
existing target files in /etc/sysctl.d cannot be overwritten:
Failed to save Augeas tree to file.
Dependency Sysctl[] has failures.

Type "file" has force / replace params these I am missing here.
May be there is a simple other solution?

Thanks in advance

Anton

@raphink
Copy link
Member

raphink commented May 16, 2018

Which former sysctl module are you referring to?

@real-aga
Copy link
Author

real-aga commented May 16, 2018

Hi Raphaël,
I moved from thias/sysctl to augeasproviders getting errors with /etc/sysctl.d/ with same names:

Error: /Stage[main]/Commons::Sysctl_changes/Sysctl[net.ipv4.tcp_keepalive_time]: Could not evaluate: Failed to save Augeas tree to file. See debug logs for details.

augeasproviders_sysctl has no option to overwrite ... thats all
Cheers

@raphink
Copy link
Member

raphink commented Oct 18, 2018

@real-aga can you run Puppet with --debug and send the debug log? Also, can you provide the current sysctl file and the Puppet code you're trying to apply?

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

No branches or pull requests

2 participants