No way to indicate multiple puppet intervals
|Assigned to:||-||% Done:||
We have multiple classes of client with several puppet run intervals. (For example, the memcache servers run every 6 hours due to the high IO load puppet imposes, which frequently results in memcached timeouts.) There is no way to associate a tag/class with a run interval in foreman, so these servers are perpetually listed as outdated.
Updated by Ohad Levy over 3 years ago
- Status changed from New to Feedback
- Assigned to changed from Ohad Levy to Dis Connect
I gave this some more thought, and I'm not 100% sure its a good idea.
one small bug in puppet, is that sometimes it sends the same report twice, in order not to import it again, I validate that there is only one report per host per a certain time, this will not work if I'll keep the server local time instead.
I do keep the creation time of the report in the db as well, would it be ok as a work around to expire reports based on their creation time in the db instead of their reported time? this will fix the issue with unable to expire reports that have a wrong date.
additionally, I can write errors to the log if the report time is different to the current time (e.g. +1 one hour in utc).
Updated by Dis Connect about 3 years ago
- Assigned to changed from Dis Connect to Ohad Levy
Assigned to me somehow, assigning it back. (Also, that comment was for a different bug - this is about long-interval hosts.)