changing instance name and session cookie name for upstreamfirst pagure
This commit is contained in:
parent
0c408b391e
commit
b78c9c2628
3 changed files with 7 additions and 2 deletions
|
@ -7,7 +7,6 @@
|
|||
instance_type: m1.medium
|
||||
image: CentOS-7-x86_64-GenericCloud-1503
|
||||
keypair: fedora-admin-20130801
|
||||
security_group: default # NOTE: security_group MUST contain default.
|
||||
zone: nova
|
||||
|
||||
inventory_tenant: persistent
|
||||
|
@ -79,6 +78,8 @@ pagure_ssh_host_sha256: 'SHA256:ggRdzg+ugyR6WIzeiuyASAdEHf+HG5yZqJJIu/YTtHI='
|
|||
|
||||
new_pagure_admin_groups: ['sysadmin-main', 'sysadmin-qa']
|
||||
|
||||
pagure_instance_name: "{{ pagure_instance_name }}"
|
||||
|
||||
stunnel_service: "eventsource"
|
||||
stunnel_source_port: 8088
|
||||
stunnel_destination_port: 8080
|
||||
|
|
2
roles/pagure/upstreamfirst-frontend/defaults/main.yml
Normal file
2
roles/pagure/upstreamfirst-frontend/defaults/main.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
---
|
||||
pagure_instance_name: "Pagure"
|
|
@ -1,5 +1,7 @@
|
|||
from datetime import timedelta
|
||||
|
||||
INSTANCE_NAME= {{ pagure_instance_name }}
|
||||
|
||||
### Set the time after which the admin session expires
|
||||
# There are two sessions on pagure, login that holds for 31 days and
|
||||
# the session defined here after which an user has to re-login.
|
||||
|
@ -151,7 +153,7 @@ SESSION_COOKIE_SECURE = True
|
|||
|
||||
# The name of the cookie used to store the session id.
|
||||
# Default: ``.pagure``.
|
||||
SESSION_COOKIE_NAME = 'pagure'
|
||||
SESSION_COOKIE_NAME = 'upstreamfirstpagure'
|
||||
|
||||
# Boolean specifying wether to check the user's IP address when retrieving
|
||||
# its session. This make things more secure (thus is on by default) but
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue