Skip to content
This repository has been archived by the owner on May 5, 2023. It is now read-only.

JSON syntax in staging_windir fact causes syntax error using Ruby 1.8 #96

Closed
smoeding opened this issue Jun 3, 2016 · 2 comments
Closed

Comments

@smoeding
Copy link

smoeding commented Jun 3, 2016

I'm using Puppet 3.8.7 on Debian 4 & 5 machines (don't ask...). Puppet uses Ruby 1.8.7 on these machines which causes a syntax error with this module:

Error loading fact /var/lib/puppet/lib/facter/staging_windir.rb: /var/lib/puppet/lib/facter/staging_windir.rb:2: syntax error, unexpected ':', expecting kEND
  confine osfamily: :windows
                   ^

Could the JSON-style syntax be replaced with the old hash rocket syntax to make this module work on older environments again?

@jyaworski
Copy link
Member

@smoeding the newest version of archive has dropped support for ruby 1.8.

@juniorsysadmin
Copy link
Member

@smoeding You're going to need to downgrade to 1.05. Voxpupuli policy is not to explicitly support Ruby 1.8.7. Sadly the Changelogs for this module could have been a bit better. We're working on making this policy a bit more visible: voxpupuli/plumbing#36

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

No branches or pull requests

3 participants