Project

General

Profile

Bug #34514

Can't search by puppetclass in API

Added by Adam Winberg 6 months ago. Updated 4 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:

Description

The following API query:
api/hosts?search=puppetclass=apache

results in an error:

external method 'search_by_puppetclass' failed with error: undefined method `allows_taxonomy_filtering?' for ForemanPuppet::Extensions::Host:Module (ScopedSearch::QueryNotSupported)

Searching by puppetclass works in the GUI, but not via API.

Also available in: Atom PDF