How to write a recipe to self bootstrap to a chef server


#1

I am using chef solo on a node and I have chef server installed. I cannot bootstrap the node to the chef server as per requirements. I am trying to write a recipe which I can execute on the node so it can self bootstrap itself to the chef server I have . Does any one know which steps are actually executed when the bootstrap is done?