You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The yum_updates and yum_has_updates facts are too slow. On a reasonably fast system, 4 to 6s are needed to resolve this fact. Just because we want a yum module to manage packages and repositories, we don't want to drag in a pointless fact when it incurs such a (relatively) high time- and resource cost.
Thus, this shouldn't be a fact unless it can be done with little cost.
However, I'm against deprecating existing features when security is not the primary issue.
Instead, the algorithm can be improved by caching the result.
The text was updated successfully, but these errors were encountered:
It's underdocumented, and not well implemented, but these can be cached by puppet 3.14.10 and higher by modifying $PUPPET_CONFIG_DIR/facter/facter.conf:
The
yum_updates
andyum_has_updates
facts are too slow. On a reasonably fast system, 4 to 6s are needed to resolve this fact. Just because we want a yum module to manage packages and repositories, we don't want to drag in a pointless fact when it incurs such a (relatively) high time- and resource cost.Thus, this shouldn't be a fact unless it can be done with little cost.
However, I'm against deprecating existing features when security is not the primary issue.
Instead, the algorithm can be improved by caching the result.
The text was updated successfully, but these errors were encountered: