As this issue affects anyone using cloudconfig / User Data on CentOS, someone maybe wants to write a heads up on the forum / blog to let the affected customers know and helping them to avoid lots of time for troubleshooting issues that they won´t be able to fix by themselve?
Note from support regarding ticket #493247:
Yes, I believe this issue is stemming from the fact that we're serving modules to CentOS that are Ubuntu/Debian specific via our vendor-data. We'll need to deploy a patch to production in order to resolve this.
We're working on that, and we'll update you when we have something ready for you to look at.
UPDATE from support:
we modified our vendor-data that's served to CentOS to serve a module list identical to the one that ships with CentOS, and while the apt errors have vanished - we're still seeing errors related to the package installation:
2015-01-07 19:24:47,805 - util.py[WARNING]: Package update failed
2015-01-07 19:24:47,828 - util.py[WARNING]: Failed to install packages: ['ntp', 'httpd', 'mariadb-server']
2015-01-07 19:24:47,828 - ccpackageupdateupgradeinstall.py[WARNING]: 2 failed with exceptions, re-raising the last one
2015-01-07 19:24:47,828 - util.py[WARNING]: Running package-update-upgrade-install (<module 'cloudinit.config.cc_package_update_upgrade_install' from '/usr/lib/python2.7/site-packages/cloudinit/config/cc_package_update_upgrade_install.pyc'>) failed
We'll need to continue to experiment with cloud-init to clarify why it's unable to complete this installation, unfortunately.