Code Monkey home page Code Monkey logo

Comments (8)

domcleal avatar domcleal commented on June 26, 2024

This doesn't appear to be valid syntax on OpenSSH 6.1 at least:

Apr 20 21:04:09 iridium sshd[9745]: /etc/ssh/sshd_config line 13: garbage at end of line; "8022".

Can you confirm?

from puppet-augeasproviders.

domcleal avatar domcleal commented on June 26, 2024

Oh, ignore that, I misunderstood.

This works as you describe, having just run a test - two Port lines get created in the target file.

from puppet-augeasproviders.

millerjl1701 avatar millerjl1701 commented on June 26, 2024

Correct, two separate Port lines getting created in the target file is the intent of the request to allow the sshd daemon to listen simultaneously to two separate ports instead of just one. Thanks!

from puppet-augeasproviders.

domcleal avatar domcleal commented on June 26, 2024

Excellent :)

from puppet-augeasproviders.

millerjl1701 avatar millerjl1701 commented on June 26, 2024

Did I miss something? I see you closed the issue, but I do not see a patch against this...

from puppet-augeasproviders.

domcleal avatar domcleal commented on June 26, 2024

It already works this way, I don't think there's any change required?

from puppet-augeasproviders.

millerjl1701 avatar millerjl1701 commented on June 26, 2024

Sorry on the delay. You are quite correct... the code is functioning this way. When I first was testing, somehow I got concatenated ports on a single line... But, i cannot replicate that behaviour. When I give it an array of ports or a single port, multiple or single lines are created in the target, respectively. Thanks again!

from puppet-augeasproviders.

domcleal avatar domcleal commented on June 26, 2024

Ah ok, no worries. If you come across it again, do let me know.

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.