這將是一個Noob問題。爲什麼有兩種類型的木偶'執行'和木偶'執行'
爲什麼在Puppet,Exec和exec中有兩種類型的Exec。我無法找到兩者之間的區別。
Exec {
path => ["/usr/bin", "/bin", "/usr/sbin", "/sbin", "/usr/local/bin","/usr/local/sbin"]
}
#execute the following command
exec {
#this is our command name
'apt-get update':
#the command to be executed
command => '/usr/bin/apt-get update',
#where we can find the required command
require => Exec['add php54 apt-repo']
}