rundeck-plugins / rundeck-puppetenterprise-nodes-plugin

Get resource node data from Puppet Enterprise
3 stars 9 forks source link

Unable to add tags to rundeck #13

Open tramaswami opened 6 years ago

tramaswami commented 6 years ago

Hi i am trying to add tags to rundeck with facts value but it is not working, please note my defaultmapping.json `{ "osFamily": { "path": "facts.os.family" }, "osArch": { "path": "facts.architecture" }, "osVersion": { "path": "facts.kernelversion" }, "osName": { "path": "facts.os.name" }, "nodename": { "path": "certname" }, "username": { "default": "rundeck" }, "hostname": { "path": "facts.ipaddress" }, "description": { "default": "Imported from Puppet DB API call" }, "env": { "path": "facts.env" }, "appliction": { "path": "facts.appliction" }, "instance": { "path": "facts.instance" }, "attributes": { "hostname": { "path": "facts.hostname" }, "osFamily": { "path": "facts.osfamily" }, "osArch": { "path": "facts.architecture" }, "instance": { "path": "facts.instance" }, "application": { "path": "facts.application" }, "env": { "path": "facts.env" }

}, "tags": [ { "path": "env" } ] }`