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.25 spec/fixtures/unit/parser/lexer/namevartest.pp
puppet-2.7.25 test/data/snippets/namevartest
puppet-3.4.2 spec/fixtures/unit/pops/parser/lexer/namevartest.pp
puppet-3.4.2 spec/fixtures/unit/parser/lexer/namevartest.pp
puppet-2.7.24 test/data/snippets/namevartest
puppet-2.7.24 spec/fixtures/unit/parser/lexer/namevartest.pp
puppet-3.4.1 spec/fixtures/unit/parser/lexer/namevartest.pp
puppet-3.4.1 spec/fixtures/unit/pops/parser/lexer/namevartest.pp
puppet-3.4.0 spec/fixtures/unit/pops/parser/lexer/namevartest.pp
puppet-3.4.0 spec/fixtures/unit/parser/lexer/namevartest.pp
puppet-3.4.0.rc2 spec/fixtures/unit/pops/parser/lexer/namevartest.pp
puppet-3.4.0.rc2 spec/fixtures/unit/parser/lexer/namevartest.pp
puppet-3.4.0.rc1 spec/fixtures/unit/parser/lexer/namevartest.pp
puppet-3.4.0.rc1 spec/fixtures/unit/pops/parser/lexer/namevartest.pp
puppet-3.3.2 spec/fixtures/unit/parser/lexer/namevartest.pp
puppet-3.3.2 spec/fixtures/unit/pops/parser/lexer/namevartest.pp
puppet-3.3.1 spec/fixtures/unit/pops/parser/lexer/namevartest.pp
puppet-3.3.1 spec/fixtures/unit/parser/lexer/namevartest.pp
puppet-3.3.1.rc3 spec/fixtures/unit/parser/lexer/namevartest.pp
puppet-3.3.1.rc3 spec/fixtures/unit/pops/parser/lexer/namevartest.pp