Yes, it will need both. It might be better to reuse the same default_installer[os_name] in the code block and then simply make sure that the os_name is in the list [OS_DEBIAN, OS_UBUNTU, OS_FEDORA]  That will be more concise and more easily extended.