class Inspec::Resources::Podman
def run_command(subcommand)
Runs the given podman command on the host machine on which podman is installed
def run_command(subcommand) result = inspec.command("podman #{subcommand}") if result.stderr.empty? result.stdout else raise "Error while running command \'podman #{subcommand}\' : #{result.stderr}" end end