Skip to content
  1. Feb 13, 2020
    • Thomas Woerner's avatar
      tests/host/test_host: Fix use of wrong host in the host5 test · 8f32cb04
      Thomas Woerner authored
      host1 was used instead of host5 in the repeated host5 test. This lead to an
      error with the new IP address handling in ipahost. It was correctly
      reporting a change for host1 which resulted in a failed test.
      8f32cb04
    • Thomas Woerner's avatar
      ipahost: Add support for several IP addresses and also to change them · 167c7631
      Thomas Woerner authored
      ipahost was so far ignoring IP addresses when the host already existed.
      This happened because host_mod is not providing functionality to do this.
      Now ipaddress is a list and it is possible to ensure a host with several
      IP addresses (these can be IPv4 and IPv6). Also it is possible to ensure
      presence and absence of IP addresses for an exising host using action
      member.
      
      There are no IP address conclict checks as this would lead into issues with
      updating an existing host that already is using a duplicate IP address for
      example for round-robin (RR). Also this might lead into issues with ensuring
      a new host with several IP addresses in this case. Also to ensure a list of
      hosts with changing the IP address of one host to another in the list would
      result in issues here.
      
      New example playbooks have been added:
      
          playbooks/host/host-present-with-several-ip-addresses.yml
          playbooks/host/host-member-ipaddresses-absent.yml
          playbooks/host/host-member-ipaddresses-present.yml
      
      A new test has been added for verification:
      
          tests/host/test_host_ipaddresses.yml
      
      Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1783976
             https://bugzilla.redhat.com/show_bug.cgi?id=1783979
      167c7631
  2. Feb 11, 2020
  3. Feb 07, 2020
  4. Feb 06, 2020
    • Thomas Woerner's avatar
      ipapwpolicy: Use global_policy if name is not set · 4dd1d25e
      Thomas Woerner authored
      If the name is not set, the policy global_policy is now used. It was needed
      before to explicitly name the global_policy. Also a check has been added
      to fail early if global_policy is used with state absent.
      
      The README for pwpolicy has been extended with an example for global_policy
      and also the description of the name variable.
      
      The test has also been extended to check a change of maxlife for
      global_policy and that global_policy can not be used with state: absent
      
      Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1797532
      4dd1d25e
  5. Feb 04, 2020
  6. Feb 03, 2020
  7. Jan 23, 2020
    • Thomas Woerner's avatar
      ipareplica: Use ipaserver_realm as a fallback for realm · 35f2f32b
      Thomas Woerner authored
      Use ipaserver_realm as a fallback if ipareplica_realm is not defined. This
      had been done for ipareplica_domain and ipaserver_domain, but was missing
      for ipareplica_realm and ipaserver_realm.
      
      Related: #114 (ipareplica 'Env' object has no attribute 'realm')
      35f2f32b
  8. Jan 17, 2020
  9. Jan 16, 2020
  10. Dec 30, 2019
  11. Dec 24, 2019
  12. Dec 23, 2019
  13. Dec 19, 2019
  14. Dec 18, 2019
  15. Dec 17, 2019
  16. Dec 16, 2019
    • Rafael Guterres Jeffman's avatar
      New vault management module. · af4e8432
      Rafael Guterres Jeffman authored
      There is a new vault management module placed in the plugins folder:
      
        plugins/modules/ipavault.py
      
      The vault module allows to ensure presence and absence of vaults, manage
      members and owner of the vault, and archive data in the vault.
      
      Here is the documentation for the module:
      
          README-vault.md
      
      New example playbooks have been added:
      
          playbooks/vault/data-archive-in-asymmetric-vault.yml
          playbooks/vault/data-archive-in-symmetric-vault.yml
          playbooks/vault/ensure-asymetric-vault-is-absent.yml
          playbooks/vault/ensure-asymetric-vault-is-present.yml
          playbooks/vault/ensure-service-vault-is-absent.yml
          playbooks/vault/ensure-service-vault-is-present.yml
          playbooks/vault/ensure-shared-vault-is-absent.yml
          playbooks/vault/ensure-shared-vault-is-present.yml
          playbooks/vault/ensure-standard-vault-is-absent.yml
          playbooks/vault/ensure-standard-vault-is-present.yml
          playbooks/vault/ensure-symetric-vault-is-absent.yml
          playbooks/vault/ensure-symetric-vault-is-present.yml
          playbooks/vault/ensure-vault-is-present-with-members.yml
          playbooks/vault/ensure-vault-member-group-is-absent.yml
          playbooks/vault/ensure-vault-member-group-is-present.yml
          playbooks/vault/ensure-vault-member-user-is-absent.yml
          playbooks/vault/ensure-vault-member-user-is-present.yml
          playbooks/vault/ensure-vault-owner-is-absent.yml
          playbooks/vault/ensure-vault-owner-is-present.yml
      
      New tests added for the module:
      
          tests/vault/test_vault.yml
      af4e8432
  17. Dec 14, 2019
  18. Dec 13, 2019
  19. Dec 12, 2019
  20. Dec 11, 2019
    • Rafael Guterres Jeffman's avatar
      Allow execution of API commands that do not require a name. · 0210899e
      Rafael Guterres Jeffman authored
      There are some commands in the IPA API that do not require
      arguments, and current implementation does not allow these
      commands to be execute.
      
      This patch adds api_command_no_name to allow the execution
      of such commands, which is required, for example, to create
      a vaultcontainer management module.
      0210899e
    • Thomas Woerner's avatar
      ipaserver_test: Do not use zone_overlap_check for domain name validation · 9c853894
      Thomas Woerner authored
      The use of zone_overlay_check for the domain name validation is not good
      for a repeated execution of the server deployment where setup_dns is
      enabled. The zone overlay check will fail with "DNS zone X already exists
      in DNS". zone_overlay_check is later on used in dns.install_check so it is
      not needed to do it here also.
      
      Fixes issues #164 (domain option validator should not call zone overlap..)
      9c853894
  21. Dec 09, 2019
  22. Dec 06, 2019
  23. Dec 02, 2019