Project

General

Profile

Actions

Bug #6302

closed

When Importing Puppet Classes, Broken Autoload Path's Ignored

Added by Dominic Cleal about 10 years ago. Updated about 5 years ago.

Status:
Rejected
Priority:
Low
Assignee:
-
Category:
Puppet
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Migrated from https://github.com/theforeman/foreman/issues/1527

1. Create file `profiles/manifests/a_profile.pp` on puppetmaster
2. Within the file define `class profiles::my_profile{...}`
3. Import classes from the puppet master

Result: Foreman finds and imports a class called `profiles::my_profile`, and allows it to be applied to hosts. When a host tries to access that class, puppet fails to autoload it because the path does not match the class name.

Expected: Best case, a warning about the broken paths and not letting it be imported. worst case, just not detecting it as a valid class to import.

Actions

Also available in: Atom PDF