madduck / reclass

A recursive external node classifier for automation tools like Ansible, Puppet, and Salt
Other
159 stars 94 forks source link

Reclass in salt 2018.3 error #83

Open txomon opened 6 years ago

txomon commented 6 years ago
somehost.com:
    Data failed to compile:
----------
    Pillar failed to render with the following messages:
----------
    Failed to load ext_pillar reclass: Item in ``from list'' must be str, not unicode
txomon commented 6 years ago

Report in salt repo https://github.com/saltstack/salt/issues/47126

max-arnold commented 6 years ago

I made a fork of reclass which fixes this issue https://github.com/max-arnold/reclass/commits/maintenance and also ported reclass to Python 2.7/3.6. This fix took less time than migration attempt to built-in saltclass.

Briefly tested this with Salt 2018.3.1, Python2.7/Python3.6 and existing reclass tree (~300 classes, ~70 nodes). Any feedback/bugs are appreciated.

Cc: @madduck

gburiola commented 6 years ago

@max-arnold / @txomon , madduck/reclass is no longer being developed.

Have a look at this fork https://github.com/salt-formulas/reclass There's a group of people actively working on it. It has a few additional features (look at README-extentions.rst) and support for python3