Ignore facter error when fetching repo
Even though a repo is set with skip_if_unavailable=True, Facter logs "Error:..." and then "Ignoring repositories...". We need to add this regexp to ignored list. Note: if repo should not be skipped if unavailable, dnf would have raised error before Facter run. Change-Id: Id2a3c27d8afb4a1d0e852a70e5a9ccd07e485399
This commit is contained in:
parent
2f69faf24a
commit
9bfd5b8482
|
@ -43,7 +43,10 @@ re_ignore = re.compile(
|
|||
'yum.*?install swift-plugin-s3|'
|
||||
# facter gives a weird NM error when it's disabled, due to
|
||||
# https://tickets.puppetlabs.com/browse/FACT-697
|
||||
'NetworkManager is not running'
|
||||
'NetworkManager is not running|'
|
||||
# facter logs Error even though the repository is set to be skipped
|
||||
# if unavailable
|
||||
'Failed to download metadata for repo'
|
||||
)
|
||||
re_notice = re.compile(r'notice: .*Notify\[packstack_info\]'
|
||||
r'\/message: defined \'message\' as '
|
||||
|
|
Loading…
Reference in New Issue