class Mixlib::Archive

def self.archive_directory(path, archive, gzip: false, format: :tar, compression: :none)

def self.archive_directory(path, archive, gzip: false, format: :tar, compression: :none)
  targets = Find.find(path).collect { |fn| fn }
  new(archive).create(targets, gzip: gzip)
end