- mypack_prereq:
- pkg.installed:
- - pkgs:
- - glibc
- - compat-libstdc++-33.i686
- - libstdc++.i686
- - normalize: False
- - onlyif:
- - lspci|grep -qP '(this|that)'
- mypack:
- pkg.installed:
- - sources:
- - pack1: salt://mypack/files/pack1.noarch.rpm
- - pack2.i386: salt://mypack/files/pack2.i386.rpm
- - normalize: False
- - require:
- - pkg: mypack_prereq
- - pkg: some-other-state