pastebin
| #1 paste tool since 2002
create new paste
tools
api
archive
real-time
faq
pastebin
Follow @pastebin
create new paste
trending pastes
sign up
login
my settings
my profile
My Pastes
Public Pastes
Bookmarklet wait until ...
8 sec ago
Gwen Stefani Cool Love ...
8 sec ago
Untitled
C# | 14 sec ago
BasicPlayerListener
Java | 15 sec ago
Untitled
16 sec ago
Untitled
22 sec ago
Untitled
28 sec ago
Untitled
34 sec ago
Layout Width
Share Pastebin
Untitled
By: a guest | Mar 11th, 2010 | Syntax:
None
| Size: 0.22 KB | Hits: 80 | Expires: Never
Download
|
Raw
|
Embed
|
Report abuse
class foo {
notice("class: foo")
exec { "foo_exec":
command => "/usr/bin/touch /tmp/testfile",
}
}
class bar {
# require(Class["foo"])
require(Exec[foo_exec])
notice("class: bar")
}
include bar
create new paste
|
create new version of this paste
RAW Paste Data
class foo { notice("class: foo") exec { "foo_exec": command => "/usr/bin/touch /tmp/testfile", } } class bar { # require(Class["foo"]) require(Exec[foo_exec]) notice("class: bar") } include bar