简体   繁体   中英

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

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

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

To install it, run puppet module install puppetlabs-vcsrepo

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM