Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use rpm -q rsyslog rather rpm -qa rsyslog
Comparing the time for rpm -qa vs rpm -q ``` $ time rpm -qa --qf "%{VERSION}" "rsyslog" 7.4.7 real 0m1.638s user 0m1.498s sys 0m0.132s ``` vs ``` $ time rpm -q --qf "%{VERSION}" "rsyslog" 7.4.7 real 0m0.033s user 0m0.026s sys 0m0.005s ``` So that saves 1 second per puppet run.
- Loading branch information
ed6609f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixes issue #288