diff --git a/cdist/conf/type/__package_dpkg/man.rst b/cdist/conf/type/__package_dpkg/man.rst index 828d8cdd..a96a0f73 100644 --- a/cdist/conf/type/__package_dpkg/man.rst +++ b/cdist/conf/type/__package_dpkg/man.rst @@ -71,6 +71,11 @@ EXAMPLES --source $__type/files/baz_1.4_amd64.deb \ --purge-if-absent \ --state "absent" + # if dpkg-deb is available and your local package does not have (or can't have) the Debian naming conventions, you can do it this way: + __package_dpkg "$(dpkg-deb --show --showformat='${binary:Package}_${Version}_${Architecture}.deb\n' "baz.deb")" \ + --source $__type/files/baz.deb \ + --state "absent" + SEE ALSO