디렉토리 및 파일 레이아웃을 다음과 같이 init.pp
의Puppet 2.7 : 꼭두각시 호출 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
가 설치됩니다. 이 파일 /tmp/are-you-there-txt
을 생성하지 않는 이유
$ puppet apply init.pp
notice: Finished catalog run in 0.01 seconds
는 사람이 나타시겠습니까?