hammer_cli_foreman_admin 0.0.10 → 1.0.0

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: 30b52edc3139d699b7ca9cd9f3a9668597efbbdd43d3457f17b40f5aaf0b6331
4
- data.tar.gz: ef5639aad2695e97da3da5c91d21280590aac2a83c180f45ba0a23a1fc31a32c
3
+ metadata.gz: 7e56eb5fd9dcad105d8bb7045dfa781c1c1d7ffaff36a0c3d6d94996a9743f68
4
+ data.tar.gz: 83de0e56ae967dcf3d9a459be586cb450619a9296678d8c4d988f79b093336ec
5
5
  SHA512:
6
- metadata.gz: 3fc58fc65ecfae667bd82bfb021627034eb593df34a20eaa0e1bd0ed5d35fd355b69edfc841db2e3b8f9792bb227d19ca28da4a94d1425a093a9aef0562fe7a9
7
- data.tar.gz: 1f3ee1be6da582fd5588af60da3523e28392e71519dcd5cec5883696d32ed7d18c2c77522bec153aa3c9ed2363f772fd58d888b3cd2f6a5b0503b4a4f8b5700d
6
+ metadata.gz: c94ff22b0cbae5542f47e7c40703a197cef40c5bd28b898d56e6b8f159dfee568d28c896edcefcac5af0942110975440338c06116da94362e59a220edc0743e3
7
+ data.tar.gz: 9f4c3b3457fd0d7577684b914094dfd45bde8261f6e9b86b99743423596dba8fad0f4f4e1f093a573baef04806df8ffb2912b198b7ba4e8514cff8a1fcc320aa
data/README.md CHANGED
@@ -35,19 +35,19 @@ Currently recognized components (files):
35
35
 
36
36
  # hammer admin logging --list
37
37
  -----------|-------------------------------------|-------------------------------------
38
- COMPONENT | AUTO-DETECTED BY EXISTENCE OF | DESTINATIONS
38
+ COMPONENT | AUTO-DETECTED BY EXISTENCE OF | DESTINATIONS
39
39
  -----------|-------------------------------------|-------------------------------------
40
- postgresql | /var/lib/pgsql/data/postgresql.conf | syslog /var/lib/pgsql/data/pg_log/
41
- rails | /etc/foreman/settings.yaml | /var/log/foreman/production.log
42
- proxy | /etc/foreman-proxy/settings.yml | /var/log/foreman-proxy/proxy.log
43
- puppet | /etc/puppet/puppet.conf | /var/log/puppet/masterhttp.log
44
- dhcpd | /etc/dhcp/dhcpd.conf | syslog /var/log/dhcpd-debug.log
45
- named | /etc/named.conf | syslog
46
- tftp | /etc/xinetd.d/tftp | syslog
47
- qpidd | /etc/qpid/qpidd.conf | syslog
40
+ postgresql | /var/lib/pgsql/data/postgresql.conf | syslog /var/lib/pgsql/data/pg_log
41
+ rails | /etc/foreman/settings.yaml | /var/log/foreman/production.log
42
+ proxy | /etc/foreman-proxy/settings.yml | /var/log/foreman-proxy/proxy.log
43
+ puppet | /etc/puppet/puppet.conf | /var/log/puppet/masterhttp.log
44
+ dhcpd | /etc/dhcp/dhcpd.conf | syslog /var/log/dhcpd-debug.log
45
+ named | /etc/named.conf | syslog
46
+ tftp | /etc/xinetd.d/tftp | syslog
47
+ qpidd | /etc/qpid/qpidd.conf | syslog
48
48
  tomcat | /etc/candlepin/candlepin.conf | /var/log/candlepin/ /var/log/tomcat/
49
- pulp | /etc/pulp/server.conf | syslog /var/log/pulp-debug.log
50
- virt-who | /etc/sysconfig/virt-who | syslog
49
+ pulp | /etc/pulp/server.conf | syslog /var/log/pulp-debug.log
50
+ virt-who | /etc/sysconfig/virt-who | syslog
51
51
  -----------|-------------------------------------|-------------------------------------
52
52
 
53
53
  The tool uses search and replace approach declared in YAML configuration files
@@ -58,5 +58,4 @@ The tool uses search and replace approach declared in YAML configuration files
58
58
  To test the logging subcommand, use the fixture examples and compare with git
59
59
  diff:
60
60
 
61
- PWD=$(pwd)
62
- hammer -d admin logging --prefix $PWD/test/fixture_tree/ --no-backup -a -d
61
+ hammer -d admin logging --prefix $(pwd)/test/fixture_tree/ --no-backup -a -d
@@ -138,3 +138,19 @@
138
138
  -
139
139
  :action: ensure_line_is_present
140
140
  :line: ["server_args", "=", "-v -s /var/lib/tftpboot -m /etc/tftpd.map"]
141
+ -
142
+ :name: redis
143
+ :friendly_name: Redis
144
+ :file: /etc/opt/rh/rh-redis5/redis.conf
145
+ :destinations: "/var/log/redis/redis.log"
146
+ :services: ["rh-redis5-redis"]
147
+ :debug:
148
+ -
149
+ :action: ensure_line_is_present
150
+ :line: ["loglevel", " ", "debug"]
151
+ :join_with: ''
152
+ :production:
153
+ -
154
+ :action: ensure_line_is_present
155
+ :line: ["loglevel", " ", "notice"]
156
+ :join_with: ''
@@ -58,6 +58,22 @@
58
58
  :action: ensure_line_is_present
59
59
  :line: ["log_level", ": ", "INFO"]
60
60
  :join_with: ''
61
+ -
62
+ :name: pulpcore
63
+ :friendly_name: Pulpcore
64
+ :file: /etc/pulp/settings.py
65
+ :destinations: "syslog"
66
+ :services: ["pulpcore-content", "pulpcore-api", "pulpcore-workers@*"]
67
+ :debug:
68
+ -
69
+ :action: ensure_line_is_present
70
+ :line: [" 'level'", ": ", "'DEBUG',"]
71
+ :join_with: ''
72
+ :production:
73
+ -
74
+ :action: ensure_line_is_present
75
+ :line: [" 'level'", ": ", "'INFO',"]
76
+ :join_with: ''
61
77
  -
62
78
  :name: virt-who
63
79
  :friendly_name: Virt-who utility
@@ -1,5 +1,5 @@
1
1
  module HammerCLIForemanAdmin
2
2
  def self.version
3
- @version ||= Gem::Version.new '0.0.10'
3
+ @version ||= Gem::Version.new '1.0.0'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hammer_cli_foreman_admin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.10
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lukas Zapletal
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-06-02 00:00:00.000000000 Z
11
+ date: 2021-07-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: hammer_cli