puppet: how to submit command "yum update" to all agents?

I'm new to puppet and trying to create manifest which will request all agents to update all currently installed yum packages.

What should be the best way to describe this in manifest?


Well, it's super-easy with Puppet Enterprise and MCollective...

But in your case, you're probably going to have to produce a manifest that runs an exec of /usr/bin/yum -y -q update.

You can also just create a puppet cron resource to do this on a more sane schedule...