Skip to content
This repository was archived by the owner on Jul 26, 2021. It is now read-only.
This repository was archived by the owner on Jul 26, 2021. It is now read-only.

Pythonic access to execution modules #5

@mgwilliams

Description

@mgwilliams

The way the renderer currently is coded, you can do stuff like this (a contrived example):

interfaces = salt['network.interfaces']()
File.exists('interface-tmp', names=['/tmp/interface-{}'.format(i) for i in interfaces.keys()])

Would it make sense to provide more pythonic access to the execution modules? E.g.:

interfaces = Salt.Network.interfaces()

I'm not sure it gains much, just throwing the idea out there.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions