aufgeräumt und umgestellt von push auf pull
This commit is contained in:
parent
db9c16057e
commit
9292f3002e
19
admin.sls
Normal file
19
admin.sls
Normal file
@ -0,0 +1,19 @@
|
||||
vscode:
|
||||
pkg.latest:
|
||||
- refresh_db: true
|
||||
|
||||
gimp:
|
||||
pkg.latest:
|
||||
- refresh_db: true
|
||||
|
||||
git:
|
||||
pkg.latest:
|
||||
- refresh_db: true
|
||||
|
||||
7zip:
|
||||
pkg.latest:
|
||||
- refresh_db: true
|
||||
|
||||
npp_x64:
|
||||
pkg.latest:
|
||||
- refresh_db: true
|
||||
39
all.sls
Normal file
39
all.sls
Normal file
@ -0,0 +1,39 @@
|
||||
arduino-ide:
|
||||
pkg.latest:
|
||||
- refresh_db: true
|
||||
|
||||
blender:
|
||||
pkg.latest:
|
||||
- refresh_db: true
|
||||
|
||||
vscode:
|
||||
pkg.latest:
|
||||
- refresh_db: true
|
||||
|
||||
gimp:
|
||||
pkg.latest:
|
||||
- refresh_db: true
|
||||
|
||||
git:
|
||||
pkg.latest:
|
||||
- refresh_db: true
|
||||
|
||||
adoptium_jre:
|
||||
pkg.latest:
|
||||
- refresh_db: true
|
||||
|
||||
openrobertaconnector:
|
||||
pkg.latest:
|
||||
- refresh_db: true
|
||||
|
||||
7zip:
|
||||
pkg.latest:
|
||||
- refresh_db: true
|
||||
|
||||
vlc:
|
||||
pkg.latest:
|
||||
- refresh_db: true
|
||||
|
||||
npp_x64:
|
||||
pkg.latest:
|
||||
- refresh_db: true
|
||||
36
befehle.txt
36
befehle.txt
@ -1,35 +1,13 @@
|
||||
salt-run winrepo.update_git_repos
|
||||
salt -G 'os:windows' pkg.refresh_db
|
||||
salt '*' state.apply
|
||||
|
||||
#salt '*' pkg.install 'firefox_x64'
|
||||
|
||||
cat /srv/salt/states/pcs.sls
|
||||
firefox_x64:
|
||||
pkg:
|
||||
- installed
|
||||
|
||||
salt '*' state.apply pcs
|
||||
salt '*' state.apply
|
||||
|
||||
salt -G 'os:windows' pkg.refresh_db
|
||||
salt '*' pkg.install arduino-ide version=2.3.3
|
||||
|
||||
#noch einbauen
|
||||
salt '*' cmd.run 'wmic product where "name like \'%Automate%\'" call uninstall /nointeractive' shell=powershell
|
||||
salt "*" appx.remove *ZuneMusic*
|
||||
|
||||
|
||||
# list installed packages
|
||||
salt -G 'os:windows' pkg.list_pkgs
|
||||
|
||||
# list available versions
|
||||
salt win11 pkg.list_available firefox_x64
|
||||
salt '*' state.apply init
|
||||
salt '*' state.apply
|
||||
|
||||
#Windows Updates
|
||||
salt -G 'os:windows' win_wua.available
|
||||
salt '*' test.version
|
||||
|
||||
salt-run winrepo.update_git_repos
|
||||
|
||||
salt -G 'os:windows' pkg.refresh_db
|
||||
|
||||
salt -G 'os:windows' win_wua.download xxxxxxx
|
||||
|
||||
salt '*' win_wua.install xxxxxxxxxxxx
|
||||
|
||||
|
||||
6
core.sls
Normal file
6
core.sls
Normal file
@ -0,0 +1,6 @@
|
||||
copy_my_files:
|
||||
file.managed:
|
||||
- name: C:/ProgramData/Salt Project/Salt/conf/minion.d/startup_states.conf
|
||||
- source: salt://files/startup_states.conf
|
||||
- makedirs: True
|
||||
|
||||
3
desktop.sls
Normal file
3
desktop.sls
Normal file
@ -0,0 +1,3 @@
|
||||
python3_x64:
|
||||
pkg.latest:
|
||||
- refresh_db: true
|
||||
3
files/startup_states.conf
Normal file
3
files/startup_states.conf
Normal file
@ -0,0 +1,3 @@
|
||||
startup_states: 'top'
|
||||
top_file: 'top.sls'
|
||||
|
||||
0
laptop.sls
Normal file
0
laptop.sls
Normal file
35
pcs.sls
35
pcs.sls
@ -1,35 +0,0 @@
|
||||
firefox_x64:
|
||||
pkg:
|
||||
- latest
|
||||
|
||||
arduino-ide:
|
||||
pkg:
|
||||
- latest
|
||||
|
||||
blender:
|
||||
pkg:
|
||||
- latest
|
||||
|
||||
vscode:
|
||||
pkg:
|
||||
- latest
|
||||
|
||||
git:
|
||||
pkg:
|
||||
- latest
|
||||
|
||||
python3_x64:
|
||||
pkg:
|
||||
- latest
|
||||
|
||||
adoptium_jre:
|
||||
pkg:
|
||||
- latest
|
||||
|
||||
openrobertaconnector:
|
||||
pkg:
|
||||
- latest
|
||||
|
||||
7zip:
|
||||
pkg:
|
||||
- latest
|
||||
15
test.sls
Normal file
15
test.sls
Normal file
@ -0,0 +1,15 @@
|
||||
vscode:
|
||||
pkg.latest:
|
||||
- refresh_db: true
|
||||
|
||||
gimp:
|
||||
pkg.latest:
|
||||
- refresh_db: true
|
||||
|
||||
7zip:
|
||||
pkg.latest:
|
||||
- refresh_db: true
|
||||
|
||||
npp_x64:
|
||||
pkg.latest:
|
||||
- refresh_db: true
|
||||
16
top.sls
16
top.sls
@ -1,4 +1,16 @@
|
||||
base:
|
||||
'*':
|
||||
- pcs
|
||||
'z-lab-laptop-*':
|
||||
- core
|
||||
- all
|
||||
- laptop
|
||||
'z-lab-desktop-*':
|
||||
- core
|
||||
- all
|
||||
- desktop
|
||||
'z-lab-admin*':
|
||||
- core
|
||||
- admin
|
||||
'z-lab-test*':
|
||||
- core
|
||||
- test
|
||||
|
||||
|
||||
35
zz_befehle_alt.txt
Normal file
35
zz_befehle_alt.txt
Normal file
@ -0,0 +1,35 @@
|
||||
salt-run winrepo.update_git_repos
|
||||
salt -G 'os:windows' pkg.refresh_db
|
||||
salt '*' state.apply
|
||||
|
||||
#salt '*' pkg.install 'firefox_x64'
|
||||
|
||||
cat /srv/salt/states/pcs.sls
|
||||
firefox_x64:
|
||||
pkg:
|
||||
- installed
|
||||
|
||||
salt '*' state.apply pcs
|
||||
salt '*' state.apply
|
||||
|
||||
salt -G 'os:windows' pkg.refresh_db
|
||||
salt '*' pkg.install arduino-ide version=2.3.3
|
||||
|
||||
#noch einbauen
|
||||
salt '*' cmd.run 'wmic product where "name like \'%Automate%\'" call uninstall /nointeractive' shell=powershell
|
||||
salt "*" appx.remove *ZuneMusic*
|
||||
|
||||
|
||||
# list installed packages
|
||||
salt -G 'os:windows' pkg.list_pkgs
|
||||
|
||||
# list available versions
|
||||
salt win11 pkg.list_available firefox_x64
|
||||
|
||||
#Windows Updates
|
||||
salt -G 'os:windows' win_wua.available
|
||||
|
||||
salt -G 'os:windows' win_wua.download xxxxxxx
|
||||
|
||||
salt '*' win_wua.install xxxxxxxxxxxx
|
||||
|
||||
Loading…
Reference in New Issue
Block a user