diff --git a/templates/retrieve_openstack_cloud_facts.sh.j2 b/templates/retrieve_openstack_cloud_facts.sh.j2 index 868fc3ada188ccb1631e03c69836cc9ef90707ad..3b31bbb875c0c6681e0df1fbe31c7c0e4b4bcb14 100644 --- a/templates/retrieve_openstack_cloud_facts.sh.j2 +++ b/templates/retrieve_openstack_cloud_facts.sh.j2 @@ -17,6 +17,7 @@ TODAY=`date +%F` for container in `/usr/local/bin/swift list` do + [[ "$container" == *'_segments' ]] && continue file="/backup/cloud/$container.$TODAY" printf "DATE = $TODAY" > $file printf "\n\n-- STATS --\n" >> $file