Skip to content

Instantly share code, notes, and snippets.

@bodepd
Created November 12, 2010 16:33
Show Gist options
  • Save bodepd/674316 to your computer and use it in GitHub Desktop.
Save bodepd/674316 to your computer and use it in GitHub Desktop.
scoping example
class x{
file { '/tmp/dan':
ensure => file,
mode => $mode
}
}
class y {
include x
File { content => 'y'}
$mode = '444'
}
class z {
include x
File { content => 'z' }
$mode = '111'
}
$mode = '000'
include z,y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment