I just checked and it is a bug. While the ssh credentials are properly
read, LittleChef uses Fabric's "host_string" to ssh into each node. So
at first sight a two line patch would fix it
=============
https://github.com/tobami/littlechef/blob/master/littlechef/lib.py#L386
+ if 'hostname' in credentials:
+ credentials['host_string'] = credentials['hostname']
=============
And indeed it does. The problem is that while you are telling
LittleChef that you want to fix node "h1", internally the host_string
is being changed to the IP defined in the ssh config file, which will
cause LittleChef to believe that the saving (the first run) and
reading of the node data should happen at
nodes/IP.json
instead of at
nodes/h1.json
Which, while it at least works, it is not very nice.
I need to take a closer look at how we can resolve this.
2011/12/30 Robin Wenglewski <ro...@wenglewski.de>: