Project

General

Profile

Actions

Bug #18797

closed

certs-tar option requires the absolute path but the result message of the foreman-installer does not

Added by daehyung lee about 7 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Installer
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

The hooks/post/10-post_install.rb file uses relative path with certs-tar option.
but I can not be used with. cause the certs-tar option requires absolute path.
The error was:

[root@katello01 ~]# foreman-proxy-certs-generate --foreman-proxy-fqdn "$FOREMAN_PROXY" --certs-tar "~/$FOREMAN_PROXY-certs.tar" 
Parameter certs-tar invalid: ~/puppetca01.example.net-certs.tar is not one of regexes matching /^(([a-zA-Z]:[\\\/])|([\\\/][\\\/][^\\\/]+[\\\/][^\\\/]+)|([\\\/][\\\/]\?[\\\/][^\\\/]+))/ or regexes matching /^\/([^\/\0]+(\/)?)+$/
Error during configuration, exiting
Actions #1

Updated by daehyung lee about 7 years ago

  • Category set to Installer
  • translation missing: en.field_release set to 226
Actions #2

Updated by daehyung lee about 7 years ago

  • Pull request https://github.com/Katello/katello-installer/pull/485 added
Actions #3

Updated by daehyung lee about 7 years ago

daehyung lee wrote:

The hooks/post/10-post_install.rb file uses relative path with certs-tar option.
but I can not be used with. cause the certs-tar option requires absolute path.
The error was:

[...]

I forgot to mention it, I changed ~(relative path) to /root.
Anyone who has more good idea?

Actions #4

Updated by Justin Sherrill about 7 years ago

  • Status changed from New to Closed
  • translation missing: en.field_release changed from 226 to 219
Actions

Also available in: Atom PDF