-
-
Notifications
You must be signed in to change notification settings - Fork 55
Switch from puppet releases to openvox releases #227
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| { | ||
| "8.23.1": "5.1.0", | ||
| "8.23.0": "5.1.0", | ||
| "8.22.1": "5.0.0", | ||
| "8.19.2": "4.11.0", | ||
| "8.19.1": "4.11.0", | ||
| "8.19.0": "4.11.0", | ||
| "8.18.1": "4.11.0", | ||
| "8.17.0": "4.11.0", | ||
| "8.16.0": "4.11.0", | ||
| "8.15.0": "4.11.0", | ||
| "8.14.0": "4.11.0", | ||
| "8.13.0": "4.11.0", | ||
| "8.12.1": "4.11.0", | ||
| "8.12.0": "4.11.0", | ||
| "8.11.0": "4.11.0" | ||
| } |
This file was deleted.
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -403,7 +403,7 @@ def self.facter_version_to_loose_requirement_string(version) | |||||
| def self.facter_version_for_puppet_version(puppet_version) | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't mean to add on all the time, but I'd like to make this consistent and mention OpenVox. How about
Suggested change
And design wise: I really would appreciate a non-breaking release first (if possible). Then you may want to split out some version finding logic to a helper method. |
||||||
| return Facter.version if puppet_version.nil? | ||||||
|
|
||||||
| json_path = File.expand_path(File.join(__dir__, '..', 'ext', 'puppet_agent_facter_versions.json')) | ||||||
| json_path = File.expand_path(File.join(__dir__, '..', 'ext', 'openvox_agent_facter_versions.json')) | ||||||
| unless File.file?(json_path) && File.readable?(json_path) | ||||||
| warning "#{json_path} does not exist or is not readable, defaulting to Facter #{Facter.version}" | ||||||
| return Facter.version | ||||||
|
|
||||||
Uh oh!
There was an error while loading. Please reload this page.