You can use an API request to check the number of active nodes in your deployment and the number of licensed nodes you purchased.
Note: These steps use an internal endpoint for the console. This might not work in later versions of Puppet Enterprise.
Version and installation information
PE version: All supported versions
Solution
To get license information, complete the following steps on the primary server.
-
If you don’t have an RBAC token, generate one.
-
Run the following, replacing
TOKEN
with your RBAC token:curl -k -H "X-Authentication: TOKEN" https://$(puppet config print server)/api/license/status
The output is similar to the following:
{"status":{"activeNodes":1,"licenses":10,"licenseType":{"name":null,"licenseUrl":null,"consoleUrl":null},"complimentary":true}}
How can we improve this article?
0 comments
Please sign in to leave a comment.
Related articles