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

Determine correct facter version based on puppet #3

Merged
merged 1 commit into from
Feb 9, 2020

Conversation

bastelfreak
Copy link
Member

This code comes from modulesync_config:
voxpupuli/modulesync_config@666105a

@bastelfreak bastelfreak merged commit 4d5a948 into voxpupuli:master Feb 9, 2020
@bastelfreak bastelfreak deleted the helper branch February 9, 2020 17:50
def suggest_facter_version
require 'bundler'
Gem::Dependency.new('', ENV['PUPPET_VERSION']).match?('', '5') ? '3.11.0' : '3.14.0'
c.default_facter_version = if ENV['FACTERDB_FACTS_VERSION']
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This can't work. There is no c i this scope. I'll submit a PR to fix this.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#4

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

Successfully merging this pull request may close these issues.

3 participants