ipsilon: move over definitely to openshift
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
This commit is contained in:
parent
c2731b0ca0
commit
433270afac
2 changed files with 3 additions and 16 deletions
|
@ -34,11 +34,7 @@ openidc subject salt={{ ipsilon_stg_openidc_subject_salt }}
|
||||||
openidc subject salt={{ ipsilon_openidc_subject_salt }}
|
openidc subject salt={{ ipsilon_openidc_subject_salt }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
openidc endpoint url=https://id{{env_suffix}}.fedoraproject.org/openidc/
|
openidc endpoint url=https://id{{env_suffix}}.fedoraproject.org/openidc/
|
||||||
{% if inventory_hostname.startswith('os-') %}
|
|
||||||
openidc idp key file=/etc/ipsilon/openidc.key
|
openidc idp key file=/etc/ipsilon/openidc.key
|
||||||
{% else %}
|
|
||||||
openidc idp key file=/etc/ipsilon/openidc{{env_suffix}}.key
|
|
||||||
{% endif %}
|
|
||||||
openidc database url=postgresql://{{ ipsilon_db_user }}:{{ ipsilon_db_pass }}@{{ ipsilon_db_host }}/{{ ipsilon_db_openid_name }}
|
openidc database url=postgresql://{{ ipsilon_db_user }}:{{ ipsilon_db_pass }}@{{ ipsilon_db_host }}/{{ ipsilon_db_openid_name }}
|
||||||
openidc static database url=configfile:///etc/ipsilon/openidc.static.cfg
|
openidc static database url=configfile:///etc/ipsilon/openidc.static.cfg
|
||||||
openidc documentation url=https://fedoraproject.org/wiki/Infrastructure/Authentication
|
openidc documentation url=https://fedoraproject.org/wiki/Infrastructure/Authentication
|
||||||
|
@ -59,19 +55,15 @@ openid database url=postgresql://{{ ipsilon_db_user }}:{{ ipsilon_db_pass }}@{{
|
||||||
openid untrusted roots=
|
openid untrusted roots=
|
||||||
openid enabled extensions=Fedora Teams,Attribute Exchange,CLAs,Simple Registration,API
|
openid enabled extensions=Fedora Teams,Attribute Exchange,CLAs,Simple Registration,API
|
||||||
|
|
||||||
saml2 idp storage path=/etc/ipsilon/saml2
|
saml2 idp storage path=/etc/ipsilon
|
||||||
{% if inventory_hostname.startswith('os-') %}
|
|
||||||
saml2 idp metadata file=/httpdir/metadata.xml
|
saml2 idp metadata file=/httpdir/metadata.xml
|
||||||
{% else %}
|
|
||||||
saml2 idp metadata file=metadata.xml
|
|
||||||
{% endif %}
|
|
||||||
{% if env == 'staging' %}
|
{% if env == 'staging' %}
|
||||||
saml2 idp nameid salt={{ ipsilon_stg_saml2_nameid_salt }}
|
saml2 idp nameid salt={{ ipsilon_stg_saml2_nameid_salt }}
|
||||||
{% else %}
|
{% else %}
|
||||||
saml2 idp nameid salt={{ ipsilon_saml2_nameid_salt }}
|
saml2 idp nameid salt={{ ipsilon_saml2_nameid_salt }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
saml2 idp certificate file=idp.crt
|
saml2 idp certificate file=saml2_idp.crt
|
||||||
saml2 idp key file=idp.key
|
saml2 idp key file=saml2_idp.key
|
||||||
saml2 allow self registration=False
|
saml2 allow self registration=False
|
||||||
saml2 default nameid=transient
|
saml2 default nameid=transient
|
||||||
saml2 default email domain=fedoraproject.org
|
saml2 default email domain=fedoraproject.org
|
||||||
|
|
|
@ -18,16 +18,11 @@ RewriteRule ^([a-z0-9-]+)\.id\.fedoraproject\.org/.* /openid/id/$1/ [PT]
|
||||||
Alias /ui /usr/share/ipsilon/ui
|
Alias /ui /usr/share/ipsilon/ui
|
||||||
WSGIScriptAlias / /usr/libexec/ipsilon
|
WSGIScriptAlias / /usr/libexec/ipsilon
|
||||||
WSGIPassAuthorization On
|
WSGIPassAuthorization On
|
||||||
{% if inventory_hostname.startswith('os-') %}
|
|
||||||
WSGIDaemonProcess ipsilon home=/var/lib/ipsilon processes=2 threads=2 maximum-requests=1000
|
WSGIDaemonProcess ipsilon home=/var/lib/ipsilon processes=2 threads=2 maximum-requests=1000
|
||||||
WSGIApplicationGroup %{GLOBAL}
|
WSGIApplicationGroup %{GLOBAL}
|
||||||
WSGISocketPrefix /httpdir/run/wsgi
|
WSGISocketPrefix /httpdir/run/wsgi
|
||||||
WSGIRestrictStdout Off
|
WSGIRestrictStdout Off
|
||||||
WSGIRestrictSignal Off
|
WSGIRestrictSignal Off
|
||||||
{% else %}
|
|
||||||
WSGIDaemonProcess ipsilon user=ipsilon group=ipsilon home=/var/lib/ipsilon processes=2 threads=2 maximum-requests=1000
|
|
||||||
WSGIImportScript /usr/libexec/ipsilon process-group=ipsilon application-group=ipsilon
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
|
|
||||||
<Location />
|
<Location />
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue