Comments (10)
Thank you for the report. This might not be very easy to fix, as it will require to implement positioning and add some parameter intelligence to the provider.
from puppet-augeasproviders.
Do you know of other parameters for which order matters in sshd_config?
from puppet-augeasproviders.
As far as I can tell, that's the only set that matters.
On Fri, Feb 21, 2014 at 2:43 AM, Raphaël Pinson [email protected]:
Do you know of other parameters for which order matters in sshd_config?
Reply to this email directly or view it on GitHubhttps://github.com//issues/68#issuecomment-35705661
.
Trevor Vaughan
Vice President, Onyx Point, Inc
(410) 541-6699
[email protected]
-- This account not approved for unencrypted proprietary information --
from puppet-augeasproviders.
OK. I can try to see what I can do.
from puppet-augeasproviders.
I had a hard time reproducing the bug with the unit tests, because this already works if you have a commented Port entry before the first ListenAddress entry. Indeed, the current code uncomments existing commented entries, so if you have:
# Port 22
ListenAddress ::
and you set:
sshd_config { 'Port':
value => '2222',
}
it will uncomment the value, and the order will be fine.
from puppet-augeasproviders.
Fair enough, but if you try it in a Host sub-entry, it won't work.
On Fri, Feb 21, 2014 at 10:28 AM, Raphaël Pinson
[email protected]:
I had a hard time reproducing the bug with the unit tests, because this
already works if you have a commented Port entry before the first
ListenAddress entry. Indeed, the current code uncomments existing commented
entries, so if you have:Port 22
Listenaddress ::
and you set:
sshd_config { 'Port':
value => '2222',
}it will uncomment the value, and the order will be fine.
Reply to this email directly or view it on GitHubhttps://github.com//issues/68#issuecomment-35740176
.
Trevor Vaughan
Vice President, Onyx Point, Inc
(410) 541-6699
[email protected]
-- This account not approved for unencrypted proprietary information --
from puppet-augeasproviders.
I did commit a patch for the create
method as 82d702b
from puppet-augeasproviders.
Having a look at doing that inside Match blocks now.
from puppet-augeasproviders.
+1
Thanks!
Trevor
On Fri, Feb 21, 2014 at 10:32 AM, Raphaël Pinson
[email protected]:
Having a look at doing that inside Match blocks now.
Reply to this email directly or view it on GitHubhttps://github.com//issues/68#issuecomment-35740645
.
Trevor Vaughan
Vice President, Onyx Point, Inc
(410) 541-6699
[email protected]
-- This account not approved for unencrypted proprietary information --
from puppet-augeasproviders.
Fixed in abb8adc
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.