# cumulus-upgrade-force-take-new
#
# This file contains a list of files and directories that should NOT be
# restored from the configuration backup during upgrades. These files will
# keep their newer versions from the target image instead of being restored
# from the backup.
#
# Each line should contain a file path or glob pattern.
# Lines starting with # are comments and will be ignored.
# Empty lines are also ignored.
#
# Examples:
# /etc/some-config-file
# /etc/systemd/system/*.service
# /opt/new-feature/*

# Keep the newest versions of the UMF and GNMI configuration files.
/etc/default/nv-umf-*
/etc/default/nv-gnmid
# Keep the newest versions of the UMF and GNMI logrotate configuration files.
/etc/logrotate.d/nv-umf-*
/etc/logrotate.d/nv-umf
/etc/logrotate.d/nv-gnmi
/etc/logrotate.d/nv-telemetry
/etc/logrotate.d/nv-grpctunnel
# Keep the newest versions of the SNMP logrotate configuration file.
/etc/logrotate.d/snmp
# Keep the newest versions of the UMF and GNMI rsyslog configuration files.
/etc/rsyslog.d/44-nv-*.conf
/etc/rsyslog.d/46-nv-*.conf
# Keep the newest versions of the SNMP rsyslog configuration file.
/etc/rsyslog.d/21-snmp.conf
# Handle initial.yaml which can change on schema changes. See #4687480 for more details.
/usr/lib/python3/dist-packages/cue_config_v1/initial.yaml
# Ensure we always take new versions of mapping and model files for GNMI. See #4691441.
/etc/nv-gnmi/**
# Ensure we always take new versions of the telemetry and grpctunnel configuration files.
/etc/nv-telemetry/**
/etc/nv-grpctunnel/**