Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Paste
P404
bin/octocatalog-diff vangogh
Active
Public
Actions
Authored by
ardumont
on May 22 2019, 10:05 AM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
Vault
Puppet recipes
Subscribers
vlorentz
Found host vangogh.euwest.azure.internal.softwareheritage.org
*** Running octocatalog-diff on host vangogh.euwest.azure.internal.softwareheritage.org
diff origin/production/vangogh.euwest.azure.internal.softwareheritage.org current/vangogh.euwest.azure.internal.softwareheritage.org
*******************************************
[
0
;
32
;
49m+ Concat::Fragment
[
nginx-swh-objstorage-500-6666cd76f96956469e7be39d750cc7d9
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"order"
:
500
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"target"
:
"/etc/nginx/sites-available/nginx-swh-objstorage.conf"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"content"
: >>>
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m location /
{
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m proxy_pass http://swh-objstorage-gunicorn
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m proxy_read_timeout 3600s
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m proxy_connect_timeout 90s
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m proxy_send_timeout 90s
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m proxy_buffering off
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m proxy_set_header Host
$host
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m proxy_set_header X-Real-IP
$remote_addr
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m proxy_set_header X-Forwarded-For
$proxy_add_x_forwarded_for
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m proxy_set_header Proxy
""
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
}
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
<<<
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ Concat::Fragment
[
nginx-swh-objstorage-default-500-6666cd76f96956469e7be39d750cc7d9
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"order"
:
500
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"target"
:
"/etc/nginx/sites-available/nginx-swh-objstorage-default.conf"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"content"
: >>>
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m location /
{
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m index index.html index.htm index.php
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
}
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
<<<
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ Concat::Fragment
[
nginx-swh-objstorage-default-footer
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"order"
:
"699"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"target"
:
"/etc/nginx/sites-available/nginx-swh-objstorage-default.conf"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"content"
: >>>
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
}
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
<<<
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ Concat::Fragment
[
nginx-swh-objstorage-default-header
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"order"
:
"001"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"target"
:
"/etc/nginx/sites-available/nginx-swh-objstorage-default.conf"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"content"
: >>>
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m# MANAGED BY PUPPET
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mserver
{
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m listen
0
.0.0.0:5003 default_server
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m server_name nginx-swh-objstorage-default
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
return
444
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m index index.html index.htm index.php
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m access_log /var/log/nginx/nginx-swh-objstorage-default.access.log combined
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m error_log /var/log/nginx/nginx-swh-objstorage-default.error.log
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
<<<
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ Concat::Fragment
[
nginx-swh-objstorage-footer
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"order"
:
"699"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"target"
:
"/etc/nginx/sites-available/nginx-swh-objstorage.conf"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"content"
: >>>
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
}
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
<<<
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ Concat::Fragment
[
nginx-swh-objstorage-header
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"order"
:
"001"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"target"
:
"/etc/nginx/sites-available/nginx-swh-objstorage.conf"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"content"
: >>>
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m# MANAGED BY PUPPET
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mserver
{
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m listen
0
.0.0.0:5003 deferred
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m server_name vangogh.euwest.azure.internal.softwareheritage.org vangogh
127
.0.0.1 localhost ::1
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m client_max_body_size 4G
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m index index.html index.htm index.php
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m access_log /var/log/nginx/nginx-swh-objstorage.access.log combined
if
=
$error_status
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m error_log /var/log/nginx/nginx-swh-objstorage.error.log
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
<<<
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ Concat::Fragment
[
nginx-swh-vault-500-6666cd76f96956469e7be39d750cc7d9
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"order"
:
500
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"target"
:
"/etc/nginx/sites-available/nginx-swh-vault.conf"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"content"
: >>>
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m location /
{
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m proxy_pass http://swh-vault-gunicorn
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m proxy_read_timeout 3600s
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m proxy_connect_timeout 90s
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m proxy_send_timeout 90s
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m proxy_buffering off
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m proxy_set_header Host
$host
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m proxy_set_header X-Real-IP
$remote_addr
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m proxy_set_header X-Forwarded-For
$proxy_add_x_forwarded_for
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m proxy_set_header Proxy
""
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
}
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
<<<
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ Concat::Fragment
[
nginx-swh-vault-default-500-6666cd76f96956469e7be39d750cc7d9
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"order"
:
500
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"target"
:
"/etc/nginx/sites-available/nginx-swh-vault-default.conf"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"content"
: >>>
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m location /
{
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m index index.html index.htm index.php
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
}
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
<<<
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ Concat::Fragment
[
nginx-swh-vault-default-footer
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"order"
:
"699"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"target"
:
"/etc/nginx/sites-available/nginx-swh-vault-default.conf"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"content"
: >>>
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
}
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
<<<
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ Concat::Fragment
[
nginx-swh-vault-default-header
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"order"
:
"001"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"target"
:
"/etc/nginx/sites-available/nginx-swh-vault-default.conf"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"content"
: >>>
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m# MANAGED BY PUPPET
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mserver
{
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m listen
0
.0.0.0:5005 default_server
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m server_name nginx-swh-vault-default
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
return
444
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m index index.html index.htm index.php
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m access_log /var/log/nginx/nginx-swh-vault-default.access.log combined
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m error_log /var/log/nginx/nginx-swh-vault-default.error.log
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
<<<
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ Concat::Fragment
[
nginx-swh-vault-footer
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"order"
:
"699"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"target"
:
"/etc/nginx/sites-available/nginx-swh-vault.conf"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"content"
: >>>
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
}
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
<<<
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ Concat::Fragment
[
nginx-swh-vault-header
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"order"
:
"001"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"target"
:
"/etc/nginx/sites-available/nginx-swh-vault.conf"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"content"
: >>>
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m# MANAGED BY PUPPET
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mserver
{
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m listen
0
.0.0.0:5005 deferred
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m server_name vangogh.euwest.azure.internal.softwareheritage.org vangogh
127
.0.0.1 localhost ::1
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m client_max_body_size 4G
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m index index.html index.htm index.php
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m access_log /var/log/nginx/nginx-swh-vault.access.log combined
if
=
$error_status
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m error_log /var/log/nginx/nginx-swh-vault.error.log
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
<<<
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ Concat::Fragment
[
swh-objstorage-gunicorn_upstream_footer
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"order"
:
"90"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"target"
:
"/etc/nginx/conf.d/swh-objstorage-gunicorn-upstream.conf"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"content"
: >>>
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
}
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
<<<
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ Concat::Fragment
[
swh-objstorage-gunicorn_upstream_header
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"order"
:
"10"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"target"
:
"/etc/nginx/conf.d/swh-objstorage-gunicorn-upstream.conf"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"content"
: >>>
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m# MANAGED BY PUPPET
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mupstream swh-objstorage-gunicorn
{
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
<<<
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ Concat::Fragment
[
swh-objstorage-gunicorn_upstream_members
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"order"
:
"50"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"target"
:
"/etc/nginx/conf.d/swh-objstorage-gunicorn-upstream.conf"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"content"
: >>>
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m server unix:/run/gunicorn/swh-objstorage/gunicorn.sock
fail_timeout
=
0
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
<<<
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ Concat::Fragment
[
swh-vault-gunicorn_upstream_footer
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"order"
:
"90"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"target"
:
"/etc/nginx/conf.d/swh-vault-gunicorn-upstream.conf"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"content"
: >>>
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
}
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
<<<
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ Concat::Fragment
[
swh-vault-gunicorn_upstream_header
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"order"
:
"10"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"target"
:
"/etc/nginx/conf.d/swh-vault-gunicorn-upstream.conf"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"content"
: >>>
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m# MANAGED BY PUPPET
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mupstream swh-vault-gunicorn
{
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
<<<
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ Concat::Fragment
[
swh-vault-gunicorn_upstream_members
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"order"
:
"50"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"target"
:
"/etc/nginx/conf.d/swh-vault-gunicorn-upstream.conf"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"content"
: >>>
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m server unix:/run/gunicorn/swh-vault/gunicorn.sock
fail_timeout
=
0
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
<<<
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ Concat
[
/etc/nginx/conf.d/swh-objstorage-gunicorn-upstream.conf
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"backup"
:
"puppet"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure"
:
"present"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure_newline"
: false
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"group"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"mode"
:
"0644"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"notify"
:
"Class[Nginx::Service]"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"order"
:
"alpha"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"owner"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"path"
:
"/etc/nginx/conf.d/swh-objstorage-gunicorn-upstream.conf"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"replace"
: true
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"show_diff"
: true
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"warn"
: false
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ Concat
[
/etc/nginx/conf.d/swh-vault-gunicorn-upstream.conf
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"backup"
:
"puppet"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure"
:
"present"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure_newline"
: false
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"group"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"mode"
:
"0644"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"notify"
:
"Class[Nginx::Service]"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"order"
:
"alpha"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"owner"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"path"
:
"/etc/nginx/conf.d/swh-vault-gunicorn-upstream.conf"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"replace"
: true
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"show_diff"
: true
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"warn"
: false
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ Concat
[
/etc/nginx/sites-available/nginx-swh-objstorage-default.conf
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"backup"
:
"puppet"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure"
:
"present"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure_newline"
: false
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"group"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"mode"
:
"0644"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"notify"
:
"Class[Nginx::Service]"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"order"
:
"alpha"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"owner"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"path"
:
"/etc/nginx/sites-available/nginx-swh-objstorage-default.conf"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"replace"
: true
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"show_diff"
: true
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"warn"
: false
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ Concat
[
/etc/nginx/sites-available/nginx-swh-objstorage.conf
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"backup"
:
"puppet"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure"
:
"present"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure_newline"
: false
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"group"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"mode"
:
"0644"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"notify"
:
"Class[Nginx::Service]"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"order"
:
"alpha"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"owner"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"path"
:
"/etc/nginx/sites-available/nginx-swh-objstorage.conf"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"replace"
: true
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"show_diff"
: true
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"warn"
: false
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ Concat
[
/etc/nginx/sites-available/nginx-swh-vault-default.conf
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"backup"
:
"puppet"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure"
:
"present"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure_newline"
: false
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"group"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"mode"
:
"0644"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"notify"
:
"Class[Nginx::Service]"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"order"
:
"alpha"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"owner"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"path"
:
"/etc/nginx/sites-available/nginx-swh-vault-default.conf"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"replace"
: true
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"show_diff"
: true
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"warn"
: false
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ Concat
[
/etc/nginx/sites-available/nginx-swh-vault.conf
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"backup"
:
"puppet"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure"
:
"present"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure_newline"
: false
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"group"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"mode"
:
"0644"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"notify"
:
"Class[Nginx::Service]"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"order"
:
"alpha"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"owner"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"path"
:
"/etc/nginx/sites-available/nginx-swh-vault.conf"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"replace"
: true
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"show_diff"
: true
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"warn"
: false
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ Concat_file
[
/etc/nginx/conf.d/swh-objstorage-gunicorn-upstream.conf
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"backup"
:
"puppet"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure_newline"
: false
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"group"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"mode"
:
"0644"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"order"
:
"alpha"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"owner"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"replace"
: true
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"show_diff"
: true
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"tag"
:
"_etc_nginx_conf.d_swh-objstorage-gunicorn-upstream.conf"
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ Concat_file
[
/etc/nginx/conf.d/swh-vault-gunicorn-upstream.conf
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"backup"
:
"puppet"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure_newline"
: false
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"group"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"mode"
:
"0644"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"order"
:
"alpha"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"owner"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"replace"
: true
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"show_diff"
: true
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"tag"
:
"_etc_nginx_conf.d_swh-vault-gunicorn-upstream.conf"
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ Concat_file
[
/etc/nginx/sites-available/nginx-swh-objstorage-default.conf
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"backup"
:
"puppet"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure_newline"
: false
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"group"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"mode"
:
"0644"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"order"
:
"alpha"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"owner"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"replace"
: true
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"show_diff"
: true
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"tag"
:
"_etc_nginx_sites-available_nginx-swh-objstorage-default.conf"
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ Concat_file
[
/etc/nginx/sites-available/nginx-swh-objstorage.conf
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"backup"
:
"puppet"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure_newline"
: false
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"group"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"mode"
:
"0644"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"order"
:
"alpha"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"owner"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"replace"
: true
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"show_diff"
: true
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"tag"
:
"_etc_nginx_sites-available_nginx-swh-objstorage.conf"
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ Concat_file
[
/etc/nginx/sites-available/nginx-swh-vault-default.conf
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"backup"
:
"puppet"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure_newline"
: false
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"group"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"mode"
:
"0644"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"order"
:
"alpha"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"owner"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"replace"
: true
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"show_diff"
: true
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"tag"
:
"_etc_nginx_sites-available_nginx-swh-vault-default.conf"
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ Concat_file
[
/etc/nginx/sites-available/nginx-swh-vault.conf
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"backup"
:
"puppet"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure_newline"
: false
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"group"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"mode"
:
"0644"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"order"
:
"alpha"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"owner"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"replace"
: true
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"show_diff"
: true
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"tag"
:
"_etc_nginx_sites-available_nginx-swh-vault.conf"
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ Concat_fragment
[
nginx-swh-objstorage-500-6666cd76f96956469e7be39d750cc7d9
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"order"
:
500
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"tag"
:
"_etc_nginx_sites-available_nginx-swh-objstorage.conf"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"target"
:
"/etc/nginx/sites-available/nginx-swh-objstorage.conf"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"content"
: >>>
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m location /
{
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m proxy_pass http://swh-objstorage-gunicorn
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m proxy_read_timeout 3600s
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m proxy_connect_timeout 90s
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m proxy_send_timeout 90s
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m proxy_buffering off
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m proxy_set_header Host
$host
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m proxy_set_header X-Real-IP
$remote_addr
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m proxy_set_header X-Forwarded-For
$proxy_add_x_forwarded_for
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m proxy_set_header Proxy
""
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
}
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
<<<
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ Concat_fragment
[
nginx-swh-objstorage-default-500-6666cd76f96956469e7be39d750cc7d9
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"order"
:
500
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"tag"
:
"_etc_nginx_sites-available_nginx-swh-objstorage-default.conf"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"target"
:
"/etc/nginx/sites-available/nginx-swh-objstorage-default.conf"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"content"
: >>>
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m location /
{
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m index index.html index.htm index.php
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
}
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
<<<
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ Concat_fragment
[
nginx-swh-objstorage-default-footer
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"order"
:
"699"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"tag"
:
"_etc_nginx_sites-available_nginx-swh-objstorage-default.conf"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"target"
:
"/etc/nginx/sites-available/nginx-swh-objstorage-default.conf"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"content"
: >>>
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
}
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
<<<
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ Concat_fragment
[
nginx-swh-objstorage-default-header
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"order"
:
"001"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"tag"
:
"_etc_nginx_sites-available_nginx-swh-objstorage-default.conf"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"target"
:
"/etc/nginx/sites-available/nginx-swh-objstorage-default.conf"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"content"
: >>>
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m# MANAGED BY PUPPET
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mserver
{
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m listen
0
.0.0.0:5003 default_server
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m server_name nginx-swh-objstorage-default
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
return
444
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m index index.html index.htm index.php
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m access_log /var/log/nginx/nginx-swh-objstorage-default.access.log combined
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m error_log /var/log/nginx/nginx-swh-objstorage-default.error.log
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
<<<
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ Concat_fragment
[
nginx-swh-objstorage-footer
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"order"
:
"699"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"tag"
:
"_etc_nginx_sites-available_nginx-swh-objstorage.conf"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"target"
:
"/etc/nginx/sites-available/nginx-swh-objstorage.conf"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"content"
: >>>
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
}
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
<<<
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ Concat_fragment
[
nginx-swh-objstorage-header
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"order"
:
"001"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"tag"
:
"_etc_nginx_sites-available_nginx-swh-objstorage.conf"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"target"
:
"/etc/nginx/sites-available/nginx-swh-objstorage.conf"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"content"
: >>>
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m# MANAGED BY PUPPET
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mserver
{
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m listen
0
.0.0.0:5003 deferred
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m server_name vangogh.euwest.azure.internal.softwareheritage.org vangogh
127
.0.0.1 localhost ::1
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m client_max_body_size 4G
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m index index.html index.htm index.php
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m access_log /var/log/nginx/nginx-swh-objstorage.access.log combined
if
=
$error_status
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m error_log /var/log/nginx/nginx-swh-objstorage.error.log
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
<<<
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ Concat_fragment
[
nginx-swh-vault-500-6666cd76f96956469e7be39d750cc7d9
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"order"
:
500
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"tag"
:
"_etc_nginx_sites-available_nginx-swh-vault.conf"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"target"
:
"/etc/nginx/sites-available/nginx-swh-vault.conf"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"content"
: >>>
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m location /
{
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m proxy_pass http://swh-vault-gunicorn
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m proxy_read_timeout 3600s
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m proxy_connect_timeout 90s
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m proxy_send_timeout 90s
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m proxy_buffering off
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m proxy_set_header Host
$host
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m proxy_set_header X-Real-IP
$remote_addr
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m proxy_set_header X-Forwarded-For
$proxy_add_x_forwarded_for
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m proxy_set_header Proxy
""
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
}
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
<<<
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ Concat_fragment
[
nginx-swh-vault-default-500-6666cd76f96956469e7be39d750cc7d9
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"order"
:
500
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"tag"
:
"_etc_nginx_sites-available_nginx-swh-vault-default.conf"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"target"
:
"/etc/nginx/sites-available/nginx-swh-vault-default.conf"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"content"
: >>>
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m location /
{
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m index index.html index.htm index.php
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
}
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
<<<
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ Concat_fragment
[
nginx-swh-vault-default-footer
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"order"
:
"699"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"tag"
:
"_etc_nginx_sites-available_nginx-swh-vault-default.conf"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"target"
:
"/etc/nginx/sites-available/nginx-swh-vault-default.conf"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"content"
: >>>
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
}
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
<<<
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ Concat_fragment
[
nginx-swh-vault-default-header
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"order"
:
"001"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"tag"
:
"_etc_nginx_sites-available_nginx-swh-vault-default.conf"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"target"
:
"/etc/nginx/sites-available/nginx-swh-vault-default.conf"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"content"
: >>>
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m# MANAGED BY PUPPET
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mserver
{
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m listen
0
.0.0.0:5005 default_server
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m server_name nginx-swh-vault-default
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
return
444
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m index index.html index.htm index.php
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m access_log /var/log/nginx/nginx-swh-vault-default.access.log combined
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m error_log /var/log/nginx/nginx-swh-vault-default.error.log
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
<<<
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ Concat_fragment
[
nginx-swh-vault-footer
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"order"
:
"699"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"tag"
:
"_etc_nginx_sites-available_nginx-swh-vault.conf"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"target"
:
"/etc/nginx/sites-available/nginx-swh-vault.conf"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"content"
: >>>
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
}
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
<<<
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ Concat_fragment
[
nginx-swh-vault-header
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"order"
:
"001"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"tag"
:
"_etc_nginx_sites-available_nginx-swh-vault.conf"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"target"
:
"/etc/nginx/sites-available/nginx-swh-vault.conf"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"content"
: >>>
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m# MANAGED BY PUPPET
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mserver
{
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m listen
0
.0.0.0:5005 deferred
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m server_name vangogh.euwest.azure.internal.softwareheritage.org vangogh
127
.0.0.1 localhost ::1
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m client_max_body_size 4G
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m index index.html index.htm index.php
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m access_log /var/log/nginx/nginx-swh-vault.access.log combined
if
=
$error_status
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m error_log /var/log/nginx/nginx-swh-vault.error.log
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
<<<
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ Concat_fragment
[
swh-objstorage-gunicorn_upstream_footer
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"order"
:
"90"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"tag"
:
"_etc_nginx_conf.d_swh-objstorage-gunicorn-upstream.conf"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"target"
:
"/etc/nginx/conf.d/swh-objstorage-gunicorn-upstream.conf"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"content"
: >>>
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
}
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
<<<
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ Concat_fragment
[
swh-objstorage-gunicorn_upstream_header
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"order"
:
"10"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"tag"
:
"_etc_nginx_conf.d_swh-objstorage-gunicorn-upstream.conf"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"target"
:
"/etc/nginx/conf.d/swh-objstorage-gunicorn-upstream.conf"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"content"
: >>>
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m# MANAGED BY PUPPET
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mupstream swh-objstorage-gunicorn
{
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
<<<
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ Concat_fragment
[
swh-objstorage-gunicorn_upstream_members
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"order"
:
"50"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"tag"
:
"_etc_nginx_conf.d_swh-objstorage-gunicorn-upstream.conf"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"target"
:
"/etc/nginx/conf.d/swh-objstorage-gunicorn-upstream.conf"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"content"
: >>>
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m server unix:/run/gunicorn/swh-objstorage/gunicorn.sock
fail_timeout
=
0
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
<<<
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ Concat_fragment
[
swh-vault-gunicorn_upstream_footer
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"order"
:
"90"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"tag"
:
"_etc_nginx_conf.d_swh-vault-gunicorn-upstream.conf"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"target"
:
"/etc/nginx/conf.d/swh-vault-gunicorn-upstream.conf"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"content"
: >>>
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
}
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
<<<
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ Concat_fragment
[
swh-vault-gunicorn_upstream_header
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"order"
:
"10"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"tag"
:
"_etc_nginx_conf.d_swh-vault-gunicorn-upstream.conf"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"target"
:
"/etc/nginx/conf.d/swh-vault-gunicorn-upstream.conf"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"content"
: >>>
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m# MANAGED BY PUPPET
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mupstream swh-vault-gunicorn
{
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
<<<
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ Concat_fragment
[
swh-vault-gunicorn_upstream_members
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"order"
:
"50"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"tag"
:
"_etc_nginx_conf.d_swh-vault-gunicorn-upstream.conf"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"target"
:
"/etc/nginx/conf.d/swh-vault-gunicorn-upstream.conf"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"content"
: >>>
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m server unix:/run/gunicorn/swh-vault/gunicorn.sock
fail_timeout
=
0
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
<<<
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ Cron
[
dar.vangogh
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"command"
:
"/usr/bin/chronic bash -c 'set -eo pipefail; /usr/local/bin/swh-dar-backup /srv/backups/config/vangogh.config 2>&1 | tee -a /var/log/dar/vangogh.log'"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure"
:
"present"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"hour"
:
0
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"minute"
:
9
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"month"
:
"*"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"monthday"
:
"*"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"user"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"weekday"
:
"*"
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ Dar::Backup
[
vangogh
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"backup_base"
:
"/"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"backup_exclusion"
:
[
"dev"
,
"proc"
,
"run"
,
"srv/backups"
,
"srv/elasticsearch"
,
"srv/remote-backups"
,
"srv/softwareheritage/objects"
,
"srv/softwareheritage/postgres"
,
"srv/softwareheritage/scratch"
,
"srv/softwareheritage/scratch.2TB"
,
"srv/storage"
,
"sys"
,
"tmp"
,
"var/cache"
,
"var/lib/mysql"
,
"var/log/journal"
,
"var/run"
,
"var/tmp"
]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"backup_options"
:
[
"-zbzip2"
]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"backup_selection"
:
[]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"backup_storage"
:
"/srv/backups"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"config_dir"
:
"config"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"flag_dir"
:
"backups_done"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"hour"
:
0
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"keep_backups"
:
1
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"lock_dir"
:
"locks"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"minute"
:
9
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"month"
:
"*"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"monthday"
:
"*"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"weekday"
:
"*"
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ Exec
[
systemd-tmpfiles
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"command"
:
"systemd-tmpfiles --create"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"path"
:
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"refreshonly"
: true
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ File
[
/etc/gunicorn/instances/swh-objstorage.cfg
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure"
:
"present"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"group"
:
"swhstorage"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"mode"
:
"0644"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"notify"
:
"Service[gunicorn-swh-objstorage]"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"owner"
:
"swhstorage"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"content"
: >>>
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m# Gunicorn instance configuration.
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m# Managed by puppet
(
class gunicorn::instance swh-objstorage
)
;
changes will be lost
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mimport traceback
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mimport gunicorn.glogging
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mclass Logger
(
gunicorn.glogging.Logger
)
:
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
log_only_errors
=
True
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m def access
(
self, resp, req, environ, request_time
)
:
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
""" See http://httpd.apache.org/docs/2.0/logs.html#combined[0m[0m
[0;32;49m[0;32;49m for format details[0m[0m
[0;32;49m[0;32;49m """
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
if
not
(
self.cfg.accesslog or self.cfg.logconfig or self.cfg.syslog
)
:
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
return
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
# wrap atoms:[0m[0m
[
0
;
32
;
49m
[
0
;
32
;
49m
# - make sure atoms will be test case insensitively[0m[0m
[
0
;
32
;
49m
[
0
;
32
;
49m
# - if atom doesn't exist replace it by '-'[0m[0m
[
0
;
32
;
49m
[
0
;
32
;
49m
atoms
=
self.atoms
(
resp, req, environ, request_time
)
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
safe_atoms
=
self.atoms_wrapper_class
(
atoms
)
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m try:
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
if
self.log_only_errors and str
(
atoms
[
's'
])
==
'200'
:
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
return
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m self.access_log.info
(
self.cfg.access_log_format % safe_atoms,
extra
={
'swh_atoms'
: atoms
})
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m except:
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m self.exception
(
'Failed processing access log entry'
)
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mlogger_class
=
Logger
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mlogconfig
=
'/etc/gunicorn/logconfig.ini'
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m# custom settings
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mbind
=
"unix:/run/gunicorn/swh-objstorage/gunicorn.sock"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mworkers
=
4
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mworker_class
=
"aiohttp.worker.GunicornWebWorker"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mtimeout
=
3600
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mgraceful_timeout
=
3600
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mkeepalive
=
5
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mmax_requests
=
0
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mmax_requests_jitter
=
0
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mstatsd_host
=
"127.0.0.1:8125"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mstatsd_prefix
=
"swh-objstorage"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
<<<
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ File
[
/etc/gunicorn/instances/swh-vault.cfg
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure"
:
"present"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"group"
:
"swhvault"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"mode"
:
"0644"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"notify"
:
"Service[gunicorn-swh-vault]"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"owner"
:
"swhvault"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"content"
: >>>
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m# Gunicorn instance configuration.
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m# Managed by puppet
(
class gunicorn::instance swh-vault
)
;
changes will be lost
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mimport traceback
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mimport gunicorn.glogging
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mclass Logger
(
gunicorn.glogging.Logger
)
:
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
log_only_errors
=
True
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m def access
(
self, resp, req, environ, request_time
)
:
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
""" See http://httpd.apache.org/docs/2.0/logs.html#combined[0m[0m
[0;32;49m[0;32;49m for format details[0m[0m
[0;32;49m[0;32;49m """
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
if
not
(
self.cfg.accesslog or self.cfg.logconfig or self.cfg.syslog
)
:
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
return
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
# wrap atoms:[0m[0m
[
0
;
32
;
49m
[
0
;
32
;
49m
# - make sure atoms will be test case insensitively[0m[0m
[
0
;
32
;
49m
[
0
;
32
;
49m
# - if atom doesn't exist replace it by '-'[0m[0m
[
0
;
32
;
49m
[
0
;
32
;
49m
atoms
=
self.atoms
(
resp, req, environ, request_time
)
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
safe_atoms
=
self.atoms_wrapper_class
(
atoms
)
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m try:
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
if
self.log_only_errors and str
(
atoms
[
's'
])
==
'200'
:
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
return
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m self.access_log.info
(
self.cfg.access_log_format % safe_atoms,
extra
={
'swh_atoms'
: atoms
})
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m except:
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m self.exception
(
'Failed processing access log entry'
)
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mlogger_class
=
Logger
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mlogconfig
=
'/etc/gunicorn/logconfig.ini'
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m# custom settings
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mbind
=
"unix:/run/gunicorn/swh-vault/gunicorn.sock"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mworkers
=
4
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mworker_class
=
"aiohttp.worker.GunicornWebWorker"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mtimeout
=
3600
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mgraceful_timeout
=
3600
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mkeepalive
=
5
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mmax_requests
=
10000
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mmax_requests_jitter
=
1000
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mstatsd_host
=
"127.0.0.1:8125"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mstatsd_prefix
=
"swh-vault"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
<<<
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ File
[
/etc/gunicorn/instances
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure"
:
"directory"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"group"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"mode"
:
"0644"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"owner"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"purge"
: true
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"recurse"
: true
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ File
[
/etc/gunicorn/logconfig.ini
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure"
:
"file"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"group"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"mode"
:
"0644"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"owner"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"content"
: >>>
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
loggers
]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mkeys
=
root, gunicorn.error, gunicorn.access
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
handlers
]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mkeys
=
console, journal
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
formatters
]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mkeys
=
generic
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
logger_root
]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mlevel
=
INFO
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mhandlers
=
console,journal
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
logger_gunicorn.error
]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mlevel
=
INFO
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mpropagate
=
0
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mhandlers
=
journal
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mqualname
=
gunicorn.error
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
logger_gunicorn.access
]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mlevel
=
INFO
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mpropagate
=
0
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mhandlers
=
journal
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mqualname
=
gunicorn.access
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
handler_console
]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mclass
=
StreamHandler
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mformatter
=
generic
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49margs
=(
sys.stdout,
)
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
handler_journal
]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mclass
=
swh.core.logger.JournalHandler
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mformatter
=
generic
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49margs
=()
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
formatter_generic
]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mformat
=
%
(
asctime
)
s
[
%
(
process
)
d
]
[
%
(
levelname
)
s
]
%
(
message
)
s
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mdatefmt
=
%Y-%m-%d %H:%M:%S
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mclass
=
logging.Formatter
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
<<<
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ File
[
/etc/gunicorn
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure"
:
"directory"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"group"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"mode"
:
"0644"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"owner"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"purge"
: true
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"recurse"
: true
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ File
[
/etc/logrotate.d/swh-dar
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure"
:
"present"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"group"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"mode"
:
"0644"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"owner"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"content"
: >>>
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m/var/log/dar/*.log
{
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m weekly
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m missingok
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m rotate
5
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m compress
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m notifempty
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m create
640
root adm
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
}
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
<<<
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ File
[
/etc/nginx/conf.d/error_status-map.conf
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure"
:
"file"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"group"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"mode"
:
"0644"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"notify"
:
"Class[Nginx::Service]"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"owner"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"content"
: >>>
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m# MANAGED BY PUPPET
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mmap
$status
$error_status
{
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m default
1
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
404
0
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m ~^
[
23
]
0
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
}
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
<<<
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ File
[
/etc/nginx/conf.d
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure"
:
"directory"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"group"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"mode"
:
"0644"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"owner"
:
"root"
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ File
[
/etc/nginx/conf.mail.d
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure"
:
"directory"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"group"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"mode"
:
"0644"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"owner"
:
"root"
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ File
[
/etc/nginx/conf.stream.d
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure"
:
"directory"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"group"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"mode"
:
"0644"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"owner"
:
"root"
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ File
[
/etc/nginx/nginx.conf
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure"
:
"file"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"group"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"mode"
:
"0644"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"owner"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"content"
: >>>
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m# MANAGED BY PUPPET
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49muser www-data
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mworker_processes
2
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mworker_rlimit_nofile
1024
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mpid /var/run/nginx.pid
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49merror_log /var/log/nginx/error.log error
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mevents
{
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m accept_mutex off
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m accept_mutex_delay 500ms
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m worker_connections
1024
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
}
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mhttp
{
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m include /etc/nginx/mime.types
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m default_type application/octet-stream
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m access_log /var/log/nginx/access.log
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m sendfile on
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m server_tokens on
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m types_hash_max_size
1024
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m types_hash_bucket_size
512
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m server_names_hash_bucket_size
128
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m server_names_hash_max_size
1024
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m keepalive_timeout 65s
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m keepalive_requests
100
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m client_body_timeout 60s
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m send_timeout 60s
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m lingering_timeout 5s
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m tcp_nodelay on
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m gzip on
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m gzip_comp_level
1
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m gzip_disable msie6
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m gzip_min_length
20
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m gzip_http_version
1
.1
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m gzip_proxied off
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m gzip_vary off
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m client_body_temp_path /var/nginx/client_body_temp
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m client_max_body_size 10m
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m client_body_buffer_size 128k
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m proxy_temp_path /var/nginx/proxy_temp
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m proxy_connect_timeout 90s
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m proxy_send_timeout 90s
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m proxy_read_timeout 90s
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m proxy_buffers
32
4k
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m proxy_buffer_size 8k
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m proxy_set_header Host
$host
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m proxy_set_header X-Real-IP
$remote_addr
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m proxy_set_header X-Forwarded-For
$proxy_add_x_forwarded_for
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m proxy_set_header Proxy
""
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m proxy_headers_hash_bucket_size
64
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m include /etc/nginx/conf.d/*.conf
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m include /etc/nginx/sites-enabled/*
;
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
}
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
<<<
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ File
[
/etc/nginx/sites-available
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure"
:
"directory"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"group"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"mode"
:
"0644"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"owner"
:
"root"
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ File
[
/etc/nginx/sites-enabled/nginx-swh-objstorage-default.conf
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure"
:
"link"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"group"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"mode"
:
"0644"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"notify"
:
"Class[Nginx::Service]"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"owner"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"target"
:
"/etc/nginx/sites-available/nginx-swh-objstorage-default.conf"
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ File
[
/etc/nginx/sites-enabled/nginx-swh-objstorage.conf
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure"
:
"link"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"group"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"mode"
:
"0644"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"notify"
:
"Class[Nginx::Service]"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"owner"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"target"
:
"/etc/nginx/sites-available/nginx-swh-objstorage.conf"
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ File
[
/etc/nginx/sites-enabled/nginx-swh-vault-default.conf
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure"
:
"link"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"group"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"mode"
:
"0644"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"notify"
:
"Class[Nginx::Service]"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"owner"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"target"
:
"/etc/nginx/sites-available/nginx-swh-vault-default.conf"
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ File
[
/etc/nginx/sites-enabled/nginx-swh-vault.conf
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure"
:
"link"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"group"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"mode"
:
"0644"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"notify"
:
"Class[Nginx::Service]"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"owner"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"target"
:
"/etc/nginx/sites-available/nginx-swh-vault.conf"
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ File
[
/etc/nginx/sites-enabled
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure"
:
"directory"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"group"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"mode"
:
"0644"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"owner"
:
"root"
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ File
[
/etc/nginx/streams-available
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure"
:
"directory"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"group"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"mode"
:
"0644"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"owner"
:
"root"
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ File
[
/etc/nginx/streams-enabled
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure"
:
"directory"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"group"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"mode"
:
"0644"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"owner"
:
"root"
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ File
[
/etc/nginx
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure"
:
"directory"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"group"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"mode"
:
"0644"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"owner"
:
"root"
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ File
[
/etc/softwareheritage/objstorage/server.yml
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure"
:
"present"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"group"
:
"swhstorage"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"mode"
:
"0640"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"notify"
:
"Service[gunicorn-swh-objstorage]"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"owner"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"content"
: >>>
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m---
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mobjstorage:
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m cls: azure
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m args:
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m account_name:
''
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m api_secret_key:
''
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m container_name: contents
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mclient_max_size:
1073741824
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
<<<
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ File
[
/etc/softwareheritage/objstorage
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure"
:
"directory"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"group"
:
"swhstorage"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"mode"
:
"0750"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"owner"
:
"root"
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ File
[
/etc/softwareheritage/vault/server.yml
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure"
:
"present"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"group"
:
"swhvault"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"mode"
:
"0640"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"notify"
:
"Service[gunicorn-swh-vault]"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"owner"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"content"
: >>>
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m---
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mstorage:
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m cls: remote
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m args:
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m url: http://storage0.euwest.azure.internal.softwareheritage.org:5002/
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mscheduler:
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m cls: remote
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m args:
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m url: http://saatchi.internal.softwareheritage.org:5008/
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mcache:
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m cls: azure
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m args:
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m account_name:
''
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m api_secret_key:
''
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m container_name: contents
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mvault:
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m cls: local
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m args:
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m db:
host
=
prado
port
=
5434
user
=
swh-vault
dbname
=
swh-vault
password
=
swh::deploy::vault::db::password
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
<<<
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ File
[
/etc/softwareheritage/vault
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure"
:
"directory"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"mode"
:
"0755"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"owner"
:
"root"
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ File
[
/etc/systemd/system/gunicorn-swh-objstorage.service
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure"
:
"file"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"group"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"mode"
:
"0444"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"notify"
:
"Class[Systemd::Systemctl::Daemon_reload]"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"owner"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"content"
: >>>
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m# File managed by puppet
(
class gunicorn::instance swh-objstorage
)
, changes will be lost
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
Unit
]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mDescription
=
Gunicorn instance swh-objstorage
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mConditionPathExists
=
/etc/gunicorn/instances/swh-objstorage.cfg
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mPartOf
=
gunicorn.service
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mReloadPropagatedFrom
=
gunicorn.service
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mBefore
=
gunicorn.service
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
Service
]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mUser
=
swhstorage
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mGroup
=
swhstorage
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mPIDFile
=
/run/gunicorn/swh-objstorage/pidfile
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mRuntimeDirectory
=
/run/gunicorn/swh-objstorage
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mWorkingDirectory
=
/run/gunicorn/swh-objstorage
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mEnvironment
=
SWH_CONFIG_FILENAME
=
/etc/softwareheritage/objstorage/server.yml
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mEnvironment
=
SWH_LOG_TARGET
=
journal
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mExecStart
=
/usr/bin/gunicorn3 -p /run/gunicorn/swh-objstorage/pidfile -c /etc/gunicorn/instances/swh-objstorage.cfg swh.objstorage.api.wsgi
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mExecStop
=
/bin/kill -TERM
$MAINPID
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mExecReload
=
/bin/kill -HUP
$MAINPID
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
Install
]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mWantedBy
=
multi-user.target
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
<<<
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ File
[
/etc/systemd/system/gunicorn-swh-vault.service
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure"
:
"file"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"group"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"mode"
:
"0444"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"notify"
:
"Class[Systemd::Systemctl::Daemon_reload]"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"owner"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"content"
: >>>
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m# File managed by puppet
(
class gunicorn::instance swh-vault
)
, changes will be lost
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
Unit
]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mDescription
=
Gunicorn instance swh-vault
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mConditionPathExists
=
/etc/gunicorn/instances/swh-vault.cfg
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mPartOf
=
gunicorn.service
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mReloadPropagatedFrom
=
gunicorn.service
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mBefore
=
gunicorn.service
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
Service
]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mUser
=
swhvault
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mGroup
=
swhvault
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mPIDFile
=
/run/gunicorn/swh-vault/pidfile
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mRuntimeDirectory
=
/run/gunicorn/swh-vault
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mWorkingDirectory
=
/run/gunicorn/swh-vault
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mEnvironment
=
SWH_CONFIG_FILENAME
=
/etc/softwareheritage/vault/server.yml
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mEnvironment
=
SWH_LOG_TARGET
=
journal
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mExecStart
=
/usr/bin/gunicorn3 -p /run/gunicorn/swh-vault/pidfile -c /etc/gunicorn/instances/swh-vault.cfg swh.vault.api.wsgi:app
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mExecStop
=
/bin/kill -TERM
$MAINPID
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mExecReload
=
/bin/kill -HUP
$MAINPID
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
Install
]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mWantedBy
=
multi-user.target
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
<<<
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ File
[
/etc/systemd/system/gunicorn.service
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure"
:
"file"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"group"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"mode"
:
"0444"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"notify"
:
"Class[Systemd::Systemctl::Daemon_reload]"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"owner"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"content"
: >>>
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m# File managed by puppet
(
module swh-gunicorn
)
, changes will be lost
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
Unit
]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mDescription
=
All gunicorn services
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
Service
]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mType
=
oneshot
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mExecStart
=
/bin/true
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mExecReload
=
/bin/true
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mRemainAfterExit
=
on
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
Install
]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mWantedBy
=
multi-user.target
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
<<<
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ File
[
/etc/tmpfiles.d/gunicorn-swh-objstorage.conf
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure"
:
"file"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"group"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"mode"
:
"0444"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"notify"
:
"Class[Systemd::Tmpfiles]"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"owner"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"content"
: >>>
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m# Managed by puppet
(
class gunicorn::instance swh-objstorage
)
. Modifications will be lost.
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49md /run/gunicorn/swh-objstorage
0755
swhstorage swhstorage - -
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
<<<
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ File
[
/etc/tmpfiles.d/gunicorn-swh-vault.conf
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure"
:
"file"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"group"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"mode"
:
"0444"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"notify"
:
"Class[Systemd::Tmpfiles]"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"owner"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"content"
: >>>
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m# Managed by puppet
(
class gunicorn::instance swh-vault
)
. Modifications will be lost.
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49md /run/gunicorn/swh-vault
0755
swhvault swhvault - -
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
<<<
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ File
[
/etc/tmpfiles.d/gunicorn.conf
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure"
:
"file"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"group"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"mode"
:
"0444"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"notify"
:
"Class[Systemd::Tmpfiles]"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"owner"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"content"
: >>>
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m# Managed by puppet
(
class gunicorn
)
. Modifications will be lost.
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49md /run/gunicorn
0755
root root - -
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
<<<
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ File
[
/srv/backups/backups_done
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure"
:
"directory"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"group"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"mode"
:
"0600"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"owner"
:
"root"
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ File
[
/srv/backups/config/vangogh.config
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure"
:
"present"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"group"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"mode"
:
"0600"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"owner"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"content"
: >>>
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m# Configuration
for
backup vangogh
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m# Managed by puppet. Your modifications will be overwritten
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m# Name of the backup file
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mBACKUP_TITLE
=
vangogh
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m# Path where backups are stored
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mBACKUP_STORAGE
=
/srv/backups
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m# Base path of the backup
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mBACKUP_BASE
=
/
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m# Includes
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mBACKUP_INCLUDE
=
/srv/backups/config/vangogh.includes
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m# Excludes
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mBACKUP_EXCLUDE
=
/srv/backups/config/vangogh.excludes
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m# Lock file
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mBACKUP_LOCK
=
/srv/backups/locks/vangogh
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m# Done file
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mBACKUP_DONE
=
/srv/backups/backups_done/vangogh
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m# Additional options to dar
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mBACKUP_OPTIONS
=(
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m-zbzip2
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
)
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m# Number of backups to keep
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mBACKUP_KEEP
=
"1"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
<<<
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ File
[
/srv/backups/config/vangogh.excludes
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure"
:
"present"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"group"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"mode"
:
"0600"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"owner"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"content"
: >>>
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m# Excludes
for
backup vangogh
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m# Managed by puppet. Your modifications will be overwritten
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mBACKUP_EXCLUDE_OPTIONS
=(
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m-P dev
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m-P proc
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m-P run
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m-P srv/backups
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m-P srv/elasticsearch
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m-P srv/remote-backups
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m-P srv/softwareheritage/objects
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m-P srv/softwareheritage/postgres
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m-P srv/softwareheritage/scratch
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m-P srv/softwareheritage/scratch.2TB
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m-P srv/storage
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m-P sys
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m-P tmp
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m-P var/cache
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m-P var/lib/mysql
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m-P var/log/journal
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m-P var/run
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m-P var/tmp
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
)
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
<<<
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ File
[
/srv/backups/config/vangogh.includes
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure"
:
"present"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"group"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"mode"
:
"0600"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"owner"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"content"
: >>>
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m# Includes
for
backup vangogh
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m# Managed by puppet. Your modifications will be overwritten
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mBACKUP_INCLUDE_OPTIONS
=(
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
)
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
<<<
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ File
[
/srv/backups/config
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure"
:
"directory"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"group"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"mode"
:
"0600"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"owner"
:
"root"
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ File
[
/srv/backups/locks
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure"
:
"directory"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"group"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"mode"
:
"0600"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"owner"
:
"root"
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ File
[
/srv/backups
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure"
:
"directory"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"group"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"mode"
:
"0600"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"owner"
:
"root"
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ File
[
/tmp/nginx.d
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure"
:
"absent"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"force"
: true
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"group"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"mode"
:
"0644"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"owner"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"purge"
: true
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"recurse"
: true
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ File
[
/tmp/nginx.mail.d
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure"
:
"absent"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"force"
: true
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"group"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"mode"
:
"0644"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"owner"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"purge"
: true
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"recurse"
: true
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ File
[
/usr/local/bin/swh-dar-backup
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure"
:
"present"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"group"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"mode"
:
"0755"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"owner"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"content"
: >>>
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m#!/bin/bash
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m#
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m# swh-dar-backup: run a
local
backup with dar
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m#
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m# Copyright
(
c
)
2015
Nicolas Dandrimont <nicolas@dandrimont.eu>
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m#
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m# This file is part of the swh-dar puppet module
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m#
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mset -e
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mif
[
$#
-ne
1
]
;
then
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
echo
"Usage:
$0
<config file>"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
exit
2
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mfi
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mBACKUP_CONFIG
=
"
$1
"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m.
"
$BACKUP_CONFIG
"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m.
"
$BACKUP_INCLUDE
"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m.
"
$BACKUP_EXCLUDE
"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mif
[
-f
"
$BACKUP_LOCK
"
]
&&
kill
-0
"
$(
cat
"
$BACKUP_LOCK
"
)
"
2
>/dev/null
;
then
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
echo
"Lockfile \`
$BACKUP_LOCK
' present and process still exists, exiting"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
exit
2
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mfi
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mtrap
"rm -f '
$BACKUP_LOCK
'"
EXIT
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mecho
$$
>
"
$BACKUP_LOCK
"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m# Don
't let people believe that they can fetch the current backup[0m[0m
[0;32;49m[0;32;49mrm -f "$BACKUP_DONE"[0m[0m
[0;32;49m[0;32;49m[0m[0m
[0;32;49m[0;32;49mBACKUP_BASENAME="$BACKUP_STORAGE/$BACKUP_TITLE."[0m[0m
[0;32;49m[0;32;49mBACKUP_PATH="$BACKUP_BASENAME$(TZ=UTC date +"%Y-%m-%dT%H:%M:%SZ")"[0m[0m
[0;32;49m[0;32;49m[0m[0m
[0;32;49m[0;32;49mDAR_OPTIONS=([0m[0m
[0;32;49m[0;32;49m -c[0m[0m
[0;32;49m[0;32;49m "$BACKUP_PATH"[0m[0m
[0;32;49m[0;32;49m -R[0m[0m
[0;32;49m[0;32;49m "$BACKUP_BASE"[0m[0m
[0;32;49m[0;32;49m "${BACKUP_INCLUDE_OPTIONS[@]}"[0m[0m
[0;32;49m[0;32;49m # Include empty directories[0m[0m
[0;32;49m[0;32;49m -D[0m[0m
[0;32;49m[0;32;49m "${BACKUP_EXCLUDE_OPTIONS[@]}"[0m[0m
[0;32;49m[0;32;49m "${BACKUP_OPTIONS[@]}"[0m[0m
[0;32;49m[0;32;49m)[0m[0m
[0;32;49m[0;32;49m[0m[0m
[0;32;49m[0;32;49m# Do the backup[0m[0m
[0;32;49m[0;32;49mecho "[$(date -R)] Starting up backup ($BACKUP_CONFIG)"[0m[0m
[0;32;49m[0;32;49mrc=0[0m[0m
[0;32;49m[0;32;49m/usr/bin/dar "${DAR_OPTIONS[@]}" || rc="$?"[0m[0m
[0;32;49m[0;32;49m# Exit code 11 means a file changed during backup. Don'
t abort in that
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m#
case
.
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mif
[
"
$rc
"
-ne
0
-a
"
$rc
"
-ne
11
]
;
then
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
echo
"[
$(
date -R
)
] dar failed (exit code=
$rc
). Abort."
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
exit
1
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mfi
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m# Touch the flag file
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mtouch
"
$BACKUP_DONE
"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mecho
"[
$(
date -R
)
] dar successful. Removing old backups."
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m# Prune old backups
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mcount
=
0
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mls -1t
"
$BACKUP_BASENAME
"
*
|
while
read
f
;
do
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
((
count
=
count+1
))
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
if
((
"
$count
"
>
$BACKUP_KEEP
))
;
then
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m rm
"
$f
"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
fi
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mdone
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mecho
"[
$(
date -R
)
] All done."
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
<<<
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ File
[
/var/log/dar
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure"
:
"directory"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"group"
:
"adm"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"mode"
:
"0640"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"owner"
:
"root"
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ File
[
/var/log/nginx
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure"
:
"directory"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"group"
:
"adm"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"mode"
:
"0750"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"owner"
:
"www-data"
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ File
[
/var/nginx/client_body_temp
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure"
:
"directory"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"group"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"mode"
:
"0644"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"owner"
:
"www-data"
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ File
[
/var/nginx/proxy_temp
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure"
:
"directory"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"group"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"mode"
:
"0644"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"owner"
:
"www-data"
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ File
[
/var/nginx
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure"
:
"directory"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"group"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"mode"
:
"0644"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"owner"
:
"root"
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ Gunicorn::Instance
[
swh-objstorage
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"config_mode"
:
"0644"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure"
:
"enabled"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"environment"
:
{
"SWH_CONFIG_FILENAME"
=
>
"/etc/softwareheritage/objstorage/server.yml"
,
"SWH_LOG_TARGET"
=
>
"journal"
}
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"executable"
:
"swh.objstorage.api.wsgi"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"group"
:
"swhstorage"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"log_only_errors"
: true
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"settings"
:
{
"bind"
=
>
"unix:/run/gunicorn/swh-objstorage/gunicorn.sock"
,
"workers"
=
>4,
"worker_class"
=
>
"aiohttp.worker.GunicornWebWorker"
,
"timeout"
=
>3600,
"graceful_timeout"
=
>3600,
"keepalive"
=
>5,
"max_requests"
=
>0,
"max_requests_jitter"
=
>0,
"statsd_host"
=
>
"127.0.0.1:8125"
,
"statsd_prefix"
=
>
"swh-objstorage"
}
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"user"
:
"swhstorage"
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ Gunicorn::Instance
[
swh-vault
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"config_mode"
:
"0644"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure"
:
"enabled"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"environment"
:
{
"SWH_CONFIG_FILENAME"
=
>
"/etc/softwareheritage/vault/server.yml"
,
"SWH_LOG_TARGET"
=
>
"journal"
}
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"executable"
:
"swh.vault.api.wsgi:app"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"group"
:
"swhvault"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"log_only_errors"
: true
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"settings"
:
{
"bind"
=
>
"unix:/run/gunicorn/swh-vault/gunicorn.sock"
,
"workers"
=
>4,
"worker_class"
=
>
"aiohttp.worker.GunicornWebWorker"
,
"timeout"
=
>3600,
"graceful_timeout"
=
>3600,
"keepalive"
=
>5,
"max_requests"
=
>10000,
"max_requests_jitter"
=
>1000,
"statsd_host"
=
>
"127.0.0.1:8125"
,
"statsd_prefix"
=
>
"swh-vault"
}
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"user"
:
"swhvault"
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ Nginx::Resource::Location
[
nginx-swh-objstorage-default-default
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"add_header"
:
{}
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure"
:
"present"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"fastcgi_params"
:
"/etc/nginx/fastcgi.conf"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"flv"
: false
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"index_files"
:
[
"index.html"
,
"index.htm"
,
"index.php"
]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"internal"
: false
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"location"
:
"/"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"location_allow"
:
[]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"location_deny"
:
[]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"mp4"
: false
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"notify"
:
"Class[Nginx::Service]"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"priority"
:
500
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"proxy_connect_timeout"
:
"90s"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"proxy_hide_header"
:
[]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"proxy_ignore_header"
:
[]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"proxy_pass_header"
:
[]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"proxy_read_timeout"
:
"90s"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"proxy_send_timeout"
:
"90s"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"proxy_set_header"
:
[
"Host
$host
"
,
"X-Real-IP
$remote_addr
"
,
"X-Forwarded-For
$proxy_add_x_forwarded_for
"
,
"Proxy \"\""
]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"rewrite_rules"
:
[]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"server"
:
"nginx-swh-objstorage-default"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ssl"
: false
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ssl_only"
: false
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"uwsgi_params"
:
"/etc/nginx/uwsgi_params"
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ Nginx::Resource::Location
[
nginx-swh-objstorage-default
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"add_header"
:
{}
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure"
:
"present"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"fastcgi_params"
:
"/etc/nginx/fastcgi.conf"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"flv"
: false
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"index_files"
:
[
"index.html"
,
"index.htm"
,
"index.php"
]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"internal"
: false
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"location"
:
"/"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"location_allow"
:
[]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"location_deny"
:
[]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"mp4"
: false
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"notify"
:
"Class[Nginx::Service]"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"priority"
:
500
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"proxy"
:
"http://swh-objstorage-gunicorn"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"proxy_buffering"
:
"off"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"proxy_connect_timeout"
:
"90s"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"proxy_hide_header"
:
[]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"proxy_ignore_header"
:
[]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"proxy_pass_header"
:
[]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"proxy_read_timeout"
:
"3600s"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"proxy_send_timeout"
:
"90s"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"proxy_set_header"
:
[
"Host
$host
"
,
"X-Real-IP
$remote_addr
"
,
"X-Forwarded-For
$proxy_add_x_forwarded_for
"
,
"Proxy \"\""
]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"rewrite_rules"
:
[]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"server"
:
"nginx-swh-objstorage"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ssl"
: false
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ssl_only"
: false
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"uwsgi_params"
:
"/etc/nginx/uwsgi_params"
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ Nginx::Resource::Location
[
nginx-swh-vault-default-default
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"add_header"
:
{}
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure"
:
"present"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"fastcgi_params"
:
"/etc/nginx/fastcgi.conf"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"flv"
: false
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"index_files"
:
[
"index.html"
,
"index.htm"
,
"index.php"
]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"internal"
: false
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"location"
:
"/"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"location_allow"
:
[]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"location_deny"
:
[]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"mp4"
: false
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"notify"
:
"Class[Nginx::Service]"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"priority"
:
500
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"proxy_connect_timeout"
:
"90s"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"proxy_hide_header"
:
[]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"proxy_ignore_header"
:
[]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"proxy_pass_header"
:
[]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"proxy_read_timeout"
:
"90s"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"proxy_send_timeout"
:
"90s"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"proxy_set_header"
:
[
"Host
$host
"
,
"X-Real-IP
$remote_addr
"
,
"X-Forwarded-For
$proxy_add_x_forwarded_for
"
,
"Proxy \"\""
]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"rewrite_rules"
:
[]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"server"
:
"nginx-swh-vault-default"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ssl"
: false
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ssl_only"
: false
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"uwsgi_params"
:
"/etc/nginx/uwsgi_params"
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ Nginx::Resource::Location
[
nginx-swh-vault-default
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"add_header"
:
{}
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure"
:
"present"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"fastcgi_params"
:
"/etc/nginx/fastcgi.conf"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"flv"
: false
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"index_files"
:
[
"index.html"
,
"index.htm"
,
"index.php"
]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"internal"
: false
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"location"
:
"/"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"location_allow"
:
[]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"location_deny"
:
[]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"mp4"
: false
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"notify"
:
"Class[Nginx::Service]"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"priority"
:
500
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"proxy"
:
"http://swh-vault-gunicorn"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"proxy_buffering"
:
"off"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"proxy_connect_timeout"
:
"90s"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"proxy_hide_header"
:
[]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"proxy_ignore_header"
:
[]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"proxy_pass_header"
:
[]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"proxy_read_timeout"
:
"3600s"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"proxy_send_timeout"
:
"90s"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"proxy_set_header"
:
[
"Host
$host
"
,
"X-Real-IP
$remote_addr
"
,
"X-Forwarded-For
$proxy_add_x_forwarded_for
"
,
"Proxy \"\""
]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"rewrite_rules"
:
[]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"server"
:
"nginx-swh-vault"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ssl"
: false
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ssl_only"
: false
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"uwsgi_params"
:
"/etc/nginx/uwsgi_params"
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ Nginx::Resource::Map
[
error_status
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"default"
:
"1"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure"
:
"present"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"hostnames"
: false
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"include_files"
:
[]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"mappings"
:
{
"~^[23]"
=
>
"0"
,
"404"
=
>
"0"
}
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"string"
:
"
$status
"
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ Nginx::Resource::Server
[
nginx-swh-objstorage-default
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure"
:
"present"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"fastcgi_params"
:
"/etc/nginx/fastcgi.conf"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"format_log"
:
"combined"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"geo_mappings"
:
{}
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"group"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"http2"
:
"off"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"index_files"
:
[
"index.html"
,
"index.htm"
,
"index.php"
]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ipv6_enable"
: false
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ipv6_listen_ip"
:
"::"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ipv6_listen_options"
:
"default ipv6only=on"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ipv6_listen_port"
:
80
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"listen_ip"
:
"0.0.0.0"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"listen_options"
:
"default_server"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"listen_port"
:
5003
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"listen_unix_socket"
:
"/var/run/nginx.sock"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"listen_unix_socket_enable"
: false
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"location_allow"
:
[]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"location_deny"
:
[]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"locations"
:
{}
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"locations_defaults"
:
{}
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"maintenance"
: true
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"maintenance_value"
:
"return 444"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"mode"
:
"0644"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"owner"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"proxy_connect_timeout"
:
"90s"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"proxy_hide_header"
:
[]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"proxy_pass_header"
:
[]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"proxy_read_timeout"
:
"90s"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"proxy_send_timeout"
:
"90s"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"proxy_set_header"
:
[
"Host
$host
"
,
"X-Real-IP
$remote_addr
"
,
"X-Forwarded-For
$proxy_add_x_forwarded_for
"
,
"Proxy \"\""
]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"resolver"
:
[]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"rewrite_rules"
:
[]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"rewrite_www_to_non_www"
: false
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"server_name"
:
[
"nginx-swh-objstorage-default"
]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"spdy"
:
"off"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ssl"
: false
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ssl_cache"
:
"shared:SSL:10m"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ssl_ciphers"
:
"ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA:ECDHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-RSA-AES256-SHA256:DHE-RSA-AES256-SHA:ECDHE-ECDSA-DES-CBC3-SHA:ECDHE-RSA-DES-CBC3-SHA:EDH-RSA-DES-CBC3-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:DES-CBC3-SHA:!DSS"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ssl_listen_option"
: true
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ssl_port"
:
443
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ssl_prefer_server_ciphers"
:
"on"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ssl_protocols"
:
"TLSv1 TLSv1.1 TLSv1.2"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ssl_redirect"
: false
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ssl_session_timeout"
:
"5m"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ssl_stapling"
: false
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ssl_stapling_verify"
: false
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ssl_verify_client"
:
"on"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"string_mappings"
:
{}
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"use_default_location"
: true
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"uwsgi_params"
:
"/etc/nginx/uwsgi_params"
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ Nginx::Resource::Server
[
nginx-swh-objstorage
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"client_max_body_size"
:
"4G"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure"
:
"present"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"fastcgi_params"
:
"/etc/nginx/fastcgi.conf"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"format_log"
:
"combined if=
$error_status
"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"geo_mappings"
:
{}
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"group"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"http2"
:
"off"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"index_files"
:
[
"index.html"
,
"index.htm"
,
"index.php"
]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ipv6_enable"
: false
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ipv6_listen_ip"
:
"::"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ipv6_listen_options"
:
"default ipv6only=on"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ipv6_listen_port"
:
80
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"listen_ip"
:
"0.0.0.0"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"listen_options"
:
"deferred"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"listen_port"
:
5003
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"listen_unix_socket"
:
"/var/run/nginx.sock"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"listen_unix_socket_enable"
: false
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"location_allow"
:
[]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"location_deny"
:
[]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"locations"
:
{}
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"locations_defaults"
:
{}
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"maintenance"
: false
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"maintenance_value"
:
"return 503"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"mode"
:
"0644"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"owner"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"proxy"
:
"http://swh-objstorage-gunicorn"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"proxy_buffering"
:
"off"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"proxy_connect_timeout"
:
"90s"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"proxy_hide_header"
:
[]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"proxy_pass_header"
:
[]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"proxy_read_timeout"
:
"3600s"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"proxy_send_timeout"
:
"90s"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"proxy_set_header"
:
[
"Host
$host
"
,
"X-Real-IP
$remote_addr
"
,
"X-Forwarded-For
$proxy_add_x_forwarded_for
"
,
"Proxy \"\""
]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"resolver"
:
[]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"rewrite_rules"
:
[]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"rewrite_www_to_non_www"
: false
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"server_name"
:
[
"vangogh.euwest.azure.internal.softwareheritage.org"
,
"vangogh"
,
"127.0.0.1"
,
"localhost"
,
"::1"
]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"spdy"
:
"off"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ssl"
: false
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ssl_cache"
:
"shared:SSL:10m"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ssl_ciphers"
:
"ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA:ECDHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-RSA-AES256-SHA256:DHE-RSA-AES256-SHA:ECDHE-ECDSA-DES-CBC3-SHA:ECDHE-RSA-DES-CBC3-SHA:EDH-RSA-DES-CBC3-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:DES-CBC3-SHA:!DSS"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ssl_listen_option"
: true
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ssl_port"
:
443
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ssl_prefer_server_ciphers"
:
"on"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ssl_protocols"
:
"TLSv1 TLSv1.1 TLSv1.2"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ssl_redirect"
: false
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ssl_session_timeout"
:
"5m"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ssl_stapling"
: false
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ssl_stapling_verify"
: false
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ssl_verify_client"
:
"on"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"string_mappings"
:
{}
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"use_default_location"
: true
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"uwsgi_params"
:
"/etc/nginx/uwsgi_params"
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ Nginx::Resource::Server
[
nginx-swh-vault-default
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure"
:
"present"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"fastcgi_params"
:
"/etc/nginx/fastcgi.conf"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"format_log"
:
"combined"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"geo_mappings"
:
{}
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"group"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"http2"
:
"off"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"index_files"
:
[
"index.html"
,
"index.htm"
,
"index.php"
]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ipv6_enable"
: false
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ipv6_listen_ip"
:
"::"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ipv6_listen_options"
:
"default ipv6only=on"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ipv6_listen_port"
:
80
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"listen_ip"
:
"0.0.0.0"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"listen_options"
:
"default_server"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"listen_port"
:
5005
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"listen_unix_socket"
:
"/var/run/nginx.sock"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"listen_unix_socket_enable"
: false
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"location_allow"
:
[]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"location_deny"
:
[]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"locations"
:
{}
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"locations_defaults"
:
{}
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"maintenance"
: true
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"maintenance_value"
:
"return 444"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"mode"
:
"0644"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"owner"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"proxy_connect_timeout"
:
"90s"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"proxy_hide_header"
:
[]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"proxy_pass_header"
:
[]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"proxy_read_timeout"
:
"90s"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"proxy_send_timeout"
:
"90s"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"proxy_set_header"
:
[
"Host
$host
"
,
"X-Real-IP
$remote_addr
"
,
"X-Forwarded-For
$proxy_add_x_forwarded_for
"
,
"Proxy \"\""
]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"resolver"
:
[]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"rewrite_rules"
:
[]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"rewrite_www_to_non_www"
: false
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"server_name"
:
[
"nginx-swh-vault-default"
]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"spdy"
:
"off"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ssl"
: false
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ssl_cache"
:
"shared:SSL:10m"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ssl_ciphers"
:
"ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA:ECDHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-RSA-AES256-SHA256:DHE-RSA-AES256-SHA:ECDHE-ECDSA-DES-CBC3-SHA:ECDHE-RSA-DES-CBC3-SHA:EDH-RSA-DES-CBC3-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:DES-CBC3-SHA:!DSS"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ssl_listen_option"
: true
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ssl_port"
:
443
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ssl_prefer_server_ciphers"
:
"on"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ssl_protocols"
:
"TLSv1 TLSv1.1 TLSv1.2"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ssl_redirect"
: false
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ssl_session_timeout"
:
"5m"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ssl_stapling"
: false
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ssl_stapling_verify"
: false
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ssl_verify_client"
:
"on"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"string_mappings"
:
{}
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"use_default_location"
: true
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"uwsgi_params"
:
"/etc/nginx/uwsgi_params"
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ Nginx::Resource::Server
[
nginx-swh-vault
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"client_max_body_size"
:
"4G"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure"
:
"present"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"fastcgi_params"
:
"/etc/nginx/fastcgi.conf"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"format_log"
:
"combined if=
$error_status
"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"geo_mappings"
:
{}
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"group"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"http2"
:
"off"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"index_files"
:
[
"index.html"
,
"index.htm"
,
"index.php"
]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ipv6_enable"
: false
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ipv6_listen_ip"
:
"::"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ipv6_listen_options"
:
"default ipv6only=on"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ipv6_listen_port"
:
80
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"listen_ip"
:
"0.0.0.0"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"listen_options"
:
"deferred"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"listen_port"
:
5005
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"listen_unix_socket"
:
"/var/run/nginx.sock"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"listen_unix_socket_enable"
: false
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"location_allow"
:
[]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"location_deny"
:
[]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"locations"
:
{}
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"locations_defaults"
:
{}
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"maintenance"
: false
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"maintenance_value"
:
"return 503"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"mode"
:
"0644"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"owner"
:
"root"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"proxy"
:
"http://swh-vault-gunicorn"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"proxy_buffering"
:
"off"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"proxy_connect_timeout"
:
"90s"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"proxy_hide_header"
:
[]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"proxy_pass_header"
:
[]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"proxy_read_timeout"
:
"3600s"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"proxy_send_timeout"
:
"90s"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"proxy_set_header"
:
[
"Host
$host
"
,
"X-Real-IP
$remote_addr
"
,
"X-Forwarded-For
$proxy_add_x_forwarded_for
"
,
"Proxy \"\""
]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"resolver"
:
[]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"rewrite_rules"
:
[]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"rewrite_www_to_non_www"
: false
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"server_name"
:
[
"vangogh.euwest.azure.internal.softwareheritage.org"
,
"vangogh"
,
"127.0.0.1"
,
"localhost"
,
"::1"
]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"spdy"
:
"off"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ssl"
: false
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ssl_cache"
:
"shared:SSL:10m"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ssl_ciphers"
:
"ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA:ECDHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-RSA-AES256-SHA256:DHE-RSA-AES256-SHA:ECDHE-ECDSA-DES-CBC3-SHA:ECDHE-RSA-DES-CBC3-SHA:EDH-RSA-DES-CBC3-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:DES-CBC3-SHA:!DSS"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ssl_listen_option"
: true
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ssl_port"
:
443
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ssl_prefer_server_ciphers"
:
"on"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ssl_protocols"
:
"TLSv1 TLSv1.1 TLSv1.2"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ssl_redirect"
: false
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ssl_session_timeout"
:
"5m"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ssl_stapling"
: false
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ssl_stapling_verify"
: false
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ssl_verify_client"
:
"on"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"string_mappings"
:
{}
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"use_default_location"
: true
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"uwsgi_params"
:
"/etc/nginx/uwsgi_params"
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ Nginx::Resource::Upstream
[
swh-objstorage-gunicorn
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure"
:
"present"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"members"
:
[
"unix:/run/gunicorn/swh-objstorage/gunicorn.sock"
]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"upstream_context"
:
"http"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"upstream_fail_timeout"
:
0
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ Nginx::Resource::Upstream
[
swh-vault-gunicorn
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure"
:
"present"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"members"
:
[
"unix:/run/gunicorn/swh-vault/gunicorn.sock"
]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"upstream_context"
:
"http"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"upstream_fail_timeout"
:
0
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ Node
[
__node_regexp__unibo-prodorangerievangogh.euwest.azure.internal.softwareheritage.org
]
[
0m
*******************************************
[
0
;
31
;
49m- Node
[
default
]
[
0m
*******************************************
[
0
;
32
;
49m+ Package
[
dar
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure"
:
"present"
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ Package
[
gunicorn3
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure"
:
"installed"
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ Package
[
nginx
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure"
:
"present"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"name"
:
"nginx-light"
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ Package
[
python3-swh.objstorage
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure"
:
"latest"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"notify"
:
[
"Service[gunicorn-swh-objstorage]"
]
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ Package
[
python3-swh.vault
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure"
:
"present"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"notify"
:
[
"Service[gunicorn-swh-vault]"
]
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ Profile::Swh::Deploy::Rpc_server
[
objstorage
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"config_key"
:
"objstorage"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"executable"
:
"swh.objstorage.api.wsgi"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"http_check_string"
:
"SWH Objstorage API server"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"instance_name"
:
"objstorage"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"worker"
:
"async"
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ Profile::Swh::Deploy::Rpc_server
[
vault
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"config_key"
:
"vault"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"executable"
:
"swh.vault.api.wsgi:app"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"http_check_string"
:
"SWH Vault API server"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"instance_name"
:
"vault"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"worker"
:
"async"
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ Service
[
gunicorn-swh-objstorage
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"enable"
: true
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure"
:
"running"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"restart"
:
"/bin/systemctl reload gunicorn-swh-objstorage.service"
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ Service
[
gunicorn-swh-vault
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"enable"
: true
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure"
:
"running"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"restart"
:
"/bin/systemctl reload gunicorn-swh-vault.service"
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ Service
[
gunicorn
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"enable"
: true
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure"
:
"running"
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ Service
[
nginx
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"enable"
: true
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure"
:
"running"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"hasrestart"
: true
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"hasstatus"
: true
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ Systemd::Tmpfile
[
gunicorn-swh-objstorage.conf
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure"
:
"present"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"path"
:
"/etc/tmpfiles.d"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"content"
: >>>
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m# Managed by puppet
(
class gunicorn::instance swh-objstorage
)
. Modifications will be lost.
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49md /run/gunicorn/swh-objstorage
0755
swhstorage swhstorage - -
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
<<<
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ Systemd::Tmpfile
[
gunicorn-swh-vault.conf
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure"
:
"present"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"path"
:
"/etc/tmpfiles.d"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"content"
: >>>
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m# Managed by puppet
(
class gunicorn::instance swh-vault
)
. Modifications will be lost.
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49md /run/gunicorn/swh-vault
0755
swhvault swhvault - -
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
<<<
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ Systemd::Tmpfile
[
gunicorn.conf
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure"
:
"file"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"path"
:
"/etc/tmpfiles.d"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"source"
:
"puppet:///modules/gunicorn/gunicorn.tmpfiles"
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ Systemd::Unit_file
[
gunicorn-swh-objstorage.service
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure"
:
"present"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"notify"
:
[
"Service[gunicorn-swh-objstorage]"
]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"path"
:
"/etc/systemd/system"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"content"
: >>>
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m# File managed by puppet
(
class gunicorn::instance swh-objstorage
)
, changes will be lost
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
Unit
]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mDescription
=
Gunicorn instance swh-objstorage
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mConditionPathExists
=
/etc/gunicorn/instances/swh-objstorage.cfg
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mPartOf
=
gunicorn.service
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mReloadPropagatedFrom
=
gunicorn.service
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mBefore
=
gunicorn.service
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
Service
]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mUser
=
swhstorage
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mGroup
=
swhstorage
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mPIDFile
=
/run/gunicorn/swh-objstorage/pidfile
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mRuntimeDirectory
=
/run/gunicorn/swh-objstorage
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mWorkingDirectory
=
/run/gunicorn/swh-objstorage
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mEnvironment
=
SWH_CONFIG_FILENAME
=
/etc/softwareheritage/objstorage/server.yml
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mEnvironment
=
SWH_LOG_TARGET
=
journal
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mExecStart
=
/usr/bin/gunicorn3 -p /run/gunicorn/swh-objstorage/pidfile -c /etc/gunicorn/instances/swh-objstorage.cfg swh.objstorage.api.wsgi
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mExecStop
=
/bin/kill -TERM
$MAINPID
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mExecReload
=
/bin/kill -HUP
$MAINPID
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
Install
]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mWantedBy
=
multi-user.target
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
<<<
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ Systemd::Unit_file
[
gunicorn-swh-vault.service
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure"
:
"present"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"notify"
:
[
"Service[gunicorn-swh-vault]"
]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"path"
:
"/etc/systemd/system"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"content"
: >>>
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m# File managed by puppet
(
class gunicorn::instance swh-vault
)
, changes will be lost
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
Unit
]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mDescription
=
Gunicorn instance swh-vault
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mConditionPathExists
=
/etc/gunicorn/instances/swh-vault.cfg
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mPartOf
=
gunicorn.service
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mReloadPropagatedFrom
=
gunicorn.service
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mBefore
=
gunicorn.service
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
Service
]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mUser
=
swhvault
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mGroup
=
swhvault
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mPIDFile
=
/run/gunicorn/swh-vault/pidfile
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mRuntimeDirectory
=
/run/gunicorn/swh-vault
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mWorkingDirectory
=
/run/gunicorn/swh-vault
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mEnvironment
=
SWH_CONFIG_FILENAME
=
/etc/softwareheritage/vault/server.yml
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mEnvironment
=
SWH_LOG_TARGET
=
journal
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mExecStart
=
/usr/bin/gunicorn3 -p /run/gunicorn/swh-vault/pidfile -c /etc/gunicorn/instances/swh-vault.cfg swh.vault.api.wsgi:app
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mExecStop
=
/bin/kill -TERM
$MAINPID
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mExecReload
=
/bin/kill -HUP
$MAINPID
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
[
Install
]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49mWantedBy
=
multi-user.target
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
<<<
[
0m
[
0m
*******************************************
[
0
;
32
;
49m+ Systemd::Unit_file
[
gunicorn.service
]
=
>
[
0m
[
0
;
32
;
49m
parameters
=
>
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"ensure"
:
"present"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"notify"
:
[
"Service[gunicorn]"
]
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"path"
:
"/etc/systemd/system"
[
0m
[
0m
[
0
;
32
;
49m
[
0
;
32
;
49m
"source"
:
"puppet:///modules/gunicorn/gunicorn.service"
[
0m
[
0m
*******************************************
*** End octocatalog-diff on vangogh.euwest.azure.internal.softwareheritage.org
Event Timeline
ardumont
created this paste.
May 22 2019, 10:05 AM
2019-05-22 10:05:30 (UTC+2)
ardumont
mentioned this in
D1499: vault: Setup new vangogh server
.
vlorentz
added a subscriber:
vlorentz
.
May 22 2019, 10:45 AM
2019-05-22 10:45:11 (UTC+2)
Comment Actions
piping octocatalog-diff into cat should drop the escape codes
Log In to Comment