summaryrefslogtreecommitdiffstats
path: root/spec/fixtures/unit/parser/lexer/classincludes.pp
blob: bd5b44ed707f568189e5d8eacd5d3fac6c0c24a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# $Id$

class base {
    file { "/tmp/classincludes1": ensure => file, mode => 755 }
}

class sub1 inherits base {
    file { "/tmp/classincludes2": ensure => file, mode => 755 }
}

class sub2 inherits base {
    file { "/tmp/classincludes3": ensure => file, mode => 755 }
}

$sub = "sub2"

include sub1, $sub