Skip to content

Commit f2e05f4

Browse files
authored
Merge pull request #742 from b4ldr/optional_app_managment
allow users to disable app_managment for puppet4
2 parents e2c7143 + a71ad5c commit f2e05f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rspec-puppet/support.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ def setup_puppet
392392

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

398398
adapter.modulepath.map do |d|

0 commit comments

Comments
 (0)