Skip to content
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

2.9.0 release breaks on RHEL/CentOS 6 with puppet 3.8 #187

Closed
davemac30 opened this issue Sep 5, 2016 · 1 comment
Closed

2.9.0 release breaks on RHEL/CentOS 6 with puppet 3.8 #187

davemac30 opened this issue Sep 5, 2016 · 1 comment

Comments

@davemac30
Copy link

I'm getting errors with the new 2.9.0 release. Same thing using master. Revert to 2.8.1 clears the problem.

System info:

# cat /etc/redhat-release 
CentOS release 6.8 (Final)
# rpm -qa ruby puppet
puppet-3.8.7-1.el6.noarch
ruby-1.8.7.374-4.el6_6.x86_64

Error message:

Error loading fact /var/lib/puppet/lib/facter/ssh_client_version.rb: /var/lib/puppet/lib/facter/ssh_client_version.rb:2: syntax error, unexpected ':', expecting kEND
  confine kernel: %w(Linux SunOS FreeBSD Darwin)
                 ^
/var/lib/puppet/lib/facter/ssh_client_version.rb:17: syntax error, unexpected ':', expecting kEND
  confine kernel: %w(Linux SunOS FreeBSD Darwin)
                 ^
/var/lib/puppet/lib/facter/ssh_client_version.rb:18: syntax error, unexpected ':', expecting kEND
  confine ssh_client_version_full: true
                                  ^
/var/lib/puppet/lib/facter/ssh_client_version.rb:27: syntax error, unexpected ':', expecting kEND
  confine kernel: %w(Linux SunOS FreeBSD Darwin)
                 ^
/var/lib/puppet/lib/facter/ssh_client_version.rb:28: syntax error, unexpected ':', expecting kEND
  confine ssh_client_version_full: true
                                  ^
Error loading fact /var/lib/puppet/lib/facter/ssh_server_version.rb: /var/lib/puppet/lib/facter/ssh_server_version.rb:2: syntax error, unexpected ':', expecting kEND
  confine kernel: %w(Linux SunOS FreeBSD Darwin)
                 ^
/var/lib/puppet/lib/facter/ssh_server_version.rb:20: syntax error, unexpected ':', expecting kEND
  confine kernel: %w(Linux SunOS FreeBSD Darwin)
                 ^
/var/lib/puppet/lib/facter/ssh_server_version.rb:21: syntax error, unexpected ':', expecting kEND
  confine ssh_server_version_full: true
                                  ^
/var/lib/puppet/lib/facter/ssh_server_version.rb:30: syntax error, unexpected ':', expecting kEND
  confine kernel: %w(Linux SunOS FreeBSD Darwin)
                 ^
/var/lib/puppet/lib/facter/ssh_server_version.rb:31: syntax error, unexpected ':', expecting kEND
  confine ssh_server_version_full: true
                                  ^
@saz saz closed this as completed in 97c8703 Sep 8, 2016
@fatmcgav
Copy link

@saz It looks like the same tweak is required in 'https://github.com/saz/puppet-ssh/blob/master/lib/puppet/parser/functions/ipaddresses.rb'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants