Compare commits

...

3 commits

Author SHA1 Message Date
Actaeus Curabitur
4b7c0f10e1 Removed collabora from nextcloud, updated user for nextcloud 2022-08-25 07:35:54 -05:00
Actaeus Curabitur
2bbea92d82 Updated freeipa commands 2022-08-18 11:25:16 -05:00
Actaeus Curabitur
9745d287b0 fixed aur_builder symlink 2022-08-17 10:20:51 -05:00
3 changed files with 12 additions and 15 deletions

View file

@ -24,7 +24,7 @@ user-build:
/repo:
file.symlink:
- target: /mnt/pkgs/aur-local/os/x86_64/
- target: /mnt/pkgs/archlinux/aur-local/os/x86_64/
/build:
file.symlink:

View file

@ -5,10 +5,7 @@ nextcloud-pkgs:
- php-gd
- php-intl
- nginx
- collabora-online-server-nodocker
- redis
- rabbitmq
- postgresql
# - collabora-online-server-nodocker
/etc/pacman.d/hooks/nextcloud.hook:
file.managed:
@ -41,12 +38,12 @@ rtorrent-php-fpm:
- group: root
- mode: 644
/etc/nginx/conf.d/collabora.conf:
file.managed:
- source: salt://roles/maintain/nextcloud/nginx-collabora.conf
- user: root
- group: root
- mode: 644
#/etc/nginx/conf.d/collabora.conf:
# file.managed:
# - source: salt://roles/maintain/nextcloud/nginx-collabora.conf
# - user: root
# - group: root
# - mode: 644
mount:
group.present:
@ -62,7 +59,7 @@ nginx-service:
/usr/share/webapps/nextcloud/apps:
file.directory:
- user: http
- group: http
- user: nextcloud
- group: nextcloud
- dir_mode: 750

View file

@ -11,7 +11,7 @@ set_salt_ipa_password:
create_host:
cmd.run:
- name: 'sshpass -p $SALT_PASSWORD ssh salt@ipa.actcur.com -oStrictHostKeyChecking=no "rm {{hostname}}.keytab;echo $SALT_PASSWORD | kinit salt;ipa host-add --force --ip-address={{ip}} {{hostname}}.actcur.com; ipa host-allow-create-keytab {{hostname}}.actcur.com --groups enroller;/usr/sbin/ipa-getkeytab -s ipa.actcur.com -p host/{{hostname}}.actcur.com -k ./{{hostname}}.keytab"'
- name: 'sshpass -p $SALT_PASSWORD ssh salt@ipa.actcur.com -oStrictHostKeyChecking=no "rm {{hostname}}.keytab;echo $SALT_PASSWORD | kinit salt;ipa host-add --force --ip-address={{ip}} {{hostname}}.actcur.com --class=server; ipa host-allow-create-keytab {{hostname}}.actcur.com --groups server_enroller;/usr/sbin/ipa-getkeytab -s ipa.actcur.com -p host/{{hostname}}.actcur.com -k ./{{hostname}}.keytab"'
grab_keytab:
cmd.run: