Project

General

Profile

Bug #16410

foreman-prepare-realm fails when multiple lines exist containing the string "server"

Added by dmitry Vasilets over 4 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Category:
Realm
Target version:
Difficulty:
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

error happend whith this patch Katello/forklift#263
because in cat /etc/ipa/default.conf

#File modified by ipa-client-install

[global]
basedn = dc=example,dc=com
realm = EXAMPLE.COM
domain = example.com
server = centos7-freeipa-server.example.com
host = centos7-katello-nightly.example.com
xmlrpc_uri = https://centos7-freeipa-server.example.com/ipa/xml
enable_ra = True

and returned 2 string by

grep server /etc/ipa/default.conf | cut -f2 -d"="
centos7-freeipa-server.example.com
https://centos7-freeipa-server.example.com/ipa/xml

Associated revisions

Revision e02ca046 (diff)
Added by dmitry Vasilets over 4 years ago

Fixes #16410 - handle several instances of "server" in ipa config

History

#1 Updated by The Foreman Bot over 4 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/smart-proxy/pull/459 added

#2 Updated by Dominic Cleal over 4 years ago

  • Project changed from Foreman to Smart Proxy
  • Subject changed from not enough specific regexp, false positive happend to foreman-prepare-realm fails when multiple lines exist containing the string "server"
  • Category set to Realm

#3 Updated by dmitry Vasilets over 4 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#4 Updated by Dominic Cleal over 4 years ago

  • Legacy Backlogs Release (now unused) set to 181

Also available in: Atom PDF