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
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