<% if node[:postgresql][:settings][:defaults][:archive_mode] == "on" -%>
# Cleanup archive directory
-find -L /data/postgresql-archive -mmin +1440 -print0 | xargs -0r rm
+#find -L /data/postgresql-archive -mmin +1440 -print0 | xargs -0r rm
<% end -%>