]> git.friedersdorff.com Git - max/saltfiles.git/blob - states/pass/gentoo.sls
Add netdev for barium
[max/saltfiles.git] / states / pass / gentoo.sls
1 keyword pass package:
2   file.managed:
3     - name: /etc/portage/package.keywords/pass-salt
4     - contents: 
5       - "=app-admin/pass-9999 **"
6     - user: root
7     - group: root
8     - mode: 644
9     - makedirs: True
10     - dir_mode: 755
11
12 unmask pass package:
13   file.managed:
14     - name: /etc/portage/package.unmask/pass-salt
15     - contents: 
16       - =app-admin/pass-999
17     - user: root
18     - group: root
19     - mode: 644
20     - makedirs: True
21     - dir_mode: 755
22
23 pass useflags:
24   file.managed:
25     - name: /etc/portage/package.use/pass-salt
26     - contents:
27       - app-admin/pass zsh-completion
28       - app-admin/pass-otp qrcode
29       - www-plugins/passff-host firefox
30     - user: root
31     - group: root
32     - mode: 644
33
34 install pass:
35   pkg.installed:
36     - name: app-admin/pass
37     - version: 9999
38     - refresh: False
39     - fromrepo: gentoo
40     - require:
41       - file: keyword pass package
42       - file: unmask pass package
43       - file: pass useflags
44
45 install related:
46   pkg.installed:
47     - pkgs: 
48       - app-admin/pass-otp
49       - www-plugins/passff-host
50     - refresh: False