salt icon indicating copy to clipboard operation
salt copied to clipboard

virtualenv.managed test=true disagrees with test=false

Open djs52 opened this issue 13 years ago • 1 comments

Running salt 0.10.5 on Ubuntu. I have

/opt/rhodecode-venv:
  virtualenv.manage:
    - no_site_packages: False # so Trac is available
    - require:
      - pkg: python-virtualenv
      - pkg: python-dev

in my state file. When I run sudo salt 'sole.*' state.highstate I get

    State: - virtualenv
    Name:      /opt/rhodecode-venv
    Function:  manage
        Result:    True
        Comment:   virtualenv exists
        Changes:   

but when I run with test=true, I get

    State: - virtualenv
    Name:      /opt/rhodecode-venv
    Function:  manage
        Result:    None
        Comment:   Virtualenv {0} is set to be created or cleared
        Changes:  

highlighted in yellow. I would expect these to agree.

djs52 avatar Dec 05 '12 18:12 djs52

Thanks, we are working on cleaning up virtualenv, I will slate this for 0.10.6

thatch45 avatar Dec 05 '12 18:12 thatch45