Skip to content

The function "module.run" is using its deprecated version and will expire in version "Sodium" #44425

@eradman

Description

@eradman

Description of Issue/Question

While running from top-of-tree (salt 2017.7.0-786-g1bbaef6) I now receive this warning when running states that use module.run:

[WARNING ] The function "module.run" is using its deprecated version and will expire in version "Sodium".

What is the new method for running modules within a state?

Steps to Reproduce Issue

install_forks:
  module.run:
    - name: cpan.install
    - module: 'forks'
    - unless:
      - perl -e 'use forks;'

Metadata

Metadata

Assignees

No one assigned

    Labels

    QuestionThe issue is more of a question rather than a bug or a feature request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions