Skip to content

Commit a71ad5c

Browse files
committed
allow users to disable app_managment
1 parent 491b7c8 commit a71ad5c

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
@@ -355,7 +355,7 @@ def setup_puppet
355355

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

361361
adapter.modulepath.map do |d|

0 commit comments

Comments
 (0)