Ah, right, my mistake, the require won't guarantee anything in this case, as the other command is successful, even if it does nothing. It's early...
However, looking at that module it seems like it's trying to use refreshonly, but it doesn't look like it will be effective the way it's using it. You might try adding creates => $name, under the exec {$exec_name: resource in untar.pp. This would make it dependent on the name given to archive::untar, /tmp/python-${version} in this case. On Friday, October 26, 2012 9:35:45 AM UTC-7, Dave Mankoff wrote: > > Yeah, the wget seems to be working. The archive library I am using is: > > http://forge.puppetlabs.com/bobsh/archive > > It runs irrespective of whether or not wget actually fetches anything, > however. > > At this point, it seems that the exec type is the only thing that can > actually conditionally run (unless, onlyif, creates, etc). I created a bash > script in my templates directory that contains the wget and tar commands. I > now copy that bash script out and only conditionally run it, which seems to > defeat the whole purpose. > > On Friday, October 26, 2012 12:30:19 PM UTC-4, Ellison Marks wrote: >> >> If you're using this wget module >> >> https://github.com/liquidstate/puppet-wget/blob/master/manifests/init.pp >> >> It's set to not run so long as the destination is still there, so >> /tmp/Python-${version}.tgz needs to stick around. I'm not sure which >> archive module you're using, but as long as you have that require there, it >> should follow. >> > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/lRzdxzGX85MJ. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.