-
Notifications
You must be signed in to change notification settings - Fork 285
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Syntax error #624
Comments
According to #601 - Puppet 6 support is dropped, i had same issue - fixed by upgrading the agent to 7.x |
I'm getting a similar error on an AlmaLinux 8 host running puppetserver 7.6.
The strange thing is that this happens only on the first catalog compilation that uses vcsrepo after a restart. Subsequent compilations that use vcsrepo (for either the same client or for other clients) are fine. Compilations of catalogs without vcsrepo have no effect either way. This is running puppetserver from a puppetlabs RPM, so It should be using the vendored ruby (and jruby).
For what it's worth, the system ruby is new enough as well:
I don't think this is the same bug as originally reported, but it's caused by the same commit: I'm not currently in a position to try a newer puppetserver, but I wanted to write this issue down somewhere, for now. |
@bugfood that might be fixed by doing a |
Thanks, but this problem manifests immediately after a restart of puppetserver--and then goes away after the first time it happens. I don't know about https://www.puppet.com/docs/puppet/7/environment_isolation.html#env_generate_types |
This was also the fix for me. As an enhancement, I urge that this line (77) which fails with puppet6 on the agent (not the puppetserver, as suggested above, and which for my own environment had previously been upgraded to 7), be wrapped in a try...catch which links to this thread and advises an upgrade of puppet on the client. |
Describe the Bug
I cannot clone a repository.
Expected Behavior
It should clone the repository.
Steps to Reproduce
This is my manifest:
I get the following error, when I execute
/opt/puppetlabs/puppet/bin/puppet agent -t
on the agent:Environment (on the agent)
Environment (on the server)
The text was updated successfully, but these errors were encountered: