Feature #3308

Installer support for Foreman plugins

Added by Dominic Cleal about 4 years ago. Updated over 3 years ago.

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

Description

The installer should support installing plugins on top of Foreman, and provide classes which can install and configure plugins appropriately for most/all of those we provide packages for.

It should also support installing the optional Foreman components like foreman-compute, -libvirt, -vmware etc.


Related issues

Blocked by Kafo - Feature #3887: Support adding classes to answers file, not just top-leve... Closed 12/16/2013

Associated revisions

Revision d91d6a54
Added by Greg Sutcliffe almost 4 years ago

Refs #3308 - Ensure plugins are installed after core

Revision f5c7dd34
Added by Greg Sutcliffe over 3 years ago

Refs #3308 - Auto-create mappings hash from detected plugin/compute classes

Revision 25f85a0d
Added by Greg Sutcliffe over 3 years ago

Refs #3308 - Add plugins repo and new plugin classes

Revision ac2feb4a
Added by Greg Sutcliffe over 3 years ago

Fixes #3308 - Add compute resource classes

Revision a72a1bb4
Added by Greg Sutcliffe over 3 years ago

Refs #3308 Handle underscores vs hyphens with regsubst

History

#1 Updated by Sam Kottler about 4 years ago

  • Target version set to Sprint 16

#2 Updated by Greg Sutcliffe about 4 years ago

I assume all we really need here is an array of extra packages to install?

#3 Updated by Dominic Cleal about 4 years ago

Greg Sutcliffe wrote:

I assume all we really need here is an array of extra packages to install?

I think we should provide more than that, bearing in mind the kafo installer interface, i.e. --foreman-libvirt=true is clearer than --foreman-extra-packages=foreman-libvirt.

For plugins, I don't think a package install is sufficient. I'd say an additional Puppet class that can be enabled is needed (especially if it can use kafo's module + parameter support), as we'll probably want to provide configuration as well as just a package. Consider column_view as an example, which has an associated config file. Even for plugins that don't have config yet, we can seamlessly add it later.

#4 Updated by Dominic Cleal about 4 years ago

  • Target version changed from Sprint 16 to Sprint 17

#5 Updated by Dominic Cleal almost 4 years ago

  • Target version changed from Sprint 17 to Sprint 18

#6 Updated by Dominic Cleal almost 4 years ago

  • Blocked by Feature #3887: Support adding classes to answers file, not just top-level modules added

#7 Updated by Dominic Cleal almost 4 years ago

  • Status changed from Assigned to New
  • Assigned To deleted (Sam Kottler)

Some support for plugins went into the foreman module, thanks to Ewoud: https://github.com/theforeman/puppet-foreman/pull/132

However we're missing support in foreman-installer itself (blocked on #3887), plus support for extra meta-packages.

#8 Updated by Dmitri Dolguikh almost 4 years ago

  • Target version deleted (Sprint 18)

#9 Updated by Dmitri Dolguikh almost 4 years ago

  • Target version set to Sprint 20

#10 Updated by Dmitri Dolguikh almost 4 years ago

plugins:
- arekatello
- bootdisk
- discovery
- foreman-hooks
- foreman-setup

#11 Updated by Greg Sutcliffe almost 4 years ago

  • Status changed from New to Assigned

I'm looking into this at the moment.

#12 Updated by Daniel Lobato Garcia almost 4 years ago

Some other plugins worth including in the installer:

puppetdb_foreman
foreman_chef

#14 Updated by Greg Sutcliffe almost 4 years ago

Daniel - I'm not sure puppetdb or foreman_chef need to be installed by default. As Ewoud says, we already have the puppetdb one in the repo, I can easily add the foreman_chef entry as well, so you can call it if you like :)

#15 Updated by Dominic Cleal almost 4 years ago

No, not by default, but they should be available in the installer.

#16 Updated by Dominic Cleal over 3 years ago

  • Status changed from Assigned to Ready For Testing
  • Assigned To set to Greg Blomquist

#17 Updated by Dominic Cleal over 3 years ago

  • Assigned To changed from Greg Blomquist to Greg Sutcliffe

#18 Updated by Dominic Cleal over 3 years ago

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

#19 Updated by Dominic Cleal over 3 years ago

  • Release set to 1.5.0

Also available in: Atom PDF