Skip to content

Commit 1b39736

Browse files
committed
Fixes #33577 - Only enable Foreman Puppet plugin with Foreman
If the user passed in --no-enable-foreman then the Foreman plugin should not be enabled.
1 parent e56d06d commit 1b39736

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
unless answers.key?('foreman::plugin::puppet')
2-
answers['foreman::plugin::puppet'] = true
2+
answers['foreman::plugin::puppet'] = (answers['foreman'] != false)
33
end
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
unless answers.key?('foreman::plugin::puppet')
2-
answers['foreman::plugin::puppet'] = true
2+
answers['foreman::plugin::puppet'] = (answers['foreman'] != false)
33
end

0 commit comments

Comments
 (0)