Yana and Puppet

James Turnbull bio photo By James Turnbull

The team at DTO Solutions have released a simple node authority called Yana or Yet Another Node Authority.

I’ve written a simple external node classifier to retrieve nodes definitions from it and return them to Puppet.

You can find the classifier here. It is very basic and matches a node name from Puppet with a node name in Yana. It then converts any Yana tags into classes to be applied to that node in Puppet and any attributes into parameters. Some additional variables (osName, osFamily, description) are also converted into parameters.