Compare commits
3 commits
6672e13454
...
4b7c0f10e1
Author | SHA1 | Date | |
---|---|---|---|
|
4b7c0f10e1 | ||
|
2bbea92d82 | ||
|
9745d287b0 |
3 changed files with 12 additions and 15 deletions
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue