summaryrefslogtreecommitdiffstats
path: root/lib/puppet/face/node
Commit message (Collapse)AuthorAgeFilesLines
* (Maint.) Disable cleaning of storeconfigs.Pieter van de Bruggen2011-07-281-1/+4
| | | | | | | This feature (and the corresponding tests) were causing intermittent failures which we were unable to trace. We will reintroduce this behavior when we can do so without test fragility. Reviewed-By: Matt Robinson
* (#1886) Clean up `node clean` for merge.Pieter van de Bruggen2011-07-281-57/+54
| | | | | This includes various style changes, and assorted fixes to testing. Paired-With: Matt Robinson
* Fix #1886 - Add node cleanup capabilityPeter Meier2011-07-271-0/+154
Here is a changeset that adds a new action to the puppet node face. This application removes all traces of a node on the puppetmaster (including certs, cached facts and nodes, reports, and storedconfig entries). Furthermore it is capable of unexporting exported resources of a host so that consumers of these resources can remove the exported resources and we will safely remove the node from our infrastructure. Usage: puppet node clean [--unexport] <host> [<host2> ...] To achieve this we add different destroy methods to the different parts of the indirector. So for example for yaml indirections we already offer read access for the yaml, this changeset adds the destroy handler which only removes the yaml file for a request. This can be used to remove cached entries. This work is based on the initial work of Brice Figureau <brice-puppet@daysofwonder.com>