目錄和文件格式如下:init.pp
木偶2.7:調用puppet apply init.pp什麼都不做 - 爲什麼?
app_test/
app_test/manifests
app_test/manifests/init.pp
app_test/manifests/test.pp
內容:的test.pp
class app_test {
include app_test::test
}
內容:
class app_test::test {
exec { 'hello world':
command => "/bin/echo Hello World >> /tmp/are-you-there.txt"
}
}
木偶v2.7.11
安裝。
$ puppet apply init.pp
notice: Finished catalog run in 0.01 seconds
有人能指出爲什麼這不會生成文件/tmp/are-you-there-txt
?