you could instead use `command => "sudo /home/vagrant/install_llvm.sh && touch /usr/local/.llvm_is_installed"` and then follow it up with `creates => "/usr/local/.llvm_is_installed"`. Puppet will check for that created file and only run this `exec` block if it does not exist.