]> review.fuel-infra Code Review - puppet-modules/puppet-ceilometer.git/commit
Put all the logging related parameters to the logging class
authorYanis Guenane <yguenane@redhat.com>
Fri, 25 Sep 2015 07:39:58 +0000 (09:39 +0200)
committerYanis Guenane <yguenane@redhat.com>
Fri, 2 Oct 2015 08:06:17 +0000 (10:06 +0200)
commit577593222a31f6948d13f2408a0bab017a0305cd
tree9a962b59d87163d0808f1d79151c41f218044611
parent392da101bb9212cc1ae9d5c64f923f14ac9a2b9c
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: I1132395295f542f4ba5459769a5b4b829a9cd7a7
manifests/init.pp
manifests/logging.pp
spec/classes/ceilometer_init_spec.rb
spec/classes/ceilometer_logging_spec.rb