Sha256: b783f91e4db20a86fd211e676a9ca2564a4b949f7a2609abd5af7b687df56f34

Contents?: true

Size: 616 Bytes

Versions: 1511

Compression:

Stored size: 616 Bytes

Contents

# $Id$

$var = "value"

file { "/tmp/snippetselectatest":
    ensure => file,
    mode => $var ? {
        nottrue => 641,
        value => 755
    }
}

file { "/tmp/snippetselectbtest":
    ensure => file,
    mode => $var ? {
        nottrue => 644,
        default => 755
    }
}

$othervar = "complex value"

file { "/tmp/snippetselectctest":
    ensure => file,
    mode => $othervar ? {
        "complex value" => 755,
        default => 644
    }
}
$anothervar = Yayness

file { "/tmp/snippetselectdtest":
    ensure => file,
    mode => $anothervar ? {
        Yayness => 755,
        default => 644
    }
}

Version data entries

1,511 entries across 779 versions & 3 rubygems

Version Path
puppet-2.6.17 test/data/snippets/simpleselector
supply_drop-0.10.1 examples/vendored-puppet/vendor/puppet-2.7.8/spec/fixtures/unit/parser/lexer/simpleselector.pp
supply_drop-0.10.1 examples/vendored-puppet/vendor/puppet-2.7.8/test/data/snippets/simpleselector
supply_drop-0.10.0 examples/vendored-puppet/vendor/puppet-2.7.8/spec/fixtures/unit/parser/lexer/simpleselector.pp
supply_drop-0.10.0 examples/vendored-puppet/vendor/puppet-2.7.8/test/data/snippets/simpleselector
puppet-2.7.17 spec/fixtures/unit/parser/lexer/simpleselector.pp
puppet-2.7.17 test/data/snippets/simpleselector
puppet-2.7.16 test/data/snippets/simpleselector
puppet-2.7.16 spec/fixtures/unit/parser/lexer/simpleselector.pp
puppet-2.7.14 spec/fixtures/unit/parser/lexer/simpleselector.pp
puppet-2.7.14 test/data/snippets/simpleselector
puppet-2.6.16 test/data/snippets/simpleselector
puppet-2.7.13 test/data/snippets/simpleselector
puppet-2.7.13 spec/fixtures/unit/parser/lexer/simpleselector.pp
puppet-2.6.15 test/data/snippets/simpleselector
supply_drop-0.9.0 examples/vendored-puppet/vendor/puppet-2.7.8/test/data/snippets/simpleselector
supply_drop-0.9.0 examples/vendored-puppet/vendor/puppet-2.7.8/spec/fixtures/unit/parser/lexer/simpleselector.pp
supply_drop-0.8.1 examples/vendored-puppet/vendor/puppet-2.7.8/spec/fixtures/unit/parser/lexer/simpleselector.pp
supply_drop-0.8.1 examples/vendored-puppet/vendor/puppet-2.7.8/test/data/snippets/simpleselector
supply_drop-0.8.0 examples/vendored-puppet/vendor/puppet-2.7.8/test/data/snippets/simpleselector