def install_pyenv(name, user=None):
 ret = {'name': name, 'result': None, 'comment': '', 'changes': {}}
 if __opts__['test']:
  ret['comment'] = 'pyenv is set to be installed'
  return ret
 return _check_and_install_python(ret, user)

def install_pyenv ( name , user = None ) : ret = { 'name' : name , 'result' : None , 'comment' : '' , 'changes' : { } } if __opts__ [ 'test' ] : ret [ 'comment' ] = 'pyenv is set to be installed' return ret return _check_and_install_python ( ret , user )
install pyenv if not installed .