Sha256: 26d221ecaaa38d2a2c44f97b6a671646c7447b3d0b0100a5a7a96ccb0adbf759

Contents?: true

Size: 722 Bytes

Versions: 1511

Compression:

Stored size: 722 Bytes

Contents

# $Id$

tag testing
tag(funtest)

class tagdefine {
    $path = tagged(tagdefine) ? {
        true => "true", false => "false"
    }

    file { "/tmp/taggeddefine$path": ensure => file }
}

include tagdefine

$yayness = tagged(yayness) ? {
    true => "true", false => "false"
}

$funtest = tagged(testing) ? {
    true => "true", false => "false"
}

$both = tagged(testing, yayness) ? {
    true => "true", false => "false"
}

$bothtrue = tagged(testing, testing) ? {
    true => "true", false => "false"
}

file { "/tmp/taggedyayness$yayness": ensure => file }
file { "/tmp/taggedtesting$funtest": ensure => file }
file { "/tmp/taggedboth$both": ensure => file }
file { "/tmp/taggedbothtrue$bothtrue": ensure => file }

Version data entries

1,511 entries across 779 versions & 3 rubygems

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