Sha256: cbd8f286ca1dc8bdfdb9cff5996be1b7db40c5e6a616ef0386e9014674395a1a

Contents?: true

Size: 387 Bytes

Versions: 1513

Compression:

Stored size: 387 Bytes

Contents

$value1 = ""
$value2 = true
$value3 = false
$value4 = yay

$test = "yay"

$mode1 = $value1 ? {
    "" => 755
}

$mode2 = $value2 ? {
    true => 755
}

$mode3 = $value3 ? {
    default => 755
}

file { "/tmp/singleselector1": ensure => file, mode => $mode1 }
file { "/tmp/singleselector2": ensure => file, mode => $mode2 }
file { "/tmp/singleselector3": ensure => file, mode => $mode3 }

Version data entries

1,513 entries across 781 versions & 3 rubygems

Version Path
puppet-8.3.0 spec/fixtures/unit/parser/lexer/singleselector.pp
puppet-8.3.0 spec/fixtures/unit/pops/parser/lexer/singleselector.pp
puppet-8.3.0-x86-mingw32 spec/fixtures/unit/parser/lexer/singleselector.pp
puppet-8.3.0-x86-mingw32 spec/fixtures/unit/pops/parser/lexer/singleselector.pp
puppet-8.3.0-x64-mingw32 spec/fixtures/unit/parser/lexer/singleselector.pp
puppet-8.3.0-x64-mingw32 spec/fixtures/unit/pops/parser/lexer/singleselector.pp
puppet-8.3.0-universal-darwin spec/fixtures/unit/parser/lexer/singleselector.pp
puppet-8.3.0-universal-darwin spec/fixtures/unit/pops/parser/lexer/singleselector.pp
puppet-8.4.0 spec/fixtures/unit/parser/lexer/singleselector.pp
puppet-8.4.0 spec/fixtures/unit/pops/parser/lexer/singleselector.pp
puppet-8.4.0-x86-mingw32 spec/fixtures/unit/pops/parser/lexer/singleselector.pp
puppet-8.4.0-x86-mingw32 spec/fixtures/unit/parser/lexer/singleselector.pp
puppet-8.4.0-x64-mingw32 spec/fixtures/unit/pops/parser/lexer/singleselector.pp
puppet-8.4.0-x64-mingw32 spec/fixtures/unit/parser/lexer/singleselector.pp
puppet-8.4.0-universal-darwin spec/fixtures/unit/parser/lexer/singleselector.pp
puppet-8.4.0-universal-darwin spec/fixtures/unit/pops/parser/lexer/singleselector.pp
puppet-7.28.0 spec/fixtures/unit/pops/parser/lexer/singleselector.pp
puppet-7.28.0 spec/fixtures/unit/parser/lexer/singleselector.pp
puppet-7.28.0-x86-mingw32 spec/fixtures/unit/pops/parser/lexer/singleselector.pp
puppet-7.28.0-x86-mingw32 spec/fixtures/unit/parser/lexer/singleselector.pp