当文件不存在时,傀儡唯一的exec
当文件(/ usr / local / bin / papply)不存在时,我只想执行下面的命令。 不知道该放什么。 exec { 'git add url': command =>'git remote add origin https://github.com/testing/puppet.git', require => Exec['git init'], cwd => '/home/vagrant/django', user => 'vagrant', onlyif => "not sure what to put here" }