Comments (5)
This has now been fixed in 3700366, so it creates a new setting for each value in the array (with the exception of the existing multi-value settings such as AcceptEnv).
Thanks for the report.
from puppet-augeasproviders.
Hi Alexander,
Please could you try out the fix present in this branch and let me if that fixes it?
https://github.com/domcleal/augeasproviders/tree/13-sshd-listen
This now includes tests for cases when the Match section doesn't exist in the config file so should be more robust.
from puppet-augeasproviders.
Hi Dominic!
Great work!!
Seems to working as it should now. The only this I can see is that the
tests are case-sensitive (probably by design?).
If I have listenaddress or Listenaddress defined with a IP, this is ignored
and two new entries are added. I get:
Listenaddress 10.0.0.1
ListenAddress 10.0.0.2
ListenAddress 10.0.01
This could be by design and I'm not sure whether this should be handled by
the module or just ignored. Opensshd accepts both values, but I assume that
ListenAddres is the correct way of defining the options. I guess this
applies to other options as well.
Regards,
Alexander
On Sun, Sep 23, 2012 at 4:24 PM, Dominic Cleal [email protected]:
Hi Alexander,
Please could you try out the fix present in this branch and let me if that
fixes it?
https://github.com/domcleal/augeasproviders/tree/13-sshd-listenThis now includes tests for cases when the Match section doesn't exist in
the config file so should be more robust.—
Reply to this email directly or view it on GitHubhttps://github.com/domcleal/augeasproviders/issues/13#issuecomment-8798907.
from puppet-augeasproviders.
Thanks for testing, I'll push that code later then.
The case sensitivity is definitely a problem, but I don't have a good solution yet. Raphael is trying to get a regexpi() function for case-insensitive regular expressions into Augeas, which might give us a way to match on existing entries irrespective of case.
Until then I think we'd need to rewrite aug_match ourselves, which might be an option. I'll file another issue about it anyway.
from puppet-augeasproviders.
964c5f8 pushed and issue #15 filed for case sensitivity.
from puppet-augeasproviders.
Related Issues (20)
- Create type/provider for resolv.conf edits
- Clarify herculesteam-augeasproviders vs domcleal-augeasproviders ? HOT 3
- Not possible to add multiple kernel parameters with the same name. HOT 2
- Please add Spacevars.lns provider
- Error: Could not prefetch mailalias provider 'augeas': Augeas didn't load /etc/aliases with Aliases.lns from /var/lib/puppet/lib/augeas/lenses: Iterated lens matched less than it should (line:6, character:0) HOT 8
- Rsyslog.conf parsing failed in Ubuntu 16 with Rainerscript HOT 3
- Create a type provider for systemd
- puppet 4 ? HOT 1
- augeasproviders_syslog: should provide meaningful error message for missing `action_type`
- allow "-" to prepend pam type value.
- spaces in group names breaks augeasproviders_ssh HOT 1
- XML types
- Create a provider for multipath HOT 1
- README.md link to "Puppet/Augeas pre-requisites" broken HOT 1
- Renewing Puppet Forge Approved Status
- Incorrect dependency for augeasproviders_grub HOT 1
- Current release tarball (2.2.1) contains .git directory HOT 2
- Dependency Issue with Librarian HOT 1
- Sysctl lense fails for keys that contain colons (":") HOT 1
- Puppet7 support
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-augeasproviders.