Project

General

Profile

Feature #4197

Foreman package should handle creation of plugin directories

Added by Eric Helms over 5 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Packaging
Target version:
Difficulty:
Triaged:
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:

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.RC2Resolved2014-04-29

Associated revisions

Revision 5c99d8e8 (diff)
Added by Eric Helms over 5 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 (diff)
Added by Eric Helms over 5 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 5 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 5 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 5 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Eric Helms
  • Target version set to 1.9.2

#4 Updated by Dmitri Dolguikh over 5 years ago

  • Target version changed from 1.9.2 to 1.9.1

#5 Updated by Eric Helms over 5 years ago

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

#6 Updated by Dominic Cleal over 5 years ago

  • Legacy Backlogs Release (now unused) set to 4

#7 Updated by Dominic Cleal about 5 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