refactoring cloudinit into yaybu proper