# File lib/puppet/util/backups.rb, line 6
 6:   def perform_backup(file = nil)
 7:     # if they specifically don't want a backup, then just say
 8:     # we're good
 9:     return true unless self[:backup]
10: 
11:     # let the path be specified
12:     file ||= self[:path]
13:     return true unless FileTest.exists?(file)
14: 
15:     return(self.bucket ? perform_backup_with_bucket(file) : perform_backup_with_backuplocal(file, self[:backup]))
16:   end