Skip to content

Commit

Permalink
Merge pull request #742 from b4ldr/optional_app_managment
Browse files Browse the repository at this point in the history
allow users to disable app_managment for puppet4
  • Loading branch information
DavidS committed Nov 9, 2020
2 parents e2c7143 + a71ad5c commit f2e05f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rspec-puppet/support.rb
Expand Up @@ -392,7 +392,7 @@ def setup_puppet

# Enable app_management by default for Puppet versions that support it
if Puppet::Util::Package.versioncmp(Puppet.version, '4.3.0') >= 0 && Puppet.version.to_i < 5
Puppet[:app_management] = true
Puppet[:app_management] = ENV.include?('PUPPET_NOAPP_MANAGMENT') ? false : true
end

adapter.modulepath.map do |d|
Expand Down

0 comments on commit f2e05f4

Please sign in to comment.