Hi, i want to deploy a build script, run it and delete if afterwards.
To deploy and run, i use this: file { "/root/get_phantomjs.sh": ensure => present, mode => "0700", source => "puppet:///modules/phantomjs/get_phantomjs.sh", require => Package["libfontconfig1-dev"], } exec { "/root/get_phantomjs.sh": creates => "/usr/local/bin/phantomjs", require => File["/root/get_phantomjs.sh"], } What would be an elegant way to delete the get_phantom.js file after the exec? flip -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.