Skip to content

Commit

Permalink
Add nox system packages when exits
Browse files Browse the repository at this point in the history
  • Loading branch information
dwoz committed Dec 6, 2024
1 parent 6806a4e commit 421eef7
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 12 deletions.
6 changes: 0 additions & 6 deletions custom/testing/golden-state-tree/os/debian/init.sls
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
include:
- .config
- .pkgs

install_nox:
cmd.run:
- name: pip3 install nox
- require:
- python3-pip
1 change: 1 addition & 0 deletions custom/testing/golden-state-tree/os/debian/pkgs/init.sls
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ include:
- pkgs.patch
- pkgs.python3
- pkgs.python3-pip
- pkgs.python3-nox
- pkgs.rng-tools
- pkgs.rsync
- pkgs.sed
Expand Down
6 changes: 0 additions & 6 deletions custom/testing/golden-state-tree/os/ubuntu/init.sls
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
include:
- .config
- .pkgs

install_nox:
cmd.run:
- name: pip3 install nox
- require:
- python3-pip
1 change: 1 addition & 0 deletions custom/testing/golden-state-tree/os/ubuntu/pkgs/init.sls
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ include:
- pkgs.python3
- pkgs.python3-pip
- pkgs.python3-venv
- pkgs.python3-nox
- pkgs.rng-tools
- pkgs.rsync
- pkgs.sed
Expand Down
6 changes: 6 additions & 0 deletions custom/testing/golden-state-tree/pkgs/python3-nox.sls
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

{%- set pkg_name = 'python3-nox' %}

python3-nox:
pkg.installed:
- name: {{ pkg_name }}

0 comments on commit 421eef7

Please sign in to comment.