This commit is contained in:
parent
d1728d5280
commit
1f868d9aa9
30
states/upgrade/init.sls
Normal file
30
states/upgrade/init.sls
Normal file
@ -0,0 +1,30 @@
|
||||
---
|
||||
upgrade_pkg_refresh:
|
||||
module.run:
|
||||
- name: pkg.refresh_db
|
||||
|
||||
upgrade_pkg_upgrade:
|
||||
module.run:
|
||||
- name: pkg.upgrade
|
||||
|
||||
upgrade_pkg_upgrade_dist:
|
||||
module.run:
|
||||
- name: pkg.upgrade
|
||||
- dist: true
|
||||
|
||||
upgrade_pip_upgrade:
|
||||
module.run:
|
||||
- name: pip.install
|
||||
- pkgs: salt,pip
|
||||
- upgrade: true
|
||||
|
||||
upgrade_rust_upgrade:
|
||||
module.run:
|
||||
- name: cmd.run
|
||||
- cmd: /home/paul/.cargo/bin/rustup update
|
||||
- runas: paul
|
||||
|
||||
upgrade_pkg_autoremove:
|
||||
module.run:
|
||||
- name: pkg.autoremove
|
||||
- dist: true
|
Loading…
Reference in New Issue
Block a user