Sha256: 94cffda24c938689a9b2d31aad627e706803d2f7cd3b8f545c408e930c20582f
Contents?: true
Size: 499 Bytes
Versions: 13
Compression:
Stored size: 499 Bytes
Contents
module Sprinkle module Verifiers # = RPM Verifier # # Contains a verifier to check the existance of an RPM package. # # == Example Usage # # verify { has_rpm 'ntp' } # module Rpm Sprinkle::Verify.register(Sprinkle::Verifiers::Rpm) # Checks to make sure <tt>package</tt> exists in the rpm installed database on the remote server. def has_rpm(package) @commands << "rpm -qa | grep #{package}" end end end end
Version data entries
13 entries across 13 versions & 3 rubygems