Directory e file di layout come segue:Puppet 2.7: Chiamare puppet apply init.pp non fa nulla - perché?
app_test/
app_test/manifests
app_test/manifests/init.pp
app_test/manifests/test.pp
Contenuto del init.pp
:
class app_test {
include app_test::test
}
Contenuto del test.pp
:
class app_test::test {
exec { 'hello world':
command => "/bin/echo Hello World >> /tmp/are-you-there.txt"
}
}
Puppet v2.7.11
è installato.
$ puppet apply init.pp
notice: Finished catalog run in 0.01 seconds
Qualcuno potrebbe indicare il motivo per cui questo non genera il file /tmp/are-you-there-txt
?