forked from ungleich-public/cdist-contrib
__matrix_riot: rename to __matrix_element
This commit is contained in:
parent
3314612193
commit
e2f01bbb3b
18 changed files with 14 additions and 14 deletions
|
@ -39,7 +39,7 @@ EOF
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cat << EOF
|
cat << EOF
|
||||||
"welcomeBackgroundUrl": "themes/riot/img/backgrounds/valley.jpg"
|
"welcomeBackgroundUrl": "themes/element/img/backgrounds/lake.jpg"
|
||||||
EOF
|
EOF
|
||||||
echo '},'
|
echo '},'
|
||||||
}
|
}
|
|
@ -46,7 +46,7 @@ cd \$tmpdir
|
||||||
curl -L '$url' > $archive
|
curl -L '$url' > $archive
|
||||||
tar xf $archive
|
tar xf $archive
|
||||||
|
|
||||||
# Backup files deployed by __matrix_riot.
|
# Backup files deployed by __matrix_element.
|
||||||
mkdir -p \$custom_files_dir
|
mkdir -p \$custom_files_dir
|
||||||
for file in $INSTALL_DIR/cdist/*; do
|
for file in $INSTALL_DIR/cdist/*; do
|
||||||
cp "\$file" "\$custom_files_dir"
|
cp "\$file" "\$custom_files_dir"
|
|
@ -1,23 +1,23 @@
|
||||||
cdist-type__matrix_riot(7)
|
cdist-type__matrix_element(7)
|
||||||
======================
|
======================
|
||||||
|
|
||||||
NAME
|
NAME
|
||||||
----
|
----
|
||||||
cdist-type__matrix_riot - Install and configure Riot, a web Matrix client.
|
cdist-type__matrix_element - Install and configure Element, a web Matrix client.
|
||||||
|
|
||||||
|
|
||||||
DESCRIPTION
|
DESCRIPTION
|
||||||
-----------
|
-----------
|
||||||
This type install and configure the Riot web client.
|
This type install and configure the Element web client.
|
||||||
|
|
||||||
|
|
||||||
REQUIRED PARAMETERS
|
REQUIRED PARAMETERS
|
||||||
-------------------
|
-------------------
|
||||||
install_dir
|
install_dir
|
||||||
Root directory of Riot's static files.
|
Root directory of Element's static files.
|
||||||
|
|
||||||
version
|
version
|
||||||
Release of Riot to install.
|
Release of Element to install.
|
||||||
|
|
||||||
OPTIONAL PARAMETERS
|
OPTIONAL PARAMETERS
|
||||||
-------------------
|
-------------------
|
||||||
|
@ -31,20 +31,20 @@ owner
|
||||||
Owner of the deployed files, passed to `chown`. Defaults to 'root'.
|
Owner of the deployed files, passed to `chown`. Defaults to 'root'.
|
||||||
|
|
||||||
brand
|
brand
|
||||||
Web UI branding, defaults to 'Riot'.
|
Web UI branding, defaults to 'Element'.
|
||||||
|
|
||||||
default_country_code
|
default_country_code
|
||||||
ISO 3166 alpha2 country code to use when showing country selectors, such as
|
ISO 3166 alpha2 country code to use when showing country selectors, such as
|
||||||
phone number inputs. Defaults to GB.
|
phone number inputs. Defaults to GB.
|
||||||
|
|
||||||
privacy_policy_url
|
privacy_policy_url
|
||||||
Defaults to 'https://riot.im/privacy'.
|
Defaults to 'https://element.io/privacy'.
|
||||||
|
|
||||||
cookie_policy_url
|
cookie_policy_url
|
||||||
Defaults to 'https://matrix.org/docs/guides/riot_im_cookie_policy'.
|
Defaults to 'https://matrix.org/docs/guides/element_im_cookie_policy'.
|
||||||
|
|
||||||
jitsi_domain
|
jitsi_domain
|
||||||
Domain name of preferred Jitsi instance (default is jitsi.riot.im). This is
|
Domain name of preferred Jitsi instance (default is jitsi.element.im). This is
|
||||||
used whenever a user clicks on the voice/video call buttons.
|
used whenever a user clicks on the voice/video call buttons.
|
||||||
|
|
||||||
homepage
|
homepage
|
||||||
|
@ -66,7 +66,7 @@ EXAMPLES
|
||||||
|
|
||||||
.. code-block:: sh
|
.. code-block:: sh
|
||||||
|
|
||||||
__matrix_riot my-riot --install_dir /var/www/riot-web --version 1.5.6
|
__matrix_element my-element --install_dir /var/www/element-web --version 1.5.6
|
||||||
|
|
||||||
|
|
||||||
SEE ALSO
|
SEE ALSO
|
1
type/__matrix_element/parameter/default/brand
Normal file
1
type/__matrix_element/parameter/default/brand
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Element
|
|
@ -0,0 +1 @@
|
||||||
|
https://element.io/privacy
|
|
@ -1 +0,0 @@
|
||||||
Riot
|
|
|
@ -1 +0,0 @@
|
||||||
https://riot.im/privacy
|
|
Loading…
Reference in a new issue