Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding new pkg_mgmt func plus data_collector emitter
Ref to #1619 Over pkg_mgmt new yum_check func running yum check-update: we throw rc != 0 because we need it, if rc = 0 no updates, if rc == 100 then we have some available packages updates data_collector new yum_updates emitter return True/False starting from yum_check returned rc val Signed-off-by: Mirko Arena <mirko.arena@gmail.com>
- Loading branch information
Showing
2 changed files
with
23 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters