What's the best way to add a apt-repository (ubuntu or rpm), using
puppet, and still have all of the package resource dependencies met..
1) add repository (file to /etc/apt/sources.list.d/NEWREPFILE)
2) run apt-get update (if any files change under /etc/apt/.....)
3) make sure this is run before any other package[] resources are
attempted to be resolved.
I know I can set this up.. and do an explicit dependency between the
package resource I know lives in the new repository, but I wonder how
would I do it so that the new repository is added (and apt-get update is
run) before any package resource..