--- /dev/null
+keyword pass package:
+ file.managed:
+ - name: /etc/portage/package.keywords/pass-salt
+ - contents:
+ - "=app-admin/pass-9999 **"
+ - user: root
+ - group: root
+ - mode: 644
+ - makedirs: True
+ - dir_mode: 755
+
+unmask pass package:
+ file.managed:
+ - name: /etc/portage/package.unmask/pass-salt
+ - contents:
+ - =app-admin/pass-999
+ - user: root
+ - group: root
+ - mode: 644
+ - makedirs: True
+ - dir_mode: 755
+
+install pass:
+ pkg.installed:
+ - name: app-admin/pass
+ - version: 9999
+ - refresh: False
+ - fromrepo: gentoo
+ - require:
+ - file: keyword pass package
+ - file: unmask pass package