Are roles analogous to modules/cookbooks in Puppet/Chef?

I was wondering how to organize configuration code into segments, such as nginx, mysql, redis, java, and so on. In Puppet they have modules, and Chef there are cookbooks with recipees. Some of the code I looked at, it seems like roles fulfills this function, or are there other way that is recommended for this?

  • Joaquin

Hello Joaquin,

Yep, you’re on the right track there. This might help you…

http://probably.co.uk/ansible-for-puppet-users.html

Thank you Mark. This is exactly what I needed. I have been hunting with Google for a long time for a site like this. :slight_smile: