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

modulesync 2.1.0 & add puppet 6 support #271

Merged
merged 5 commits into from
Oct 5, 2018
Merged

modulesync 2.1.0 & add puppet 6 support #271

merged 5 commits into from
Oct 5, 2018

Conversation

bastelfreak
Copy link
Member

Pull Request (PR) description

This Pull Request (PR) fixes the following issues

@bastelfreak bastelfreak changed the title modulesync 2.1.0 modulesync 2.1.0 & add puppet 6 support Sep 21, 2018
metadata.json Outdated Show resolved Hide resolved
@oranenj
Copy link
Contributor

oranenj commented Sep 21, 2018

I did a bit of testing using my test puppet master.

I upgraded it to Puppet 6 and then added selinux_core to an environment containing puppet 5 agents. It seems the puppet 5 agents either ignore or do not mind that they get synced the extra providers; selmodule seems to continue working as previously.

Therefore it seems safe to include the dependency on selinux_core in the metadata file, though I'm still undecided as to whether we should.

@oranenj
Copy link
Contributor

oranenj commented Sep 21, 2018

https://puppet.com/docs/puppet/6.0/type.html#supported-types-in-modules states that selmodule is included in the puppet 6 distribution. Therefore having it as a dependency is redundant, since it is already implied by having Puppet installed.

@alexjfisher
Copy link
Member

@oranenj What we're not 100% sure on is the implications of putting it in .fixtures.yml. It appears to be required for puppet 6, and currently not break puppet 5, but it still feels wrong/dangerous loading code that isn't supposed to be there into a puppet 4/5 master's environment. If it works today, will it work tomorrow?

I'd still like to wait a bit longer for some guidance to come back from puppet. ping @binford2k ;)

Maybe puppet will ship the core modules as gems?? Maybe they'll update puppetlabs_spec_helper??

Gemfile Outdated
@@ -11,8 +11,7 @@ def location_for(place, fake_version = nil)
end

group :test do
gem 'puppetlabs_spec_helper', '~> 2.6', :require => false
gem 'rspec-puppet', '~> 2.5', :require => false
gem 'puppetlabs_spec_helper', '>= 2.10.0', :require => false
Copy link
Member

Choose a reason for hiding this comment

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

2.11.0 has the change needed for .fixtures

@bastelfreak bastelfreak merged commit bbedb6e into master Oct 5, 2018
@bastelfreak bastelfreak deleted the modulesync branch October 5, 2018 18:49
EmRowlands pushed a commit to EmRowlands/puppet-selinux that referenced this pull request Mar 29, 2023
modulesync 2.1.0 & add puppet 6 support
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