You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I guess this sits somewhere between bug and feature enhancement. We use this command to check the syntax but also to understand what information is being returned.
Puppet: 5.5
Ruby: 2.5.7
Distribution: oracle linux
Module version: 4.3.0
How to reproduce (e.g Puppet code you use)
puppet resource firewalld_service
What are you seeing
Error: Could not run: To support listing resources of this type the 'firewall_cmd' provider needs to implement an 'instances' class method returning the current set of resources. We recommend porting your module to the simpler Resource API instead: https://puppet.com/search/docs?keys=resource+api
What behaviour did you expect instead
to return the list of services currently configured
The text was updated successfully, but these errors were encountered:
binford2k
changed the title
Allow resource to collect existing configuration
Implement instances method allowing puppet resource to return current resources
Jun 16, 2022
I guess this sits somewhere between bug and feature enhancement. We use this command to check the syntax but also to understand what information is being returned.
How to reproduce (e.g Puppet code you use)
puppet resource firewalld_service
What are you seeing
Error: Could not run: To support listing resources of this type the 'firewall_cmd' provider needs to implement an 'instances' class method returning the current set of resources. We recommend porting your module to the simpler Resource API instead: https://puppet.com/search/docs?keys=resource+api
What behaviour did you expect instead
to return the list of services currently configured
The text was updated successfully, but these errors were encountered: