这将是一个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']
}