Sha256: 2a03d4e11368c243dd405254c01b01089b55dd26bb7e03e9104ac6aa2340d6d2

Contents?: true

Size: 227 Bytes

Versions: 197

Compression:

Stored size: 227 Bytes

Contents

define filetest($mode, $ensure = file) {
    file { $name:
        mode => $mode,
        ensure => $ensure
    }
}

filetest { "/tmp/testfiletest": mode => 644}
filetest { "/tmp/testdirtest": mode => 755, ensure => directory}

Version data entries

197 entries across 122 versions & 3 rubygems

Version Path
puppet-2.7.26 test/data/snippets/namevartest
puppet-2.7.26 spec/fixtures/unit/parser/lexer/namevartest.pp
puppet-3.6.2 spec/fixtures/unit/pops/parser/lexer/namevartest.pp
puppet-3.6.2 spec/fixtures/unit/parser/lexer/namevartest.pp
puppet-3.6.2-x86-mingw32 spec/fixtures/unit/parser/lexer/namevartest.pp
puppet-3.6.2-x86-mingw32 spec/fixtures/unit/pops/parser/lexer/namevartest.pp
puppet-3.6.1 spec/fixtures/unit/parser/lexer/namevartest.pp
puppet-3.6.1 spec/fixtures/unit/pops/parser/lexer/namevartest.pp
puppet-3.6.1-x86-mingw32 spec/fixtures/unit/parser/lexer/namevartest.pp
puppet-3.6.1-x86-mingw32 spec/fixtures/unit/pops/parser/lexer/namevartest.pp
puppet-3.6.0 spec/fixtures/unit/parser/lexer/namevartest.pp
puppet-3.6.0 spec/fixtures/unit/pops/parser/lexer/namevartest.pp
puppet-3.6.0-x86-mingw32 spec/fixtures/unit/parser/lexer/namevartest.pp
puppet-3.6.0-x86-mingw32 spec/fixtures/unit/pops/parser/lexer/namevartest.pp
puppet-3.6.0.rc1 spec/fixtures/unit/parser/lexer/namevartest.pp
puppet-3.6.0.rc1 spec/fixtures/unit/pops/parser/lexer/namevartest.pp
puppet-3.6.0.rc1-x86-mingw32 spec/fixtures/unit/pops/parser/lexer/namevartest.pp
puppet-3.6.0.rc1-x86-mingw32 spec/fixtures/unit/parser/lexer/namevartest.pp
puppet-3.5.1 spec/fixtures/unit/pops/parser/lexer/namevartest.pp
puppet-3.5.1 spec/fixtures/unit/parser/lexer/namevartest.pp