Christian Boltz bde8e1
include:
Christian Boltz bde8e1
  - role.common.wiki
Christian Boltz bde8e1
Christian Boltz 856cd0
apparmor:
Christian Boltz 856cd0
  profiles:
Christian Boltz 856cd0
    httpd2-prefork:
Christian Boltz 856cd0
      source: salt://profile/wiki/files/httpd2-prefork.apparmor
Christian Boltz 856cd0
      template: jinja
Christian Boltz 5bab69
    magick:
Christian Boltz 5bab69
      source: salt://profile/wiki/files/magick.apparmor
Christian Boltz 5bab69
      template: jinja
Christian Boltz 856cd0
    memcached:
Christian Boltz 856cd0
      source: salt://profile/wiki/files/memcached.apparmor
Christian Boltz f4bc96
    pygmentize:
Christian Boltz f4bc96
      source: salt://profile/wiki/files/pygmentize.apparmor
Christian Boltz 856cd0
Christian Boltz 856cd0
# list of wikis running MediaWiki 1.27 (this will allow us to migrate to a new version one by one later)
Christian Boltz 37c275
mediawiki:
Christian Boltz 37c275
  default_version: '1_37'
Christian Boltz 5bab69
  elasticsearch_server: water4.infra.opensuse.org
Lars Vogdt baf116
  mysql_server: 192.168.47.4:3307
Christian Boltz 856cd0
  wikis:
Christian Boltz 6d21ed
    # availale options:
Christian Boltz 6d21ed
      # bento_lang: en
Christian Boltz 8271c2
      # dbmysql5: False  # only needed for old-en and old-de, defaults to True
Christian Boltz 6d21ed
      # dbpass: not_in_salt_yet
Christian Boltz 6d21ed
      # lang: en
Christian Boltz e340d8
      # skin: Chameleon  # defaults to 'bento' if not set. Explicitely setting it to 'bento' will load 'Chameleon' as alternative/user-selectable skin
Christian Boltz 6d21ed
      # readonly_msg: 'This wiki is in read-only mode for maintenance!'
Christian Boltz e726fb
      # robots: robots-disallow.txt  # filename in salt/profile/wiki/files/, defaults to 'robots.txt'
Christian Boltz 6d21ed
      # site_notice: 'This wiki has been moved and updated recently. If you encounter any issue, please let us know by mail to admin@opensuse.org.'
Christian Boltz 6d21ed
    cn:
Christian Boltz 6d21ed
      dbpass: not_in_salt_yet
Christian Boltz 72af3b
      site_notice: '
The wikis are now using the new authentication system.
If you did not migrate your account yet, visit https://idp-portal-info.suse.com/
'
Christian Boltz 37c275
      version: '1_27'
Christian Boltz 6d21ed
    cs:
Christian Boltz 6d21ed
      dbpass: not_in_salt_yet
Christian Boltz 72af3b
      site_notice: '
The wikis are now using the new authentication system.
If you did not migrate your account yet, visit https://idp-portal-info.suse.com/
'
Christian Boltz 37c275
      version: '1_27'
Christian Boltz 6d21ed
    de:
Christian Boltz 6d21ed
      dbpass: not_in_salt_yet
Christian Boltz 72af3b
      site_notice: '
The wikis are now using the new authentication system.
If you did not migrate your account yet, visit https://idp-portal-info.suse.com/
'
Christian Boltz 37c275
      version: '1_27'
Christian Boltz 6d21ed
    el:
Christian Boltz 6d21ed
      dbpass: not_in_salt_yet
Christian Boltz 72af3b
      site_notice: '
The wikis are now using the new authentication system.
If you did not migrate your account yet, visit https://idp-portal-info.suse.com/
'
Christian Boltz 37c275
      version: '1_27'
Christian Boltz 856cd0
    en:
Christian Boltz 856cd0
      dbpass: not_in_salt_yet
Christian Boltz 72af3b
      site_notice: '
The wikis are now using the new authentication system.
If you did not migrate your account yet, visit https://idp-portal-info.suse.com/
'
Christian Boltz 37c275
      version: '1_27'
Christian Boltz 856cd0
    en-test:
Christian Boltz 856cd0
      bento_lang: en
Christian Boltz 856cd0
      dbpass: not_in_salt_yet
Christian Boltz 856cd0
      lang: en
Christian Boltz e340d8
      skin: Chameleon
Christian Boltz a8e40c
      robots: robots-disallow.txt
Christian Boltz 856cd0
      site_notice: 'This is a test wiki. You are more than welcome to do test edits, but please keep in mind that all changes will be lost when we import a newer database dump.'
Christian Boltz 6d21ed
    es:
Christian Boltz 6d21ed
      dbpass: not_in_salt_yet
Christian Boltz 72af3b
      site_notice: '
The wikis are now using the new authentication system.
If you did not migrate your account yet, visit https://idp-portal-info.suse.com/
'
Christian Boltz 37c275
      version: '1_27'
Christian Boltz 6d21ed
    fr:
Christian Boltz 6d21ed
      dbpass: not_in_salt_yet
Christian Boltz 72af3b
      site_notice: '
The wikis are now using the new authentication system.
If you did not migrate your account yet, visit https://idp-portal-info.suse.com/
'
Christian Boltz 37c275
      version: '1_27'
Christian Boltz 6d21ed
    hu:
Christian Boltz 6d21ed
      dbpass: not_in_salt_yet
Christian Boltz 72af3b
      site_notice: '
The wikis are now using the new authentication system.
If you did not migrate your account yet, visit https://idp-portal-info.suse.com/
'
Christian Boltz 37c275
      version: '1_27'
Christian Boltz 6d21ed
    it:
Christian Boltz 6d21ed
      dbpass: not_in_salt_yet
Christian Boltz 72af3b
      site_notice: '
The wikis are now using the new authentication system.
If you did not migrate your account yet, visit https://idp-portal-info.suse.com/
'
Christian Boltz 37c275
      version: '1_27'
Christian Boltz 6d21ed
    ja:
Christian Boltz 6d21ed
      dbpass: not_in_salt_yet
Christian Boltz 72af3b
      site_notice: '
The wikis are now using the new authentication system.
If you did not migrate your account yet, visit https://idp-portal-info.suse.com/
'
Christian Boltz 37c275
      version: '1_27'
Christian Boltz 6d21ed
    languages:
Christian Boltz 6d21ed
      dbpass: not_in_salt_yet
Christian Boltz 72af3b
      site_notice: '
The wikis are now using the new authentication system.
If you did not migrate your account yet, visit https://idp-portal-info.suse.com/
'
Christian Boltz 37c275
      version: '1_27'
Christian Boltz 6d21ed
    nl:
Christian Boltz 6d21ed
      dbpass: not_in_salt_yet
Christian Boltz 72af3b
      site_notice: '
The wikis are now using the new authentication system.
If you did not migrate your account yet, visit https://idp-portal-info.suse.com/
'
Christian Boltz 37c275
      version: '1_27'
Christian Boltz 6d21ed
    old-de:
Christian Boltz 91b414
      bento_lang: de
Christian Boltz 6d21ed
      dbpass: not_in_salt_yet
Christian Boltz 8271c2
      dbmysql5: False
Christian Boltz 91b414
      lang: de
Christian Boltz 6d21ed
      readonly_msg: 'Dieses Wiki ist ein Archiv und kann nicht bearbeitet werden.'
Christian Boltz a8e40c
      robots: robots-disallow.txt
Christian Boltz 91b414
      site_notice: 'Dieses Wiki ist ein Archiv (Stand: 2011) des alten openSUSE-Wikis. Das aktuelle openSUSE-Wiki finden Sie unter [https://de.opensuse.org de.opensuse.org].'
Christian Boltz 37c275
      version: '1_27'
Christian Boltz 6d21ed
    old-en:
Christian Boltz 91b414
      bento_lang: en
Christian Boltz 8271c2
      dbmysql5: False
Christian Boltz 6d21ed
      dbpass: not_in_salt_yet
Christian Boltz 91b414
      lang: en
Christian Boltz 91b414
      readonly_msg: 'This wiki is an archive and cannot be edited.'
Christian Boltz a8e40c
      robots: robots-disallow.txt
Christian Boltz 91b414
      site_notice: 'This wiki is an archive (from 2011) of the old openSUSE wiki. You can find the up to date openSUSE wiki at [https://en.opensuse.org en.opensuse.org].'
Christian Boltz 37c275
      version: '1_27'
Christian Boltz 6d21ed
    pl:
Christian Boltz 6d21ed
      dbpass: not_in_salt_yet
Christian Boltz 72af3b
      site_notice: '
The wikis are now using the new authentication system.
If you did not migrate your account yet, visit https://idp-portal-info.suse.com/
'
Christian Boltz 37c275
      version: '1_27'
Christian Boltz 6d21ed
    pt:
Christian Boltz 6d21ed
      dbpass: not_in_salt_yet
Christian Boltz 72af3b
      site_notice: '
The wikis are now using the new authentication system.
If you did not migrate your account yet, visit https://idp-portal-info.suse.com/
'
Christian Boltz 37c275
      version: '1_27'
Christian Boltz 6d21ed
    ru:
Christian Boltz 6d21ed
      dbpass: not_in_salt_yet
Christian Boltz 72af3b
      site_notice: '
The wikis are now using the new authentication system.
If you did not migrate your account yet, visit https://idp-portal-info.suse.com/
'
Christian Boltz 37c275
      version: '1_27'
Christian Boltz 6d21ed
    sv:
Christian Boltz 6d21ed
      dbpass: not_in_salt_yet
Christian Boltz 72af3b
      site_notice: '
The wikis are now using the new authentication system.
If you did not migrate your account yet, visit https://idp-portal-info.suse.com/
'
Christian Boltz 37c275
      version: '1_27'
Christian Boltz 6d21ed
    tr:
Christian Boltz 6d21ed
      dbpass: not_in_salt_yet
Christian Boltz 72af3b
      site_notice: '
The wikis are now using the new authentication system.
If you did not migrate your account yet, visit https://idp-portal-info.suse.com/
'
Christian Boltz 37c275
      version: '1_27'
Christian Boltz 6d21ed
    zh:
Christian Boltz 6d21ed
      dbpass: not_in_salt_yet
Christian Boltz 72af3b
      site_notice: '
The wikis are now using the new authentication system.
If you did not migrate your account yet, visit https://idp-portal-info.suse.com/
'
Christian Boltz 37c275
      version: '1_27'
Christian Boltz 6d21ed
    zh-tw:
Christian Boltz 6d21ed
      bento_lang: zh_TW
Christian Boltz 6d21ed
      dbpass: not_in_salt_yet
Christian Boltz 72af3b
      site_notice: '
The wikis are now using the new authentication system.
If you did not migrate your account yet, visit https://idp-portal-info.suse.com/
'
Christian Boltz 6d21ed
      lang: zh_TW
Christian Boltz 37c275
      version: '1_27'
Christian Boltz 856cd0
Christian Boltz 856cd0
# special cases for bento_lang:
Christian Boltz 856cd0
# cz    -> bento_lang cs
Christian Boltz 856cd0
# pt-br -> bento_lang pt_BR
Christian Boltz 856cd0
# zh_tw -> bento_lang zh_TW
Christian Boltz 856cd0
# full bento_lang list: https://github.com/openSUSE/opensuse-themes/tree/master/bento/js/l10n
Christian Boltz 856cd0
Christian Boltz d020e3
profile:
Christian Boltz d020e3
  monitoring:
Christian Boltz d020e3
    checks:
Christian Boltz 108a56
      check_memcached_bytes: '/usr/lib/nagios/plugins/check_memcached.pl -H 127.0.0.1 -p 11211 -a -f  --bytes=400000000,500000000'
Christian Boltz d020e3
      check_memcached_total_items: '/usr/lib/nagios/plugins/check_memcached.pl -H 127.0.0.1 -p 11211 -a -f  --total_items=ZERO:OK'
Christian Boltz 95bbc7
Christian Boltz 856cd0
zypper:
Christian Boltz 856cd0
  packages:
Christian Boltz 856cd0
    apache2: {}
Christian Boltz 856cd0
    apache2-mod_apparmor: {}
Christian Boltz 856cd0
    apache2-prefork: {}
Christian Boltz adbc27
    # needed for deploying en-test without going through packaging
Christian Boltz adbc27
    git: {}
Christian Boltz 5bab69
    ImageMagick: {}
Christian Boltz 5bab69
    mediawiki_1_37-openSUSE: {}
Christian Boltz 856cd0
    mariadb-client: {}
Christian Boltz 300a7e
    check_mk-agent-apache_status: {}
Christian Boltz 856cd0
    # needed for migration to unpack tarballs
Christian Boltz 856cd0
    tar: {}