Code Monkey home page Code Monkey logo

salt-win-pgina-formula's People

Contributors

ameneau avatar tkent avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

salt-win-pgina-formula's Issues

Rendering error with salt 2015.5.8

After upgrading to salt 2015.5.8, the previously working state now fails during the compile stage with the following error:

- Rendering SLS 'base:win-pgina' failed: Jinja error: cannot concatenate 'str' and 'dict' objects
    - Traceback (most recent call last):
    -   File "C:\salt\bin\lib\site-packages\salt\utils\templates.py", line 364, in render_jinja_tmpl
    -     output = template.render(**decoded_context)
    -   File "C:\salt\bin\lib\site-packages\jinja2\environment.py", line 969, in render
    -     return self.environment.handle_exception(exc_info, True)
    -   File "C:\salt\bin\lib\site-packages\jinja2\environment.py", line 742, in handle_exception
    -     reraise(exc_type, exc_value, tb)
    -   File "<template>", line 102, in top-level template code
    - TypeError: cannot concatenate 'str' and 'dict' objects
    - 
    - ; line 102
    - 
    - ---
    - [...]
    -   {% set currentkey = salt['reg.read_key'](
    -       'HKEY_LOCAL_MACHINE',
    -       meta_name.base_path,
    -       reg_key) %}
    - 
    -   {% if currentkey == None or salt['cmd.script'](    <======================
    -     'salt://win-pgina/powershell/decrypt.ps1',
    -     args=(' ' + currentkey), shell="powershell").stdout != salt['pillar.get'](
    -     'pgina_ldap',{}).SearchPW %}
    - 
    -     {% set final_reg_value = salt['cmd.script'](
    - [...]
    - ---

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.