Feature #4197

Foreman package should handle creation of plugin directories

Added by Eric Helms over 3 years ago. Updated over 3 years ago.

Status:Closed
Priority:Normal
Assigned To:Eric Helms
Category:Packaging
Target version:Sprint 20
Difficulty: Bugzilla link:
Found in release: Pull request:
Story points-
Velocity based estimate-
Release1.5.0Release relationshipAuto

Description

For consistency among plugins, the Foreman package should handle creation of plugin directories for things like configuration and log files. A suggested structure is:

/var/log/foreman/plugins/<plugin_name/<log_files>
/etc/foreman/plugins/<plugin_name/<config_files>


Related issues

Related to Foreman - Bug #5482: Errror when doing an rpm based upgrade from 1.4.1 to 1.5.RC2 Resolved 04/29/2014

Associated revisions

Revision 5c99d8e8
Added by Eric Helms over 3 years ago

Fixes #4197: Adds 'plugins' directory to /var/log/foreman, /etc/foreman,
and /usr/share/foreman to allow plugins to install their own log, config
and other files.

Revision 39397a87
Added by Eric Helms over 3 years ago

Fixes #4197: Adds 'plugins' directory to /var/log/foreman, /etc/foreman, and
/usr/share/foreman to allow plugins to install their own log, config and other
files.

History

#1 Updated by Dominic Cleal over 3 years ago

  • Category set to Packaging

Just the parent "plugins/" directory I assume?

This might be a good time to get settings.plugins.d/ handled in our packages, e.g. under /etc/foreman/.

#2 Updated by Greg Sutcliffe over 3 years ago

We'll need a trivial patch to config/settings.rb to load stuff in subdirs. Should just be changing *.yaml to **/*.yaml.

#3 Updated by Dominic Cleal over 3 years ago

  • Status changed from New to Ready For Testing
  • Assigned To set to Eric Helms
  • Target version set to Sprint 19

#4 Updated by Dmitri Dolguikh over 3 years ago

  • Target version changed from Sprint 19 to Sprint 20

#5 Updated by Eric Helms over 3 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#6 Updated by Dominic Cleal over 3 years ago

  • Release set to 1.5.0

#7 Updated by Dominic Cleal over 3 years ago

  • Related to Bug #5482: Errror when doing an rpm based upgrade from 1.4.1 to 1.5.RC2 added

Also available in: Atom PDF