Comments (4)
Yeah I spotted that too the other day and thought it's probably a typo in documentation and should actually be false. Would be nice if someone could also confirm this.
from puppet-sudo.
Yeah, that's a mistake in the docs. the default is true, so the sudo module works on all platforms. this was set to false in version <3 but changed to true afterwards.
this was actually changed before my merge of the augeas redhat 5 fix, so maybe steffen could change it back to false. i would feel more comfortable if this is per default false, but it's up to steffen to decide.
nevertheless i'm going to send a pull request to fix the documentation.
from puppet-sudo.
This was indeed a mistake in the docs.
@tosmi I've set this to true, as many (including me) are expecting full management of sudo. If the sudoers file isn't replaced by default, this might lead to an unexpected result, which impact might be bigger than locking yourself out.
Locking yourself out might easily be fixed with puppet (maybe it requires some research in a backup, but hey...). For me, the bigger impact might be, if a user can get more rights than expected. The sudoers files in this module should grant almost no special rights.
If you really need the current sudoers file, this should be a decision made by you and you should be fully aware of this.
Anything else isn't something I'd expect from a puppet module.
from puppet-sudo.
i'm ok with that. your module your rules :) we just have some old legacy system with quite a lot of sudo entries were overwritting the sudoers file would really hurt. we just had to be sure we explictly set config_file_replace to false after upgradeing to 3.0.
from puppet-sudo.
Related Issues (20)
- Facter error on Windows HOT 3
- Module fails with resolving custom fact "sudoversion" HOT 3
- Group names with space HOT 6
- Dependency pinning resolves version 4.1.0 with new stdlib version 7.0.0 HOT 2
- update ::sudoversion to facts hash HOT 3
- Release 6.0.1? HOT 1
- Bump required stdlib version to <8.0.0 HOT 1
- sudo::content parameter is poorly named HOT 2
- Puppetlabs stdlib 8.x.x support
- wheel_config defaulting to 'absent' is undesirable, change to 'password' HOT 3
- 'versioncmp' parameter 'a' expects a String value, got Undef HOT 7
- Add ability to set passprompt or not mange main config file/package HOT 3
- Upgrade to Hiera 5 HOT 2
- Not All Files in /etc/sudoers.d Getting Purged HOT 10
- Publish new version to forge
- sudo::purge_ignore: '*[!_puppet]' erase more then *_puppet HOT 1
- stdlib 9.x.x compat HOT 1
- secure_path in params.pp set to incorrect defaults for recent Redhat releases HOT 1
- I can't get sudo:defaults to work with hiera
- Version 8 on the forge does include the RHEL9 template
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from puppet-sudo.