简体   繁体   中英

How to checkout svn application using puppet manifest

My Requirement is to call manifest file in puppet using java code to checkout an application from svn and store it in the local folder in desktop..

1) I have to write a java code to call puppet Manifest in controller 2) Commands to call svn and checkout the application to local folder in Manifest file..

I am new to Puppet.. Can any one please help.. Thanks in Advance..

You can use a puppet forge module to checkout repository.

Example with the vcsrepo module:

vcsrepo { '/tmp/vcstest-svn-checkout':
  ensure   => present,
  provider => svn,
  source   => 'http://svn.edgewall.org/repos/babel/trunk',
}

Source : https://forge.puppetlabs.com/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