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 almost 8 years ago. Updated over 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 almost 8 years ago

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

Updated by daehyung lee almost 8 years ago

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

Updated by daehyung lee almost 8 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 almost 8 years ago

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

Also available in: Atom PDF