Project

General

Profile

Actions

Bug #16410

closed

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

Added by dmitry Vasilets over 8 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Realm
Target version:
Difficulty:
Triaged:
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

Actions

Also available in: Atom PDF