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-7.24.0 spec/fixtures/unit/pops/parser/lexer/simpleselector.pp
puppet-7.24.0 spec/fixtures/unit/parser/lexer/simpleselector.pp
puppet-7.24.0-x86-mingw32 spec/fixtures/unit/pops/parser/lexer/simpleselector.pp
puppet-7.24.0-x86-mingw32 spec/fixtures/unit/parser/lexer/simpleselector.pp
puppet-7.24.0-x64-mingw32 spec/fixtures/unit/pops/parser/lexer/simpleselector.pp
puppet-7.24.0-x64-mingw32 spec/fixtures/unit/parser/lexer/simpleselector.pp
puppet-7.24.0-universal-darwin spec/fixtures/unit/parser/lexer/simpleselector.pp
puppet-7.24.0-universal-darwin spec/fixtures/unit/pops/parser/lexer/simpleselector.pp
puppet-7.23.0 spec/fixtures/unit/parser/lexer/simpleselector.pp
puppet-7.23.0 spec/fixtures/unit/pops/parser/lexer/simpleselector.pp
puppet-7.23.0-x86-mingw32 spec/fixtures/unit/pops/parser/lexer/simpleselector.pp
puppet-7.23.0-x86-mingw32 spec/fixtures/unit/parser/lexer/simpleselector.pp
puppet-7.23.0-x64-mingw32 spec/fixtures/unit/pops/parser/lexer/simpleselector.pp
puppet-7.23.0-x64-mingw32 spec/fixtures/unit/parser/lexer/simpleselector.pp
puppet-7.23.0-universal-darwin spec/fixtures/unit/parser/lexer/simpleselector.pp
puppet-7.23.0-universal-darwin spec/fixtures/unit/pops/parser/lexer/simpleselector.pp
puppet-7.22.0 spec/fixtures/unit/pops/parser/lexer/simpleselector.pp
puppet-7.22.0 spec/fixtures/unit/parser/lexer/simpleselector.pp
puppet-7.22.0-x86-mingw32 spec/fixtures/unit/pops/parser/lexer/simpleselector.pp
puppet-7.22.0-x86-mingw32 spec/fixtures/unit/parser/lexer/simpleselector.pp