ControlTier > core
 

assertPackageIsVerified

Command Reference

Description

Verify installed package against the RPM database.

Verifies that the current state of the filesystem still matches the RPM and fails if not. Uses sudo by default, but if the files are world-readable, it is recommended that you run this as non-root.

Usage

ctl -t rpm -o <objectname> -c assertPackageIsVerified -base <> -dbpath <> [-script <>] [-script <>] -usesudo <>

Options

Option Description Type Default
base package base name string ${entity.package-base}
dbpath rpm database path string ${entity.attribute.rpmDbPath}
script script to execute string ${entity.attribute.package-verified-script}
script script to execute string ${entity.attribute.package-verified-script}
usesudo whether to use sudo to run rpm string ${entity.attribute.rpmUseSudo}