On 9 October 2012 16:26, Paul Tötterman <paul.totter...@gmail.com> wrote: >> Is it possible then I should be running an exec to copy the file from the >> server and use the unless (file exists already)? > > exec { 'foobar': > command => '/usr/bin/wget https://... -O /file/location', > creates => '/file/location', > }
This is not really the best way to manage a file in puppet. > > Cheers, > Paul > > -- > 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/-/8eoG3rgnbIcJ. > > 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. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. 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.