katello 2.4.4 → 2.4.5
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of katello might be problematic. Click here for more details.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: be38f4975bf5c9b2a8596c82d63f2ca60a8bfd58
|
4
|
+
data.tar.gz: 5dbf0236b140b5938f842fcb1298766087b04072
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 944515a03d76c5260454ae0ba04699eae107eed5ecf5c4827da0ebd5dc475e2c0d886f5460bbe29fc19452d6cc42d2a7c8381ad7cdbae99b0ed7ee800eaab47a
|
7
|
+
data.tar.gz: a3c8ee25acd0adcd3fe5df7da7b45ad6c3045f1b5bdd1d380ace390fdbbb30c33ddc19d1e8fedaa66e2071f0ee8dacd88a630e3fa60360fdba0547dad6819572
|
data/config/katello.yml
ADDED
@@ -0,0 +1,242 @@
|
|
1
|
+
# This file contains default values for Katello configuration.
|
2
|
+
#
|
3
|
+
# DO NOT EDIT THIS FILE
|
4
|
+
#
|
5
|
+
# Add `/etc/katello/katello.yml` (or `config/katello.yml` in development) to override default values,
|
6
|
+
# file is required even if it's blank.
|
7
|
+
|
8
|
+
# Katello configuration
|
9
|
+
#
|
10
|
+
# :vim:sw=2:ts=2:et:
|
11
|
+
|
12
|
+
# Common configuration
|
13
|
+
#
|
14
|
+
# The following configuration values are the same for production, test
|
15
|
+
# and development environments. Values can be overridden bellow.
|
16
|
+
#
|
17
|
+
common:
|
18
|
+
ssl_client_key: '/etc/pki/katello/private/abed.usersys.redhat.com-pulp-client.key'
|
19
|
+
ssl_client_cert: '/etc/pki/katello/certs/abed.usersys.redhat.com-pulp-client.crt'
|
20
|
+
use_cp: # set to true/false if you want to override default
|
21
|
+
use_pulp: # set to true/false if you want to override default
|
22
|
+
use_elasticsearch: # set to true/false if you want to override default
|
23
|
+
|
24
|
+
rest_client_timeout: 30
|
25
|
+
gpg_strict_validation: false
|
26
|
+
|
27
|
+
# Puppet publishing location
|
28
|
+
puppet_repo_root: '/etc/puppet/environments/'
|
29
|
+
|
30
|
+
elastic_index: katello
|
31
|
+
elastic_url: http://localhost:9200
|
32
|
+
|
33
|
+
post_sync_url: "http://localhost:3000/katello/api/v2/repositories/sync_complete?token=katello"
|
34
|
+
|
35
|
+
simple_search_tokens: [":", " and\\b", " or\\b", " not\\b"]
|
36
|
+
|
37
|
+
redhat_repository_url: https://cdn.redhat.com
|
38
|
+
redhat_docker_registry_url: https://registry.access.redhat.com
|
39
|
+
|
40
|
+
qpid:
|
41
|
+
url: amqp:ssl:troy.usersys.redhat.com:5671
|
42
|
+
subscriptions_queue_address: katello_event_queue
|
43
|
+
|
44
|
+
consumer_cert_rpm: 'katello-ca-consumer-latest.noarch.rpm'
|
45
|
+
|
46
|
+
#setup how often you want
|
47
|
+
#your notifications to be checked
|
48
|
+
#for you to receive the right notifications
|
49
|
+
#default value = 45 seconds
|
50
|
+
#
|
51
|
+
notification:
|
52
|
+
polling_seconds: 120
|
53
|
+
|
54
|
+
# Setup your candlepin environment here
|
55
|
+
candlepin:
|
56
|
+
# refers to the url of the candlepin
|
57
|
+
# example https://localhost:8443/candlepin
|
58
|
+
url: https://localhost:8443/candlepin
|
59
|
+
|
60
|
+
# Specify your oauth key and secret used to authenticate between Katello and Candlepin
|
61
|
+
oauth_key: katello
|
62
|
+
oauth_secret: katello
|
63
|
+
|
64
|
+
# refers to the candlepin-ca.crt location that is needed
|
65
|
+
# to connect to candlepin over https.This is not necessary
|
66
|
+
# if the candlepin server is running on the same machine as katello
|
67
|
+
# but required if the server is on a different machine.
|
68
|
+
# In the different machine case the katello host needs to have a
|
69
|
+
# copy of /etc/candlepin/certs/candlepin-ca.crt copied from
|
70
|
+
# the candlepin host and the location of the copied file needs to be
|
71
|
+
# specified here..
|
72
|
+
ca_cert_file:
|
73
|
+
|
74
|
+
# Setup your pulp environment here
|
75
|
+
pulp:
|
76
|
+
# refers to the url of the pulp
|
77
|
+
# example https://localhost/pulp/api
|
78
|
+
url: https://localhost/pulp/api/v2/
|
79
|
+
|
80
|
+
# Specify your oauth key and secret used to authenticate between Katello and Pulp
|
81
|
+
oauth_key: katello
|
82
|
+
oauth_secret: katello
|
83
|
+
|
84
|
+
sync_threads: 4
|
85
|
+
bulk_load_size: 100
|
86
|
+
# refers to the apache certificate
|
87
|
+
# (typically /etc/pki/tls/certs/localhost.crt) location that is needed
|
88
|
+
# to connect to pulp over https.
|
89
|
+
ca_cert_file:
|
90
|
+
default_login: admin
|
91
|
+
sync_KBlimit:
|
92
|
+
upload_chunk_size: 1048575 # upload size in bytes to pulp. see SSLRenegBufferSize in apache
|
93
|
+
skip_checksum_validation: false
|
94
|
+
|
95
|
+
# Setup proxy to use when accessing CDN.
|
96
|
+
# Katello calls CDN to retrieve list of repositories for a product
|
97
|
+
# Uncomment in case you want this calls to go through your proxy
|
98
|
+
cdn_proxy:
|
99
|
+
# host: localhost
|
100
|
+
# port: 3128
|
101
|
+
# user: login
|
102
|
+
# password: password
|
103
|
+
|
104
|
+
# when adding a new logger don't forget to add it in here even if it's disabled by default
|
105
|
+
# otherwise log trace feature won't work for such logger
|
106
|
+
logging:
|
107
|
+
# enable logging output inline in rails console
|
108
|
+
console_inline: true
|
109
|
+
# colorize log including level token based on severity
|
110
|
+
colorize: false
|
111
|
+
# adds an extra line after each log message with information from which file:line and method
|
112
|
+
# was this message logged
|
113
|
+
log_trace: false
|
114
|
+
#do not log certain paths (example /notices/get_new)
|
115
|
+
ignored_paths: []
|
116
|
+
# configuration of all loggers used in app
|
117
|
+
loggers:
|
118
|
+
# this logger is parent of all other loggers, by default this is the only one having appender
|
119
|
+
# which is used by all other loggers
|
120
|
+
root:
|
121
|
+
# only messages with severity >= this level from all loggers will be logged
|
122
|
+
level: warn
|
123
|
+
# file or syslog, for file variant you can specify other options below like filename,
|
124
|
+
# pattern or rolling options
|
125
|
+
type: file
|
126
|
+
# 'daily', 'weekly', 'monthly' or number as seconds
|
127
|
+
age: 'weekly'
|
128
|
+
# how many old log files to keep (156 = 52 * 3 = 3 years for weekly age)
|
129
|
+
keep: 156
|
130
|
+
# logger line pattern, you can use following macros
|
131
|
+
# [%c] name of the logger that generate the log event
|
132
|
+
# [%d] datestamp
|
133
|
+
# [%m] the user supplied log message
|
134
|
+
# [%p] PID of the current process
|
135
|
+
# [%r] the time in milliseconds since the program started
|
136
|
+
# [%T] the name of the thread Thread.current[:name]
|
137
|
+
# [%t] object_id of the thread
|
138
|
+
# [%F] filename where the logging request was issued
|
139
|
+
# [%L] line number where the logging request was issued
|
140
|
+
# [%M] method name where the logging request was issued
|
141
|
+
# [%X{string}] variable set using ::Logging.mdc['string'] =
|
142
|
+
pattern: "[%5l %d %c %X{uuid} #%p] %m\n"
|
143
|
+
# log filename for this environment, it will be placed into #{Rails.root}/log directory
|
144
|
+
filename: "production.log"
|
145
|
+
# you log files will be stored here
|
146
|
+
# note when you log outside of standard rails path you won't see log output in WEBrick
|
147
|
+
# STDOUT (usually not wanted in development), to use Rails default path, don't set path
|
148
|
+
# path: /var/log/katello
|
149
|
+
|
150
|
+
# you can configure each logger individually, you can turn it off completely by using key
|
151
|
+
# 'enabled' or you can adjust it's logging 'level'. If you specify level higher than root
|
152
|
+
# logger has, messages below this level are ignored. If you specify lower level than root
|
153
|
+
# they are still ignored but you can add appender in Katello::Logging just for this logger
|
154
|
+
# and see these logs outside of main log.
|
155
|
+
sql:
|
156
|
+
enabled: false
|
157
|
+
app:
|
158
|
+
enabled: true
|
159
|
+
glue:
|
160
|
+
enabled: true
|
161
|
+
pulp_rest:
|
162
|
+
enabled: true
|
163
|
+
cp_rest:
|
164
|
+
enabled: true
|
165
|
+
cp_proxy:
|
166
|
+
enabled: true
|
167
|
+
foreman_rest:
|
168
|
+
enabled: true
|
169
|
+
action:
|
170
|
+
enabled: true
|
171
|
+
# tire is a special case, all logs coming from it are debug level however they count depends
|
172
|
+
# on root level configuration, e.g. root debug level will print most info from tire
|
173
|
+
# unfortunately there is currently no better way
|
174
|
+
tire_rest:
|
175
|
+
enabled: false
|
176
|
+
yard:
|
177
|
+
enabled: false
|
178
|
+
#
|
179
|
+
# Production environment configuration
|
180
|
+
#
|
181
|
+
# The following configuration values override ones from the common section
|
182
|
+
#
|
183
|
+
production:
|
184
|
+
logging:
|
185
|
+
loggers:
|
186
|
+
sql:
|
187
|
+
level: fatal
|
188
|
+
|
189
|
+
#
|
190
|
+
# Development environment configuration
|
191
|
+
#
|
192
|
+
# The following configuration values override ones from the common section
|
193
|
+
#
|
194
|
+
development:
|
195
|
+
logging:
|
196
|
+
ignored_paths: ['/notices/get_new', '/assets/', '/api/tasks/bulk_search']
|
197
|
+
colorize: true
|
198
|
+
loggers:
|
199
|
+
root:
|
200
|
+
level: debug
|
201
|
+
type: file
|
202
|
+
age: 'monthly'
|
203
|
+
keep: 1
|
204
|
+
pattern: "[%5l %d %c] %m\n"
|
205
|
+
filename: "development.log"
|
206
|
+
yard:
|
207
|
+
level: info
|
208
|
+
|
209
|
+
# To enable external logs tailing add optional 'tail_command:' option to a logger configuration,
|
210
|
+
# standard output of the command is logged. Useful with `tail` command. E.g.
|
211
|
+
#
|
212
|
+
# tail-pulp:
|
213
|
+
# enabled: true
|
214
|
+
# tail_command: ssh root@a_host -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no tail -f /var/log/pulp/pulp.log
|
215
|
+
# tail-cp:
|
216
|
+
# enabled: true
|
217
|
+
# tail_command: ssh root@a_host -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no tail -f /var/log/tomcat6/catalina.out
|
218
|
+
# tail-kt-client:
|
219
|
+
# enabled: true
|
220
|
+
# tail_command: tail -f ~/.katello/client.log
|
221
|
+
# tail-foreman:
|
222
|
+
# enabled: true
|
223
|
+
# tail_command: tail -f ~/Workspace/redhat/foreman/log/development.log
|
224
|
+
|
225
|
+
|
226
|
+
#
|
227
|
+
# Test environment configuration
|
228
|
+
#
|
229
|
+
# The following configuration values override ones from the common section
|
230
|
+
#
|
231
|
+
test:
|
232
|
+
elastic_index: katello_test
|
233
|
+
logging:
|
234
|
+
colorize: false
|
235
|
+
loggers:
|
236
|
+
root:
|
237
|
+
level: debug
|
238
|
+
type: file
|
239
|
+
age: 'monthly'
|
240
|
+
keep: 1
|
241
|
+
pattern: "[%5l %d %c] %m\n"
|
242
|
+
filename: "test.log"
|
@@ -112,7 +112,8 @@ namespace :katello do
|
|
112
112
|
|
113
113
|
hosts = ::Host.where(:name => hostname)
|
114
114
|
if hosts.any? && hosts.where(:organization_id => system.environment.organization.id).empty? # host is not in the correct org
|
115
|
-
|
115
|
+
host_org = hosts[0].organization ? hosts[0].organization.name : ''
|
116
|
+
unregister_system(system, "Organization mismatch between Host (#{host_org}) and Content Host #{system.environment.organization.name}.")
|
116
117
|
end
|
117
118
|
end
|
118
119
|
|
data/lib/katello/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: katello
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.4.
|
4
|
+
version: 2.4.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- N/A
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-07-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -1142,6 +1142,7 @@ files:
|
|
1142
1142
|
- config/initializers/rabl_init.rb
|
1143
1143
|
- config/initializers/runcible.rb
|
1144
1144
|
- config/katello.yaml.example
|
1145
|
+
- config/katello.yml
|
1145
1146
|
- config/katello_defaults.yml
|
1146
1147
|
- config/locales/README
|
1147
1148
|
- config/locales/bn.yml
|
@@ -1261,6 +1262,7 @@ files:
|
|
1261
1262
|
- db/migrate/20150902164543_remove_apply_info_task_id_from_taxonomies.rb
|
1262
1263
|
- db/migrate/20150908222711_drop_marketing_engineering_products.rb
|
1263
1264
|
- db/migrate/20151015152947_add_virt_only_to_katello_pools.rb
|
1265
|
+
- db/migrate/20160520175340_add_host_applicable_package.rb
|
1264
1266
|
- db/seeds.rb
|
1265
1267
|
- engines/bastion_katello/README.md
|
1266
1268
|
- engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/activation-key.factory.js
|