hammer_cli_katello 5.0.1 → 5.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 47ec6abf31bfeb6d112458215849f32bd4c7b6e65de1a8949defa5198a19fa0b
|
|
4
|
+
data.tar.gz: '0297ed6182ebb778702d9edd55e0a5545aced2b181128fb041c4bcac2ca2047f'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b9610d76c8ed234d16c97b90fd006f7ecd72b96833c6414234c6f0fe8d3fd8b9d57a5f22cf88acdea3bb7ebbfe828224204a333d2f059782c5e411fa382ccc7a
|
|
7
|
+
data.tar.gz: 968b2a0654f1806780b0f3e66f394c64294f2a4c6a0196e859293aca54c68b986c0ca71c861ce1b7e58083a387b581e1c4fc5fb4efb8278e76d6e23a88fafd08
|
|
@@ -15,6 +15,7 @@ module HammerCLIKatello
|
|
|
15
15
|
field :default, _("Default")
|
|
16
16
|
field :hosts_count, _("Hosts Count")
|
|
17
17
|
field :activation_keys_count, _("Activation Keys Count")
|
|
18
|
+
field :hostgroups_count, _("Hostgroups Count")
|
|
18
19
|
from :organization do
|
|
19
20
|
field :name, _("Organization")
|
|
20
21
|
end
|
|
@@ -23,6 +24,53 @@ module HammerCLIKatello
|
|
|
23
24
|
build_options
|
|
24
25
|
end
|
|
25
26
|
|
|
27
|
+
class InfoCommand < HammerCLIKatello::InfoCommand
|
|
28
|
+
action :show
|
|
29
|
+
|
|
30
|
+
output do
|
|
31
|
+
field :id, _("Id")
|
|
32
|
+
field :name, _("Name")
|
|
33
|
+
field :label, _("Label")
|
|
34
|
+
field :default, _("Default"), Fields::Boolean
|
|
35
|
+
field :created_at, _("Created At")
|
|
36
|
+
field :updated_at, _("Updated At")
|
|
37
|
+
from :organization do
|
|
38
|
+
field :id, _("Organization Id")
|
|
39
|
+
field :name, _("Organization")
|
|
40
|
+
field :label, _("Organization Label")
|
|
41
|
+
end
|
|
42
|
+
from :content_view do
|
|
43
|
+
field :id, _("Content View Id")
|
|
44
|
+
field :name, _("Content View")
|
|
45
|
+
field :label, _("Content View Label")
|
|
46
|
+
field :default, _("Default Content View"), Fields::Boolean
|
|
47
|
+
end
|
|
48
|
+
from :lifecycle_environment do
|
|
49
|
+
field :id, _("Lifecycle Environment Id")
|
|
50
|
+
field :name, _("Lifecycle Environment")
|
|
51
|
+
field :label, _("Lifecycle Environment Label")
|
|
52
|
+
field :library, _("Library"), Fields::Boolean
|
|
53
|
+
end
|
|
54
|
+
field :hosts_count, _("Hosts Count")
|
|
55
|
+
field :activation_keys_count, _("Activation Keys Count")
|
|
56
|
+
field :hostgroups_count, _("Hostgroups Count")
|
|
57
|
+
|
|
58
|
+
collection :activation_keys, _("Activation Keys"), :hide_blank => true, :hide_empty => true do
|
|
59
|
+
field :id, _("Id")
|
|
60
|
+
field :name, _("Name")
|
|
61
|
+
field :label, _("Label")
|
|
62
|
+
end
|
|
63
|
+
|
|
64
|
+
collection :hostgroups, _("Hostgroups"), :hide_blank => true, :hide_empty => true do
|
|
65
|
+
field :id, _("Id")
|
|
66
|
+
field :name, _("Name")
|
|
67
|
+
field :title, _("Title")
|
|
68
|
+
end
|
|
69
|
+
end
|
|
70
|
+
|
|
71
|
+
build_options
|
|
72
|
+
end
|
|
73
|
+
|
|
26
74
|
autoload_subcommands
|
|
27
75
|
end
|
|
28
76
|
end
|