hammer_cli_foreman_admin 0.0.1 → 0.0.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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e1eee97382feed46eede55fe79b26de8c9fbf11a
|
4
|
+
data.tar.gz: 98894d990b12d0d9cd100d547fc772e26edd1d1c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2f222742399daaf90b4ca339f95fa53a04b672ac4efdbe9ba3d75ef19087463d400c131728cbc89c191a1eb43ee922772ec67446ccde98cbbc2c653ecce24c0e
|
7
|
+
data.tar.gz: fd90c0356380561b07a50d942e2372e89657191d74569f476dfe8ebbaa44a0554f8a1acb67fd58c81e4513a6f8230605841c2ad20d99f94e46936dfd93105bc3
|
@@ -10,6 +10,7 @@
|
|
10
10
|
:name: postgresql
|
11
11
|
:friendly_name: PostgreSQL
|
12
12
|
:file: /var/lib/pgsql/data/postgresql.conf
|
13
|
+
:destinations: "syslog /var/lib/pgsql/data/pg_log/"
|
13
14
|
:debug:
|
14
15
|
-
|
15
16
|
:action: ensure_line_is_present
|
@@ -34,6 +35,7 @@
|
|
34
35
|
:name: rails
|
35
36
|
:friendly_name: Rails WebUI
|
36
37
|
:file: /etc/foreman/settings.yaml
|
38
|
+
:destinations: "/var/log/foreman/production.log"
|
37
39
|
:services: ["apache2", "httpd"]
|
38
40
|
:debug:
|
39
41
|
-
|
@@ -47,6 +49,7 @@
|
|
47
49
|
:name: proxy
|
48
50
|
:friendly_name: Foreman Proxy
|
49
51
|
:file: /etc/foreman-proxy/settings.yml
|
52
|
+
:destinations: "/var/log/foreman-proxy/proxy.log"
|
50
53
|
:services: ["foreman-proxy"]
|
51
54
|
:debug:
|
52
55
|
-
|
@@ -60,6 +63,7 @@
|
|
60
63
|
:name: puppet
|
61
64
|
:friendly_name: Foreman Proxy
|
62
65
|
:file: /etc/puppet/puppet.conf
|
66
|
+
:destinations: "/var/log/puppet/masterhttp.log"
|
63
67
|
:services: ["apache2", "httpd"]
|
64
68
|
:debug:
|
65
69
|
-
|
@@ -73,6 +77,7 @@
|
|
73
77
|
:name: dhcpd
|
74
78
|
:friendly_name: ISC DHCP
|
75
79
|
:file: /etc/dhcp/dhcpd.conf
|
80
|
+
:destinations: "syslog /var/log/dhcpd-debug.log"
|
76
81
|
:services: ["apache2", "httpd"]
|
77
82
|
:debug:
|
78
83
|
-
|
@@ -93,6 +98,7 @@
|
|
93
98
|
:name: named
|
94
99
|
:friendly_name: ISC DNS
|
95
100
|
:file: /etc/named.conf
|
101
|
+
:destinations: "syslog"
|
96
102
|
:debug:
|
97
103
|
-
|
98
104
|
:action: run_command
|
@@ -105,6 +111,7 @@
|
|
105
111
|
:name: tftp
|
106
112
|
:friendly_name: ISC TFTP
|
107
113
|
:file: /etc/xinetd.d/tftp
|
114
|
+
:destinations: "syslog"
|
108
115
|
:services: ["xinetd"]
|
109
116
|
:debug:
|
110
117
|
-
|
@@ -10,6 +10,7 @@
|
|
10
10
|
:name: mongod
|
11
11
|
:friendly_name: MondoDB
|
12
12
|
:file: /etc/mongod.conf
|
13
|
+
:destinations: "syslog"
|
13
14
|
:debug:
|
14
15
|
-
|
15
16
|
:action: ensure_line_is_present
|
@@ -22,6 +23,7 @@
|
|
22
23
|
:name: qpidd
|
23
24
|
:friendly_name: QPID broker
|
24
25
|
:file: /etc/qpid/qpidd.conf
|
26
|
+
:destinations: "syslog"
|
25
27
|
:debug:
|
26
28
|
-
|
27
29
|
:action: ensure_line_is_present
|
@@ -34,6 +36,7 @@
|
|
34
36
|
:name: tomcat
|
35
37
|
:friendly_name: Candlepin
|
36
38
|
:file: /etc/candlepin/candlepin.conf
|
39
|
+
:destinations: "/var/log/candlepin/ /var/log/tomcat/"
|
37
40
|
:services: ["tomcat6", "tomcat"]
|
38
41
|
:debug:
|
39
42
|
-
|
@@ -47,6 +50,7 @@
|
|
47
50
|
:name: pulp
|
48
51
|
:friendly_name: Pulp
|
49
52
|
:file: /etc/pulp/server.conf
|
53
|
+
:destinations: "syslog /var/log/pulp-debug.log"
|
50
54
|
:services: ["pulp_workers", "pulp_celerybeat", "pulp_resource_manager"]
|
51
55
|
:debug:
|
52
56
|
-
|
@@ -67,6 +71,7 @@
|
|
67
71
|
:name: virt-who
|
68
72
|
:friendly_name: Virt-who utility
|
69
73
|
:file: /etc/sysconfig/virt-who
|
74
|
+
:destinations: "syslog"
|
70
75
|
:debug:
|
71
76
|
-
|
72
77
|
:action: ensure_line_is_present
|
@@ -117,8 +117,9 @@ module HammerCLIForemanAdmin
|
|
117
117
|
configuration = HammerCLI::Settings.get(:admin)[:logging][:component] rescue raise("Missing logging YAML definitions (foreman_admin_logging_*.yml)")
|
118
118
|
if option_list?
|
119
119
|
output_definition = HammerCLI::Output::Definition.new
|
120
|
-
output_definition.fields << Fields::Field.new(:label => _('Component
|
120
|
+
output_definition.fields << Fields::Field.new(:label => _('Component'), :path => ["name"])
|
121
121
|
output_definition.fields << Fields::Field.new(:label => _('Auto-detected by existence of'), :path => ["file"])
|
122
|
+
output_definition.fields << Fields::Field.new(:label => _('Destinations'), :path => ["destinations"])
|
122
123
|
output = HammerCLI::Output::Output.new(context, :default_adapter => :table)
|
123
124
|
output.print_collection(output_definition, HammerCLI::Settings.get(:admin)[:logging][:component])
|
124
125
|
else
|
metadata
CHANGED
@@ -1,27 +1,27 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hammer_cli_foreman_admin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lukas Zapletal
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-06-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: hammer_cli
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - '>='
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - '>='
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
27
|
description: Foreman administrative commands plugin for Hammer CLI
|
@@ -51,12 +51,12 @@ require_paths:
|
|
51
51
|
- lib
|
52
52
|
required_ruby_version: !ruby/object:Gem::Requirement
|
53
53
|
requirements:
|
54
|
-
- -
|
54
|
+
- - '>='
|
55
55
|
- !ruby/object:Gem::Version
|
56
56
|
version: '0'
|
57
57
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - '>='
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '0'
|
62
62
|
requirements: []
|