Comments (8)
To be more precise: the sole presence of the .aug
file in the module breaks on Debian 6 (& maybe 7).
from puppet-sudo.
hm, i think thats because of the old augeas version in debian 6/7. debian includes 0.10.0 and redhat 5/6 use 1.2.0 (from epel). the old lense does not support upper usernames and a few other things. but if it completely breaks debian we should probably remove it. i do not know if there's a neat way to just sync the lense on rhel5/6...
from puppet-sudo.
I'm not aware of any way to sync lenses selectivly.
But, I'm running Debian Wheezy 7.8 with augeas-lenses 0.10.0-1 and this module is working without any problems.
Is anyone else running into this issue?
from puppet-sudo.
There was a report on puppet-users that having both FixedSudoers
and Sudoers
causes breakage.
I see two ways to fix this:
- Remove the
autoload xfm
line fromFixedSudoers
; instead, use theincl/file
parameters toaugeas
resources -- it seems that that is happening already, anyway, and the autoload line is not needed at all - Merge
FixedSudoers
back into theSudoers
lens upstream (which I would personally prefer a lot)
from puppet-sudo.
i mainly imported the fixedsuders lens for redhat 5 because we had issues with certain usernames. its a copy of the redhat 6 lens.
it seems to me the sudoers lens got updated in one of the last rhel 5 releases. so i'm not sure if the fixedsuders lens is still required.
so there are two possible solutions:
- remove the xfm line, which works as far as my tests go
- remove the fixedsuders lens
i would go with 1 to still support older rhel releases, but 2 is also ok with me. if there are no further updates to this issue within next week i'm going to open a pull request with the xfm line removed.
thanks
toni
from puppet-sudo.
@tosmi First sounds good to me. Are you willing to send in a pr?
from puppet-sudo.
sorry, totally forgot about this issue. i'll try to come up with a pull request within the next days.
from puppet-sudo.
This issue should be resolved in current master.
from puppet-sudo.
Related Issues (20)
- Template for rhel8 is mising HOT 10
- unable to use hiera.yaml with module profile HOT 4
- is this still maintained HOT 4
- 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
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.