change config separator to whitespace
This commit is contained in:
parent
78a87f725e
commit
3b82594a32
3 changed files with 4 additions and 4 deletions
|
|
@ -21,12 +21,12 @@ Additional feature is that some paths from buildroot can be left out from
|
|||
tarball. Feature can be configured via
|
||||
`/etc/kojid/plugins/save_failed_tree.conf` file. Currently only field
|
||||
filters.paths is used and it consists of globs (standard python's fnmatch is
|
||||
used) separated by ':'.
|
||||
used) separated by whitespaces.
|
||||
|
||||
.. code-block:: ini
|
||||
|
||||
[filters]
|
||||
paths = /etc/*.keytab:/tmp/secret_data
|
||||
paths = /etc/*.keytab /tmp/secret_data
|
||||
|
||||
.. warning::
|
||||
For security reasons, currently all ``/tmp/krb5cc*`` and ``/etc/*.keytab``
|
||||
|
|
|
|||
|
|
@ -2,4 +2,4 @@
|
|||
volume = DEFAULT
|
||||
|
||||
[filters]
|
||||
paths = */tmp/krb5cc:*/etc/*.keytab
|
||||
paths = */tmp/krb5cc */etc/*.keytab
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ def read_config():
|
|||
'volume': None,
|
||||
}
|
||||
if cp.has_option('filters', 'paths'):
|
||||
config['path_filters'] = cp.get('filters', 'paths').split(':')
|
||||
config['path_filters'] = cp.get('filters', 'paths').split()
|
||||
if cp.has_option('general', 'volume'):
|
||||
config['volume'] = cp.get('general', 'volume').strip()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue