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

I can't get sudo:defaults to work with hiera #308

Open
opentokix opened this issue May 14, 2024 · 0 comments
Open

I can't get sudo:defaults to work with hiera #308

opentokix opened this issue May 14, 2024 · 0 comments

Comments

@opentokix
Copy link

opentokix commented May 14, 2024

I have this block in hiera

sudo::defaults:
  use_pty:
  logfile: "/var/log/sudo.log"
  timestamp_timeout: 10

I have also tried this mentioned in the docs.

sudo::defaults:
  use_pty:
  logfile: 
    value: "/var/log/sudo.log"
  timestamp_timeout: 
    value: 10

But those three default-lines does not get added to /etc/sudoers

Puppet agent 8.6.0
Puppetserver: 8.6.0
OS: Ubuntu 22.04

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

1 participant