Commit Graph

20 Commits

Author SHA1 Message Date
Takashi Kajinami da45ce8a21 Replace legacy facts and use fact hash
... because the latest lint no longer allows usage of legacy facts and
top scope fact.

Change-Id: Ib395d70d0d528adfef6600f67f9cd6bb238f8206
2023-03-02 11:31:36 +09:00
Rajesh Tailor 82809e9095 Fix typos in parameter descriptions and tests
Change-Id: I4b368e030e207beabb1d69b9c5079d34aa494856
2022-06-27 16:11:37 +05:30
ZhongShengping a1ae65f323 Add watch_log_file option
Add support for Using logging handler designed to watch file system.

Change-Id: I2feecb96c4b859584ead37155269cb33d742e9d2
Closes-Bug: #1943212
2021-09-14 16:02:09 +08:00
Tobias Urdin 5f6411c3dd Convert all class usage to relative names
Change-Id: I9982b8476ca9dab8a338b66db75d6da6519f9266
2019-12-08 23:07:36 +01:00
ZhongShengping 778db279f1 Add log_file parameter
Change-Id: I6f8aead40646e54c8cca4a43a10ee0a9dcda09d2
Closes-Bug: #1819417
2019-03-12 13:25:42 +08:00
ZhongShengping f765eb0b0b Cleanup documentation
Make sure documentation is the same and follow
the standard which we are trying to enforce on
all modules.

Change-Id: I3ec7774580b861371290d0ce3aa257d2aa7a15ab
2018-12-13 17:11:11 +08:00
Tobias Urdin 2b5f6bc87a Remove deprecated logging
Change-Id: I6cdcfd0eb37444fc7e0fa02c4d875dd28537d6b9
2018-11-29 10:29:44 +01:00
ZhongShengping befa77c079 Add use_journal option for logging configuration
This enables oslo.log to pass logging records to journald.

Change-Id: Iff58d247fe90fa8d81769599d7ce994077c032d9
2018-01-15 15:50:08 +08:00
Juan Antonio Osorio Robles 50d7c113f8 Expose use_json logging option
It enables JSON-formatted logging from oslo.log.

Change-Id: I57eaa1209e6942a9e76e7988761fea854c838dc5
2017-11-27 14:54:23 +02:00
Juan Antonio Osorio Robles f12aea2145 Accept empty strings for log_dir
An empty string is an acceptable value of this entry, and it forces
logging to stdout/stderr, which is useful when running on containers.

Change-Id: I8c3a635688ef98e6038c2bee33cd253da8d3baf0
2017-10-06 13:00:15 +03:00
Iury Gregory Melo Ferreira eecda65a11 Remove verbose
Since we are in Ocata we should remove the
verbose option that was deprecated

Change-Id: Ife75d144e7c0bde13ece85472fa446af12c0650e
2016-10-25 20:02:37 -03:00
Mykyta Karpin 468a12493d Fix documentation for log_dir parameter
Change-Id: Ifba8e0b5f9119426a8093a0124e5bb5d4e89b20a
Partial-Bug: #1600294
2016-10-10 16:17:42 +03:00
Iury Gregory Melo Ferreira dcc6dc20fd Deprecate verbose option in logging
Option "verbose" from group "DEFAULT" is deprecated for removal.
The parameter has no effect.
-Deprecated verbose for logging and init
-Remove verbose in README
-Remove verbose from tests.

If this option is not set explicitly, there is no such warning

Change-Id: I0a3a42341e4dd32196beb793d718edf85850394f
2016-05-18 01:49:23 -03:00
Denis Egorenko 6099d5c097 Totally drop Qpid support
Qpid was removed in Mitaka from Oslo Messaging, so now we can
drop it in manifests.

Change-Id: I5702e42ec50e3ea4612434f9d3c836d0b0356c29
2016-04-18 14:05:14 +03:00
dmburmistrov 07dd209c02 Set oslo options in heat module through puppet-oslo
Key moments:
  * use oslo::{db,log}, oslo::messaging::{default,
    notifications,rabbit}
  * update top-file docs
  * add new parameters provided by oslo
  * update tests accordingly
  * add oslo dependency to "metadata.json"
  * add release notes
  * purge qpid rpc_backend configuration

Change-Id: I1a0df52a2e1475fbbf171e138ad3ef67566b041d
2016-04-11 16:47:46 +03:00
Mykyta Karpin ae20443751 Switch Heat to $::os_service_default - part 1
Switching Heat to usage of os_service_default fact

Change-Id: Iff9cda880bb938b1fff3bf217c7cbf233daaf68a
Related-bug: #1515273
2015-11-26 18:21:56 +02:00
Clayton O'Neill dca9fe942b Move deps & external hooks into a standalone class
Previously the anchors and dependencies that allow external hooks were
all in the main ::heat class.  However, if you wanted to include just
::heat::db::mysql, then it would fail, since it assumed the main heat
class was included.  This moves all of those resources and relationships
into a new class, ::heat::deps.  All of the classes will now include
this class so that the anchors and deps are always evaluated even if
only a portion of the classes are used, and even if ::heat isn't pulled
in.

Change-Id: I4297df160a7afae2b66c1ac76e37de313fa4fb09
Closes-Bug: #1507934
2015-10-20 09:57:36 -04:00
Yanis Guenane 9ad6f36ea4 Put all the logging related parameters to the logging class
Currently logging configuration is splitted in two distinct classes, the
init.pp and the logging.pp classes. This review aims to centralize all
logging related parameters in a single class, the logging.pp one.

The impacted parameters are :

  * use_syslog
  * use_stderr
  * log_facility
  * verbose
  * debug
  * log_dir

This change remains backward compatible with what is currently in place

Change-Id: Ia040f7c935941da0b747cf3e8b5eda1abf2ae07a
2015-10-01 10:11:47 +02:00
Gael Chamoulaud 45a35dc2ec Add puppet-lint-param-docs plugins to puppet-lint
- This puppet-lint plugin checks if all parameters are documented
- Fix some unaligned arrows
- https://github.com/domcleal/puppet-lint-param-docs

Change-Id: I5e73747b726191bc4fc55e6e227892507e185871
Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
2014-11-13 12:42:40 +01:00
Johannes Grassler 2492ef5fb3 Add extended logging options.
There is a range of extended logging options in Openstack services that use
openstack.common.logger (Ceilometer, Cinder, Heat, Keystone, Nova). Adding
heat::logging to support them. This change is identical to
<https://review.openstack.org/#/c/113560/> but it applies to puppet-heat
instead of puppet-ceilometer.

No blueprint/spec, as discussed in the IRC meeting on 08-11-2014.

Change-Id: Ia120b799d676e516d8e593088f93d44891c20cbd
2014-09-01 12:42:16 +00:00