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

Next major version changes #103

Open
Phil-Friderici opened this issue Jul 25, 2016 · 13 comments
Open

Next major version changes #103

Phil-Friderici opened this issue Jul 25, 2016 · 13 comments

Comments

@Phil-Friderici
Copy link
Contributor

Collection of planned changes for next major version

@Phil-Friderici
Copy link
Contributor Author

Phil-Friderici commented Jul 25, 2016

$computers_ou defaults to -c UNSET in exec {vasinst} resource which looks wrong.
Double check with VAS people.

@Phil-Friderici
Copy link
Contributor Author

Change all parameter default values from 'UNSET' to undef.
will break backward compatibilty

@Phil-Friderici
Copy link
Contributor Author

upm-computerou-attr should be unset by default, see #110

@anders-larsson
Copy link
Contributor

anders-larsson commented Mar 14, 2019

Maybe we should consider to change default values for group-update-mode and root-update-mode to force-if-missing instead of none. This is default according to vas.conf's man pages.

...
group-update-mode = < force | force-if-missing | none >
   Default value: force-if-missing
...
root-update-mode = <force | force-if-missing | none>
   Default value: force-if-missing
...

@Phil-Friderici
Copy link
Contributor Author

From @anders-larsson in #139 (comment)

IMHO: We should be able to remove all _hiera_merge parameters. This can be handled directly in hiera1 instead of in the Puppet module in newer versions of Hiera.

@anders-larsson
Copy link
Contributor

anders-larsson commented Feb 19, 2024

@Phil-Friderici
Just realised that we have made a major release since this issue was created. I think most things mentioned here should be fixed already.

$computers_ou defaults to -c UNSET in exec {vasinst} resource which looks wrong. Double check with VAS people.

This one is interesting. It's set to undef now by default. However there is no check to verify whether is set or not. Finally during vas install we use -c ${computers_ou}. If it is undef wouldn't that become -c . This must be a syntax error?

Maybe we should consider to change default values for group-update-mode and root-update-mode to force-if-missing instead of none. This is default according to vas.conf's man pages.

...
group-update-mode = < force | force-if-missing | none >
   Default value: force-if-missing
...
root-update-mode = <force | force-if-missing | none>
   Default value: force-if-missing
...

{group,user}-update-mode is not done. We still might want it.


I just realised in api_fetch we uses OpenSSL.OpenSSL::SSL::VERIFY_NONE. We really do not want this. Currently working on a refactor of the API function to new format. Will include a parameter to handle it, default would be true though. This would probably require a new major release?

EDIT: -c is not required. However currently it is broken in the module. Can't see that it would accept -c (no arguments to it

@Phil-Friderici
Copy link
Contributor Author

Well, after the major release is before the major release ;)

{group,user}-update-mode is not done. We still might want it.

Currently working on a refactor of the API function to new format. Will include a parameter to handle it, default would be true though. This would probably require a new major release?

Both good arguments for the next major release.
Should I help somehow ?

@anders-larsson
Copy link
Contributor

Right now I don't think any help is needed. Thanks though!

Should we make another major release then which includes:

  • Update default value for update-mode stuff
  • Either parameter regarding TLS validation or TLS validation always enabled

@Phil-Friderici
Copy link
Contributor Author

Can't we wait for the breaking changes to become complete and release them in one go (and one major upgrade) ?
Otherwise version numbers are cheap !

@anders-larsson
Copy link
Contributor

Do we have anything else we want to break?

@Phil-Friderici
Copy link
Contributor Author

Currently I have nothing in mind, but I did not dive in deeply.

@anders-larsson
Copy link
Contributor

Refresh facts and make facts which are currently either comma- or space-separated to be actual arrays instead? That is, make use of data structures. This would be breaking.

@Phil-Friderici
Copy link
Contributor Author

Refresh facts and make facts which are currently either comma- or space-separated to be actual arrays instead? That is, make use of data structures. This would be breaking.

That's a great idea to be integrated into a breaking change ! (making notes in my brain)

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

No branches or pull requests

2 participants