Page MenuHomePhabricator

Puppet...

Authored By
Joe
Dec 1 2017, 2:55 PM
Size
612 B
Referenced Files
None
Subscribers
None

Puppet...

# Puppet 4.8.2
$ cat test.pp
node 'gizmo.local' {
create_resources('@@file', {'/tmp/test' => { ensure => 'present', content => 'test!'}})
}
$ rbenv exec bundle exec puppet apply test.pp
Notice: Compiled catalog for gizmo.local in environment production in 0.08 seconds
Notice: /Stage[main]/Main/Node[gizmo.local]/File[/tmp/test]/ensure: defined content as '{md5}c4d354440cb41ee38e162bc1f431e99b'
Notice: Applied catalog in 0.04 seconds
$ rm /tmp/test
$ PUPPET_GEM_VERSION=3.8.5 rbenv exec bundle exec puppet apply test.pp
Notice: Compiled catalog for gizmo.local in environment production in 0.19 seconds

File Metadata

Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5145835
Default Alt Text
Puppet... (612 B)

Event Timeline