Skip to content

Instantly share code, notes, and snippets.

@mpalmer
Created September 4, 2009 01:23
Show Gist options
  • Select an option

  • Save mpalmer/180668 to your computer and use it in GitHub Desktop.

Select an option

Save mpalmer/180668 to your computer and use it in GitHub Desktop.
class klass {
file { ['/tmp/a']: ensure => present }
}
define def_file() {
include klass
file { $name:
ensure => present,
require => File['/tmp/a']
}
}
def_file { '/tmp/b': }
def_file { '/tmp/c': require => File['/tmp/b'] }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment