[SERVER-2615] subcommands "ca" does not work Created: 2019/08/28 Updated: 2020/02/05
|Affects Version/s:||SERVER 6.5.0|
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
x86_84-Linux , ubuntu 16.04
|Template:||PUP Bug Template customfield_10700 322562|
|Method Found:||Needs Assessment|
|QA Risk Assessment:||Needs Assessment|
According to document https://github.com/puppetlabs/puppetserver/blob/6.5.0/documentation/subcommands.markdown
When running from source, the subcommand is :
|Comment by Sam Ding [ 2019/09/04 ]|
To run puppetserver and agent on different VMs, it needs commands
puppetserver ca list --all
But what is the similar subcommands if running from source? in which case there is no "puppetserver" but "lein".
|Comment by Sam Ding [ 2019/11/27 ]|
Is there any update on this issue? Thx.
|Comment by Rune Juhl Jacobsen [ 2020/02/05 ]|
That looks like an error in the documentation. For the command to work that way it has to be implemented as a Leiningen alias, which is done here https://github.com/puppetlabs/puppetserver/blob/e3874b2360501a26518d2f904035a6b84f25b9d9/project.clj#L224-L227.
Since the ca command is a puppetserver command I believe you need to do something like this:
lein run – -c dev/puppetserver.conf ca