Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • v1.14.7
  • v1.14.6
  • v1.14.5
  • v1.14.4
  • v1.14.3
  • v1.14.2
  • v1.14.1
  • v1.14.0
  • v1.13.2
  • v1.13.1
  • v1.13.0
  • v1.12.1
  • v1.12.0
  • v1.11.1
  • v1.11.0
  • v1.10.0
  • v1.9.2
  • v1.9.1
  • v1.9.0
  • v1.8.4
21 results

ipahostgroup.py

  • Rafael Guterres Jeffman's avatar
    22401d18
    ipahostgroup: Fix idempotence issues due to capitalization · 22401d18
    Rafael Guterres Jeffman authored
    ipahostgroup parameters 'host', 'hostgroup', 'membermanager_user' and
    'membermanager_group' must be compared in a case insensitive manner
    and stored as lower case strings.
    
    This patch fixes the comparison and storage of this parameters, and
    change the handling of members to use the same structure as in newer
    modules.
    
    Two new tests files were added:
    
        tests/hostgroup/test_hostgroup_case_insensitive.yml
        tests/hostgroup/test_hostgroup_membermanager_case_insensitive.yml
    22401d18
    History
    ipahostgroup: Fix idempotence issues due to capitalization
    Rafael Guterres Jeffman authored
    ipahostgroup parameters 'host', 'hostgroup', 'membermanager_user' and
    'membermanager_group' must be compared in a case insensitive manner
    and stored as lower case strings.
    
    This patch fixes the comparison and storage of this parameters, and
    change the handling of members to use the same structure as in newer
    modules.
    
    Two new tests files were added:
    
        tests/hostgroup/test_hostgroup_case_insensitive.yml
        tests/hostgroup/test_hostgroup_membermanager_case_insensitive.yml