Project

General

Profile

Actions

Feature #8020

open

puppet-server-environments should take a list of arguments

Added by James Kyle over 9 years ago. Updated over 3 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Currently you must specify the puppet-server-environments argument to the installer multiple times, once for each environment. For example

foreman-installer --puppet-server-environments environment1 --puppet-server-environments environment2

It would be very nice to provide a single command like so

foreman-installer --puppet-server-environments environment1,environment2,environment3

If multiple arguments are preferable, maybe make the argument singular such as

foreman-installer --puppet-server-environment environment1 --puppet-server-environment environment2

Also, the docs are a bit vague on usage. It took me a while, with some help from #theforeman, to figure it out.

Thanks for the great platform!

Actions #1

Updated by Marek Hulán over 9 years ago

  • Project changed from Kafo to Installer

This comes from clamp, an underlaying library used for CLI options. We should probably document this better in foreman-installer, therefore I'm moving to Installer subproject. Also renaming the puppet parameter (which I don't prefer would be OK with that) would happen in installer modules.

Actions #2

Updated by Ewoud Kohl van Wijngaarden over 3 years ago

Dealing with it this way is convenient from a programmers point of view. It could use more documentation and I have also thought about renaming plural to singular, but it's a bit tricky.

I'm going to leave it open for a bit longer, but I doubt we'll get to it.

Actions

Also available in: Atom PDF