Sha256: 337adc8bc64ec8e079a1ae20f5d797f91c844c440fdf206bca5eef0d304736ba

Contents?: true

Size: 225 Bytes

Versions: 6

Compression:

Stored size: 225 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

6 entries across 6 versions & 1 rubygems

Version Path
puppet-0.13.1 examples/code/snippets/namevartest
puppet-0.13.6 examples/code/snippets/namevartest
puppet-0.13.0 examples/code/snippets/namevartest
puppet-0.13.2 examples/code/snippets/namevartest
puppet-0.16.0 examples/code/snippets/namevartest
puppet-0.18.4 examples/code/snippets/namevartest