Skip to content

Commit 2ea2537

Browse files
ofedorenekohl
authored andcommitted
Refs #35675 - Add hammer-cli-foreman-google plugin
1 parent 60d07bd commit 2ea2537

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed

manifests/cli/google.pp

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# = Hammer Google plugin
2+
#
3+
# This installs the Google plugin for Hammer CLI
4+
#
5+
# === Parameters:
6+
#
7+
class foreman::cli::google {
8+
foreman::cli::plugin { 'foreman_google':
9+
}
10+
}

spec/acceptance/foreman_cli_plugins_spec.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ class { 'foreman::cli':
2525
include foreman::cli::templates
2626
include foreman::cli::webhooks
2727
include foreman::cli::puppet
28+
include foreman::cli::google
2829
PUPPET
2930
end
3031
end

spec/classes/cli_plugins_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
supported = on_supported_os
44

5-
['ansible', 'azure', 'discovery', 'katello', 'kubevirt', 'openscap', 'remote_execution', 'ssh', 'tasks', 'templates', 'virt_who_configure', 'webhooks', 'puppet'].each do |plugin|
5+
['ansible', 'azure', 'discovery', 'katello', 'kubevirt', 'openscap', 'remote_execution', 'ssh', 'tasks', 'templates', 'virt_who_configure', 'webhooks', 'puppet', 'google'].each do |plugin|
66
describe "foreman::cli::#{plugin}" do
77
supported.each do |os, os_facts|
88
context "on #{os}" do

0 commit comments

Comments
 (0)