Skip to content
  1. Feb 28, 2022
    • Thomas Woerner's avatar
      ipaconfig: Set allow_empty_string for user_auth_type, pac_type, configstring · e30bcfd8
      Thomas Woerner authored
      The parameters user_auth_type, pac_type and configstring are allowing to
      use "" to reset to the default value or for configstring to set an empty
      list.
      
      The new check in params_get is not allowing to use empty strings in lists,
      therefore allow_empty_string=True had to be added to the call.
      
      A test has been added to verify that the empty strings are supported and
      working.
      
      Additionally empty pac_type, user_auth_type and domain_resolution_order
      have been added to exit_args as if they have not been set.
      e30bcfd8
  2. Feb 25, 2022
    • Thomas Woerner's avatar
      ipahost: Set allow_empty_string for auth_ind · abf0cc32
      Thomas Woerner authored
      The parameter auth_ind is allowing to use "" to reset to the default
      value.
      
      The new check in params_get is not allowing to use empty strings in lists,
      therefore allow_empty_string=True had to be added to the call.
      
      A test has been added to verify that the empty strings are supported and
      working.
      abf0cc32
    • Thomas Woerner's avatar
      ipaservice: Set allow_empty_string for auth_ind and pac_type · 9decad4e
      Thomas Woerner authored
      The parameters auth_ind and pac_type are allowing to use "" to reset to
      the default value.
      
      The new check in params_get is not allowing to use empty strings in lists,
      therefore allow_empty_string=True had to be added to the call.
      
      A test has been added to verify that the empty strings are supported and
      working. An idempotency issue with pac_type has been found with the test
      and fixed additionally.
      9decad4e
  3. Feb 24, 2022
    • Thomas Woerner's avatar
      ipauser: Set allow_empty_string for userauthtype and sshpubkey · 03098c21
      Thomas Woerner authored
      The parameters userauthtype and sshpubkey allowing to use "" to reset to
      the default value.
      
      The new check in params_get is not allowing to use empty strings in lists,
      therefore allow_empty_string=True had to be added to the call.
      
      A test has been added to verify that the empty strings are supported and
      working. An idempotency issue with sshpubkey has been found with the test
      and fixed additionally.
      03098c21
    • Thomas Woerner's avatar
      module_params_get*: Fail on empty string in string list parameters · d05ad6b1
      Thomas Woerner authored
      So far it is possible to pass list parameters with empty strings to the
      modules. The use of empty strings in list does not make a lot of sense,
      though. The simple solution is to add a check to module_params_get for
      empty strings in returned lists.
      
      The option allow_empty_string can be set to True to allow an empty string
      in the list with a list len of 1. The option defaults to False. It is
      needed for some parameters the modules, like for example userauthtype in
      the user module. It is using "" to reset to the default value.
      
      module_params_get_lowercase has been changed to use module_params_get to
      have one place to add the check.
      
      Due to an issue in Ansible it is possible to use the empty string "" for
      lists with choices, even if the empty list is not part of the choices.
      Ansible issue https://github.com/ansible/ansible/issues/77108
      d05ad6b1
  4. Feb 21, 2022
  5. Feb 17, 2022
  6. Feb 16, 2022
  7. Feb 15, 2022
  8. Feb 14, 2022
  9. Feb 11, 2022
  10. Feb 10, 2022
  11. Feb 09, 2022
  12. Feb 08, 2022