Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Data in Modules #325

Merged
merged 1 commit into from Apr 13, 2022

Conversation

SimonHoenscheid
Copy link
Contributor

@SimonHoenscheid SimonHoenscheid commented Mar 28, 2022

@saz
Copy link
Owner

saz commented Mar 28, 2022

Thanks for the PR!

I'm thinking about the change of client and server being private. Right now it should (read: I've not tested it for a long time...) be possible to configure the client or the server only.

Maybe it makes sense, to add a parameter to disable management of one or the other part?

@SimonHoenscheid
Copy link
Contributor Author

One option would be to add two parameters in the ssh class which would default to true. If a user decides to use the classes directly he would need to set the variable to false in hiera to avoid the duplicate declaration.

An other option would be, just to include the classes and auto bind the default parameters via hiera, that would also remove every duplicate declaration

The third option is the one that is used in the PR. Which is the one closest to best practice.

openstack-mirroring pushed a commit to openstack/openstack that referenced this pull request Apr 6, 2022
* Update puppet-tripleo from branch 'master'
  to b74e4af57f54f440128c6d5663ab7767d2ac1629
  - Merge "Do not include the ssh::server class directly"
  - Do not include the ssh::server class directly
    
    ... to avoid the duplicate declaration of the ssh::server class we've
    seen since saz/puppet-ssh#318 was merged.
    
    There is an open PR[1] in puppet-ssh repo, which makes the server
    class private. This change also works as pre-emptive fix for that
    breaking change.
    
    [1] saz/puppet-ssh#325
    
    Closes-bug: #1966625
    Change-Id: I9c5b174e0c8377d50b9b306456d2b2147c5f38b8
    Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
openstack-mirroring pushed a commit to openstack-archive/puppet-tripleo that referenced this pull request Apr 6, 2022
... to avoid the duplicate declaration of the ssh::server class we've
seen since saz/puppet-ssh#318 was merged.

There is an open PR[1] in puppet-ssh repo, which makes the server
class private. This change also works as pre-emptive fix for that
breaking change.

[1] saz/puppet-ssh#325

Closes-bug: #1966625
Change-Id: I9c5b174e0c8377d50b9b306456d2b2147c5f38b8
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
@SimonHoenscheid
Copy link
Contributor Author

@saz how do you want to handle this?

@SimonHoenscheid
Copy link
Contributor Author

@saz ping ;-)

@saz saz merged commit de847bd into saz:master Apr 13, 2022
This was referenced Apr 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature Request: Add Support for Data in Modules
2 participants