On Monday, November 21, 2011 10:00:37 PM UTC-8, jwag wrote: > > I am working with 2.7.3, latest vcsrepo from github. Trying to get a > git workarea kept up to date (latest). > The call: > > vcsrepo { "puppetm:git:co": > ensure => latest, > provider => git, > path => "$srcdir", > source => "g...@github.com:/xxx.git", > owner => "puppet", > group => "puppet", > identity => "$puppetm::puppethomedir/.ssh/ > $puppetm::pkeyname", > } > It's missing the "'revision' => 'master'" key. If you use this key, the code is cloned if it didn't exist; pulled otherwise.
vcsrepo { "puppetm:git:co": ensure => latest, provider => git, path => "$srcdir", source => "g...@github.com:/xxx.git", owner => "puppet", group => "puppet", identity => "$puppetm::puppethomedir/.ssh/$puppetm::pkeyname", revision => "master", } -- 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/-/4T07bNmagW4J. 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.