lappis-tools / chef-lappis

moved to https://gitlab.com/lappis-unb/chef-recipes
https://gitlab.com/lappis-unb/chef-recipes
GNU General Public License v3.0
0 stars 2 forks source link

Refactor the OpenNebula recipes #6

Closed luanguimaraesla closed 7 years ago

luanguimaraesla commented 8 years ago

According to the discussion about the programming style for the Chef recipes, the Open Nebula recipe should be refactored.

Basically, the organization of the directories containing the Polaris, Solarian and Imperius recipes should be inside of an unique folder called opennebula.

To reduce the code duplication, it's important create an unique recipe to configure the common things in the nodes, called "node.rb". Another recipe should be created to configure the sunstone-frontend called "frontend.rb" and, the specific configurations for each host should be in other recipes named with the respective host name.