Closed jakerundall closed 6 months ago
On MG I ended up just making multiple symlinks and referencing those, which are then interpreted as being unique invocations: custom/puppet_run_1 -n X,custom/puppet_run_2 -n X,etc.
It's kind of a hack, but the usage is basically the same effort as passing unique parameters to make unique invocations, so I don't see it being worth implementing changes to the script. I'll update our xCAT server docs with a note about this.
If we call
custom/puppet_run -n X
twice (exact same "x") then xCAT only runs the first.If we were to add a param for a name/ID —
-i first
vs-i second
, or-i 1
vs-i 2
— it could completely ignore the value — then xCAT would consider the invocation to be unique.Or...if we allowed invalid single params instead of croaking on them, those could be ignored. But that doesn't seem like a great idea.
(I guess a local workaround is to simply copy the postscript and rename it for each instantiation.)