Giter Club home page Giter Club logo

Comments (10)

raphink avatar raphink commented on June 23, 2024

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.

raphink avatar raphink commented on June 23, 2024

Do you know of other parameters for which order matters in sshd_config?

from puppet-augeasproviders.

trevor-vaughan avatar trevor-vaughan commented on June 23, 2024

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.

raphink avatar raphink commented on June 23, 2024

OK. I can try to see what I can do.

from puppet-augeasproviders.

raphink avatar raphink commented on June 23, 2024

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.

trevor-vaughan avatar trevor-vaughan commented on June 23, 2024

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.

raphink avatar raphink commented on June 23, 2024

I did commit a patch for the create method as 82d702b

from puppet-augeasproviders.

raphink avatar raphink commented on June 23, 2024

Having a look at doing that inside Match blocks now.

from puppet-augeasproviders.

trevor-vaughan avatar trevor-vaughan commented on June 23, 2024

+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.

raphink avatar raphink commented on June 23, 2024

Fixed in abb8adc

from puppet-augeasproviders.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.