puppetlabs / puppetlabs-vcsrepo

Support for source control repositories
http://forge.puppetlabs.com/puppetlabs/vcsrepo
GNU General Public License v2.0
223 stars 284 forks source link

Fix syntax error in cvs.rb #618

Closed Pakbon closed 1 year ago

Pakbon commented 1 year ago

Summary

Syntax error in cvs.rb.

Additional Context

Add any additional context about the problem here.

Related Issues (if any)

Mention any related issues or pull requests.

Checklist

CLAassistant commented 1 year ago

CLA assistant check
All committers have signed the CLA.

smortex commented 1 year ago

Hey, both expressions are equivalent. If you get a "syntax error", you might be using an older version of Ruby. When using the AIO package it means you use an old version of Puppet not supported by this module anymore: https://github.com/puppetlabs/puppetlabs-vcsrepo/blob/852756e9902e7001d40c91872ac3fce7115d895f/metadata.json#L79

If you are not using the AIO package, double-check which version of Ruby you are using.