So I have a puppet module, that gets a script from files/, runs that script, and after it's done, I'd like to remove it. Unfortunately puppet doesn't seem to like to have 2 different File resource aliased to the same, so I can't do file { "myfile": ensure => present, source => "puppet:///...", } file { "remove myfile": path => "myfile", ensure => absent, } Puppet gave the error: err: Failed to apply catalog: Cannot alias File[remove myfile]...myfile already declared... The only work around I've found is using an exec resource. Anyone know how to do this without exec? Thank you -- 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+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/d503ce3f-7678-4056-8386-b7eaaa02eb66%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.