Project

General

Profile

Actions

Bug #34514

open

Can't search by puppetclass in API

Added by Adam Winberg about 2 years ago. Updated over 1 year ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Difficulty:
Triaged:
No
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.

No data to display

Actions

Also available in: Atom PDF