Cleanup unused states
This commit is contained in:
parent
97e033a6ca
commit
013d209a5d
2 changed files with 7 additions and 30 deletions
|
@ -41,24 +41,12 @@ applications_podman_user:
|
||||||
- require:
|
- require:
|
||||||
- applications_podman_pkgs
|
- applications_podman_pkgs
|
||||||
|
|
||||||
applications_podman_rootless_tun_module:
|
|
||||||
file.managed:
|
|
||||||
- name: /etc/modules-load.d/tun.conf
|
|
||||||
- contents:
|
|
||||||
- tun
|
|
||||||
- user: root
|
|
||||||
- group: root
|
|
||||||
- makedirs: True
|
|
||||||
- mode: '0644'
|
|
||||||
|
|
||||||
applications_podman_rootless_modules:
|
applications_podman_rootless_modules:
|
||||||
file.append:
|
file.append:
|
||||||
- name: /etc/modules
|
- name: /etc/modules
|
||||||
- text:
|
- text:
|
||||||
- tun
|
- tun
|
||||||
- fuse
|
- fuse
|
||||||
- require:
|
|
||||||
- applications_podman_rootless_tun_module
|
|
||||||
|
|
||||||
applications_podman_rootless_subgid:
|
applications_podman_rootless_subgid:
|
||||||
file.append:
|
file.append:
|
||||||
|
@ -73,21 +61,3 @@ applications_podman_rootless_subuid:
|
||||||
- text: puser:100000:65536
|
- text: puser:100000:65536
|
||||||
- require:
|
- require:
|
||||||
- applications_podman_user
|
- applications_podman_user
|
||||||
|
|
||||||
applications_podman_rootless_devnet_dir:
|
|
||||||
file.directory:
|
|
||||||
- name: /dev/net
|
|
||||||
- require:
|
|
||||||
- applications_podman_rootless_modules
|
|
||||||
|
|
||||||
applications_podman_rootless_tun_nod:
|
|
||||||
file.mknod:
|
|
||||||
- name: /dev/net/tun
|
|
||||||
- ntype: c
|
|
||||||
- major: 10
|
|
||||||
- minor: 200
|
|
||||||
- user: root
|
|
||||||
- group: root
|
|
||||||
- mode: '0666'
|
|
||||||
- require:
|
|
||||||
- applications_podman_rootless_devnet_dir
|
|
||||||
|
|
|
@ -27,3 +27,10 @@ system_base_apps_dir:
|
||||||
- group: root
|
- group: root
|
||||||
- dir_mode: '0755'
|
- dir_mode: '0755'
|
||||||
- file_mode: '0644'
|
- file_mode: '0644'
|
||||||
|
|
||||||
|
system_base_modules_service:
|
||||||
|
service.running:
|
||||||
|
- name: modules
|
||||||
|
- enable: True
|
||||||
|
- watch:
|
||||||
|
- file: /etc/modules
|
||||||
|
|
Loading…
Reference in a new issue