how to check out code from svn by using puppet as a stand alone

131 Views Asked by At

How to check out code from svn using puppet as a stand alone system. I tried too many times using this code:

vcsrepo {
    '/opt/2.0/Alok':ensure   => present,
    provider => svn,
    source   => 'http://svn://url',              
}

Error:

Error: Puppet::Parser::AST::Resource failed with error ArgumentError: Invalid resource type vcsrepo at

1

There are 1 best solutions below

0
On

It sounds like you don't have the puppetlabs-vcsrepo module installed.

To install it, run puppet module install puppetlabs-vcsrepo