Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: ff2eb3e94b
Fetching contributors…

Cannot retrieve contributors at this time

24 lines (16 sloc) 0.386 kB
require 'rubygems'
require 'shadow_puppet'
#require 'facter'
class ManifestTest < ShadowPuppet::Manifest
recipe :sample
def sample
exec :foo, :command => 'echo "foo" > /tmp/foo.txt'
package :ruby, :ensure => :installed
file '/tmp/example.txt', {
:ensure => :present,
:content => Facter.to_hash.inspect
}
end
end
m = ManifestTest.new
m.execute
Jump to Line
Something went wrong with that request. Please try again.