salt.states.pkg.installed and rpm --prefix

14 views
Skip to first unread message

Eduard Gohr

unread,
Jun 10, 2022, 2:31:28 AM6/10/22
to Salt-users
Hello,

I'm trying to install my rpm packages to the another folder than default. In the rpm call there is a "--prefix" option for that e. g.:
rpm -ivh --prefix=/opt/myfolder my.rpm

My question:
Is this possible with the Salt state "salt.states.pkg.installed"? Maybe there is an execution module available which implements this feature?

Thanks for your support!

Eduard
Reply all
Reply to author
Forward
0 new messages