Michael

Can you provide logs so I can see what's happening --debug please.

Thanks

James Turnbull



On 12/07/2010, at 11:12 PM, 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.
> 

-- 
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