Skip to content

d-m-u/foreman_api_client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ManageiqForeman

This allows manageiq to use foreman as a provider

Quick collaboration work to nail down our use cases with the foreman

Pre-workflows

  • EngOps registers baremetal via ISO (when racking new hardware)

    • burn iso
    • boot machine with iso
    • via cd, foreman discovers machine and creates foreman host record
  • discovery in foreman

  • discovery via manageiq (no)

  • assign ipmi (iDrac - dell's ipmi hardware)

  • assign primary interface: mac

  • assign os architecture

Foreman setup (DevOps)

OS contains:

  • 1 customization template
  • list of acceptable media, ptable

Hostgroup contains:

  • environment, puppet ca, puppet master, network/domain
  • optionally: os, media, partition table

subnet contains:

  • all network information except for ipaddress

Provision Bare metal (User)

  • Catalog
    • pxe server [server / image] (pxe only)
    • Host Group
    • OS
  • Customize:
    • root password
    • host name
    • ip address
    • subnet
    • medium
    • ptable
    • subnet is replacing gateway, dns, ...
    • medium/ptable is replacing template

workflows for another day

inventory

  • get list of all foreman hosts
  • determine if we already have a vm for that host record / link them

register VM via ManageIq (at provisioning time)

  • we create VM in VMWare
    • via rest protocol create foreman host record
    • set primary interface mac address

About

Ruby client library to The Foreman

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 99.1%
  • Shell 0.9%