![]() ![]() Look up all applied classes from last Puppet agent run (classfile.txt). puppet task run puppeteer::providers -nodes 'node1' type =userĬontributed by: Laura Macchi puppeteer::classfile puppet task run puppeteer::features -nodes 'node1' puppeteer::providers Look up the Puppet features on each system. Threshold : Expiring before 6y ! puppeteer::features puppet task run puppeteer::certificate_info -nodes 'node1' threshold=6y fail=no_fail In order to report a success even if the certificate is due to expire in your specified interval, use theįail parameter. ![]() Nodes with certificates due to expire in your specified interval will result in a failure with exit code 2. Your threshold can be specified as a number followed by a unit from orĪs a parseable time string like 10/20,, or Oct 20 2022. Issuer : Puppet Enterprise CA generated on puppet2017.3.0.puppetlabs.vm at + 12:03:26 +0000įind certificates that will expire within a specified interval puppet task run puppeteer::certificate_info -nodes 'node1' threshold=6y Retrieve certificate information puppet task run puppeteer::certificate_info -nodes 'node1' NOTE: Keys will be overwritten, not merged. Remove an existing fact from config.json puppet task run puppeteer::external_fact -nodes 'node1' fact =repo_server action =remove file =config.json NOTE: If no file is specified, $fact.txt is used.Ĭreate a role fact in server.yaml puppet task run puppeteer::external_fact -nodes 'node1' fact =role value =default file =server.yaml ![]() Run inline Puppet code puppet task run puppeteer::apply -nodes 'node1' code = 'notify ' modulepath = '/path/to/custom' puppeteer::external_factĬreate a datacenter fact in datacenter.txt puppet task run puppeteer::external_fact -nodes 'node1' fact =datacenter value =us-east ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |