Project

General

Profile

« Previous | Next » 

Revision b06da7b9

Added by Daniel Lobato Garcia about 9 years ago

Fixes #10111 - Use a dummy primary interface for unmanaged hosts

Unmanaged hosts require a host interface due to delegation of networking
attributes, and some others like 'name'. Since unmanaged hosts do not
necessarily have an interface associated (unless created through puppet
facts importer), we provide a dummy interface to prevent errors.

Ideally this should go away as soon as unmanaged hosts are a different
class or Host::Base, moving validations and other particularities
to Host::Managed.

(cherry picked from commit a5dc3e23d6c2065149ea93b8687b3f5c32eb54b4)

  • added
  • modified
  • copied
  • renamed
  • deleted