never mind… haven't had coffee yet.

On Jul 14, 9:11 am, nate <foil...@gmail.com> wrote:
> at the risk of sounding dense here, is it updating because the result
> of /bin/date is always going to be unique? maybe you can trigger it
> some other way, like with a comparison.
>
> On Jul 13, 2:12 am, Michael Knox <michael.knox...@gmail.com> wrote:
>
>
>
> > Hi all,
> > We have some data in SVN repos and I'd like puppet to ensure that a) the
> > latest copy is checked out, and b) reload a service if it is updated.
> > So I've configured the vcsrepo type
> > (http://forge.puppetlabs.com/puppetlabs/vcsrepo).
>
> > However when I subscribe to the vcsrepo resource, it is always
> > refreshed, irrespective of whether the repository is upto date or not.
> > I'd prefer not to reload the service everytime puppet runs on the client.
>
> > My test manifest ...
>
> > vcsrepo { "/tmp/repo":
> >       ensure   =>  latest,
> >       provider =>  svn,
> >       source   =>  "svn+ssh://m...@host/repo",
>
> > }
>
> > exec {"/bin/date":
> >       subscribe =>  Vcsrepo["/tmp/repo"],
>
> > }
>
> > Does anyone have any suggestions on how I can get this to only refresh
> > when the repo is updated?
> > I've tried looking at how it is done in the file and package types, but
> > my ruby/puppet architecture knowledge is not yet upto that.
>
> > Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@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.

Reply via email to