-
Notifications
You must be signed in to change notification settings - Fork 7
Description
Environment: puppet version 4.10.4; puppet module logicmonitor-logicmonitor v2.1.0
Background: I had a bunch of systems added as devices with logicmonitor::device, and some added as collectors with logicmonitor::collector. I also had one system which was the master, added with logicmonitor::master. At some point, the logic monitor api key changed, so no new systems were added. This went on for quite a while, during which time we decommissioned hosts (collectors and devices).
Result: When we entered correct values for logicmonitor::access_id and logicmonitor::access_key, the master started making all sorts of requests to logicmonitor to add devices and collectors for all those hosts, even though they had been deleted.
Request: There should be a way to remove devices and collectors. One possibility would be something similar to ensure => absent on e.g. the file or package resource types.