hammer_cli_katello 1.1.1 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3483ffbc44017985f8c8c9666c516f16da1de0d56eb29cac303a0a25eddb1aec
4
- data.tar.gz: 430de6ef3e6507a77403c6ec2087d3a14d9e0ba44e7f05a1cd8700dd50370eca
3
+ metadata.gz: d8787337433eea048dbc889beeb9d09dd0264d9f22838851544f08230e4fdb01
4
+ data.tar.gz: 280fbe62f124439debe0bcb7e19cf13f041857801d06eaf0ad2e162cdc53b36b
5
5
  SHA512:
6
- metadata.gz: 337f924bfdba710b2c1cd0246197167a03a122e6409ae7efb91fc4f3c9ee3a2131dead8e6533b78b9adc9f67df37011ec552e8a05b77eff1d03e8179a533a984
7
- data.tar.gz: 3e8e5ae66a229f028c0134afc1ddf24624260e9202d16443d6a3d80d95ae2d42ae0074000f263abe63278103750785b6d7e5b0947e7d8047fad347b7b381d157
6
+ metadata.gz: 611b6017e7bb314e31dcfa9138f37c9171a6e118e87b9174664bfe4f0569bc6b77b5b1e5cb2682ede8716c1f62aab4b9b046e6aad8e518a5dec83d0d2ddb4402
7
+ data.tar.gz: 61acf6ec874572401e818494534a264476b4300efead8781fe64f22ddbd350b33eed22eb764558fc80e5e8e3517c4df43bd24613dc84800dc7f094a333f091f2
@@ -15,6 +15,16 @@ module HammerCLIKatello
15
15
  :format => HammerCLI::Options::Normalizers::List.new,
16
16
  :attribute_name => :content)
17
17
 
18
+ def execute
19
+ warn "This command uses katello agent and will be removed in favor of remote execution " \
20
+ "in a future release."
21
+ warn "The remote execution equivalent is `hammer job-invocation create --feature " \
22
+ "katello_errata_install`. Specify the host collection with the --search-query " \
23
+ "parameter, e.g. `--search-query \"host_collection = MyCollection\"` or " \
24
+ "`--search-query \"host_collection_id=6\"`."
25
+ super
26
+ end
27
+
18
28
  def content_type
19
29
  'errata'
20
30
  end
@@ -23,6 +23,16 @@ module HammerCLIKatello
23
23
  desc _("Install packages on content hosts contained within a host collection")
24
24
  success_message _("Successfully scheduled installation of package(s).")
25
25
  failure_message _("Could not schedule installation of package(s)")
26
+
27
+ def execute
28
+ warn "This command uses katello agent and will be removed in favor of remote execution " \
29
+ "in a future release."
30
+ warn "The remote execution equivalent is `hammer job-invocation create --feature " \
31
+ "katello_package_install`. Specify the host collection with the --search-query " \
32
+ "parameter, e.g. `--search-query \"host_collection = MyCollection\"` or " \
33
+ "`--search-query \"host_collection_id=6\"`."
34
+ super
35
+ end
26
36
  end
27
37
 
28
38
  class UpdateCommand < HammerCLIKatello::HostCollection::UpdateContentBaseCommand
@@ -30,6 +40,16 @@ module HammerCLIKatello
30
40
  desc _("Update packages on content hosts contained within a host collection")
31
41
  success_message _("Successfully scheduled update of package(s).")
32
42
  failure_message _("Could not schedule update of package(s)")
43
+
44
+ def execute
45
+ warn "This command uses katello agent and will be removed in favor of remote execution " \
46
+ "in a future release."
47
+ warn "The remote execution equivalent is `hammer job-invocation create --feature " \
48
+ "katello_package_update`. Specify the host collection with the --search-query " \
49
+ "parameter, e.g. `--search-query \"host_collection = MyCollection\"` or " \
50
+ "`--search-query \"host_collection_id=6\"`."
51
+ super
52
+ end
33
53
  end
34
54
 
35
55
  class RemoveCommand < HammerCLIKatello::HostCollection::RemoveContentBaseCommand
@@ -37,6 +57,16 @@ module HammerCLIKatello
37
57
  desc _("Remove packages on content hosts contained within a host collection")
38
58
  success_message _("Successfully scheduled removal of package(s).")
39
59
  failure_message _("Could not schedule removal of package(s)")
60
+
61
+ def execute
62
+ warn "This command uses katello agent and will be removed in favor of remote execution " \
63
+ "in a future release."
64
+ warn "The remote execution equivalent is `hammer job-invocation create --feature " \
65
+ "katello_package_remove`. Specify the host collection with the --search-query " \
66
+ "parameter, e.g. `--search-query \"host_collection = MyCollection\"` or " \
67
+ "`--search-query \"host_collection_id=6\"`."
68
+ super
69
+ end
40
70
  end
41
71
 
42
72
  autoload_subcommands
@@ -23,6 +23,16 @@ module HammerCLIKatello
23
23
  desc _("Install package-groups on content hosts contained within a host collection")
24
24
  success_message _("Successfully scheduled installation of package-group(s).")
25
25
  failure_message _("Could not schedule installation of package-group(s)")
26
+
27
+ def execute
28
+ warn "This command uses katello agent and will be removed in favor of remote execution " \
29
+ "in a future release."
30
+ warn "The remote execution equivalent is `hammer job-invocation create --feature " \
31
+ "katello_group_install`. Specify the host collection with the --search-query " \
32
+ "parameter, e.g. `--search-query \"host_collection = MyCollection\"` or " \
33
+ "`--search-query \"host_collection_id=6\"`."
34
+ super
35
+ end
26
36
  end
27
37
 
28
38
  class UpdateCommand < HammerCLIKatello::HostCollection::UpdateContentBaseCommand
@@ -30,6 +40,16 @@ module HammerCLIKatello
30
40
  desc _("Update package-groups on content hosts contained within a host collection")
31
41
  success_message _("Successfully scheduled update of package-groups(s).")
32
42
  failure_message _("Could not schedule update of package-group(s)")
43
+
44
+ def execute
45
+ warn "This command uses katello agent and will be removed in favor of remote execution " \
46
+ "in a future release."
47
+ warn "The remote execution equivalent is `hammer job-invocation create --feature " \
48
+ "katello_group_update`. Specify the host collection with the --search-query " \
49
+ "parameter, e.g. `--search-query \"host_collection = MyCollection\"` or " \
50
+ "`--search-query \"host_collection_id=6\"`."
51
+ super
52
+ end
33
53
  end
34
54
 
35
55
  class RemoveCommand < HammerCLIKatello::HostCollection::RemoveContentBaseCommand
@@ -37,6 +57,16 @@ module HammerCLIKatello
37
57
  desc _("Remove package-groups on content hosts contained within a host collection")
38
58
  success_message _("Successfully scheduled removal of package-groups(s).")
39
59
  failure_message _("Could not schedule removal of package-group(s)")
60
+
61
+ def execute
62
+ warn "This command uses katello agent and will be removed in favor of remote execution " \
63
+ "in a future release."
64
+ warn "The remote execution equivalent is `hammer job-invocation create --feature " \
65
+ "katello_group_remove`. Specify the host collection with the --search-query " \
66
+ "parameter, e.g. `--search-query \"host_collection = MyCollection\"` or " \
67
+ "`--search-query \"host_collection_id=6\"`."
68
+ super
69
+ end
40
70
  end
41
71
 
42
72
  autoload_subcommands
@@ -12,6 +12,14 @@ module HammerCLIKatello
12
12
  failure_message _("Could not apply errata")
13
13
 
14
14
  build_options
15
+
16
+ def execute
17
+ warn "This command uses katello agent and will be removed in favor of remote execution " \
18
+ "in a future release."
19
+ warn "The remote execution equivalent is `hammer job-invocation create --feature " \
20
+ "katello_errata_install`."
21
+ super
22
+ end
15
23
  end
16
24
 
17
25
  class ListCommand < HammerCLIKatello::ListCommand
@@ -24,6 +24,14 @@ module HammerCLIKatello
24
24
  end
25
25
 
26
26
  build_options :without => [:groups]
27
+
28
+ def execute
29
+ warn "This command uses katello agent and will be removed in favor of remote execution " \
30
+ "in a future release."
31
+ warn "The remote execution equivalent is `hammer job-invocation create --feature " \
32
+ "katello_package_install`."
33
+ super
34
+ end
27
35
  end
28
36
 
29
37
  class UpgradeCommand < HammerCLIKatello::SingleResourceCommand
@@ -34,6 +42,14 @@ module HammerCLIKatello
34
42
  failure_message "Could not upgrade packages"
35
43
 
36
44
  build_options
45
+
46
+ def execute
47
+ warn "This command uses katello agent and will be removed in favor of remote execution " \
48
+ "in a future release."
49
+ warn "The remote execution equivalent is `hammer job-invocation create --feature " \
50
+ "katello_package_update`."
51
+ super
52
+ end
37
53
  end
38
54
 
39
55
  class UpgradeAllCommand < HammerCLIKatello::SingleResourceCommand
@@ -44,6 +60,14 @@ module HammerCLIKatello
44
60
  failure_message "Could not upgrade all packages"
45
61
 
46
62
  build_options
63
+
64
+ def execute
65
+ warn "This command uses katello agent and will be removed in favor of remote execution " \
66
+ "in a future release."
67
+ warn "The remote execution equivalent is `hammer job-invocation create --feature " \
68
+ "katello_package_update`."
69
+ super
70
+ end
47
71
  end
48
72
 
49
73
  class RemoveCommand < HammerCLIKatello::SingleResourceCommand
@@ -58,6 +82,14 @@ module HammerCLIKatello
58
82
  end
59
83
 
60
84
  build_options :without => [:groups]
85
+
86
+ def execute
87
+ warn "This command uses katello agent and will be removed in favor of remote execution " \
88
+ "in a future release."
89
+ warn "The remote execution equivalent is `hammer job-invocation create --feature " \
90
+ "katello_package_remove`."
91
+ super
92
+ end
61
93
  end
62
94
 
63
95
  autoload_subcommands
@@ -14,6 +14,14 @@ module HammerCLIKatello
14
14
  end
15
15
 
16
16
  build_options :without => [:packages]
17
+
18
+ def execute
19
+ warn "This command uses katello agent and will be removed in favor of remote execution " \
20
+ "in a future release."
21
+ warn "The remote execution equivalent is `hammer job-invocation create --feature " \
22
+ "katello_group_install`."
23
+ super
24
+ end
17
25
  end
18
26
 
19
27
  class RemoveCommand < HammerCLIKatello::SingleResourceCommand
@@ -28,6 +36,14 @@ module HammerCLIKatello
28
36
  end
29
37
 
30
38
  build_options :without => [:packages]
39
+
40
+ def execute
41
+ warn "This command uses katello agent and will be removed in favor of remote execution " \
42
+ "in a future release."
43
+ warn "The remote execution equivalent is `hammer job-invocation create --feature " \
44
+ "katello_group_remove`."
45
+ super
46
+ end
31
47
  end
32
48
 
33
49
  autoload_subcommands
@@ -1,5 +1,5 @@
1
1
  module HammerCLIKatello
2
2
  def self.version
3
- @version ||= Gem::Version.new('1.1.1')
3
+ @version ||= Gem::Version.new('1.1.2')
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hammer_cli_katello
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Price
@@ -35,7 +35,7 @@ authors:
35
35
  autorequire:
36
36
  bindir: bin
37
37
  cert_chain: []
38
- date: 2021-05-14 00:00:00.000000000 Z
38
+ date: 2021-06-01 00:00:00.000000000 Z
39
39
  dependencies:
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: hammer_cli_foreman