Hi,

I've been playing with the vcsrepo type and for the most part it works
pretty well, with the exception of ensure => latest/present with svn...
when I ensure => present, it does what I expect, creates the working
directory at whatever version the repo is currently at, and leaves it alone
thereafter.  However, when I use "ensure => latest" unless the working
directory exists as a SVN repo, it fails. Shouldn't "ensure => latest" imply
"ensure => present" ?  I started down the road of writing something to
ensure a created working directory, and thought I'd bounce it off the list
to see if anyone else had any experience with vcsrepo, since it's entirely
possible that I've missed something blindly obvious.

   vcsrepo { "/path/on/disk":
      ensure   => latest,
      provider => svn,
      source   => 'https://server.example.com/repo/trunk/apps/foo',
   }


Thanks! And thanks to whomever wrote this type, it's going to be super
useful!!

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to