简体   繁体   中英

puppet-vcsrepo module, retry checkout if a failure occurs

I have an issue with svn checkout because of an svn server issue.

Is it possible somehow to clean-up -> update a repository if I get error during svn checkout?

If you're talking about the official VCS module , I believe you can use the force => 'true option to ensure that the content is always correct, which will add the --force tag to the svn command.

However , using force is destructive so I'd double check you're not removing any files you need. It'll also need snv version > 1.3 from a quick look at the documentation.

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