Rake APIs in ENC script
We are trying build node classification using ENC externalnode script and we have built our puppet-dashboard with node-groups and classes assigned to it. Using externalnode script we are trying to invoke Rake APIs to list nodes in the puppet-dashboard and trying to add specific node to particular node-group. But we are not able to run Rake APIs in puppet environment (means that puppet master invoke our externalnode whereas Rake APIs are not calling for node-list or node-add). Could you please help us on how to invoke Rake APIs inside our ENC externalnode script.
Rake APIs ... (more)