Skip to content

Instantly share code, notes, and snippets.

@adamcrews
Created October 21, 2013 17:20
Show Gist options
  • Save adamcrews/7087489 to your computer and use it in GitHub Desktop.
Save adamcrews/7087489 to your computer and use it in GitHub Desktop.
require array
$files = [ '/tmp/1', '/tmp/2', '/tmp/3']
file { $files:
ensure => file,
}
file { '/tmp/all':
ensure => file,
require => File[$files],
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment