I have to add, if i run "apt-get upgrade -y" manually on a machine, and then run the manifest again it works fine:
(after running "apt-get upgrade -y" manually) root@agent3:~# puppetd --test info: Caching catalog for agent3.sabrewolf.net info: Applying configuration version '1316008127' notice: //aguu/Exec[upgrade]/returns: executed successfully notice: //aguu/Exec[update]/returns: executed successfully warning: Value of 'preferred_serialization_format' (pson) is invalid for report, using default (marshal) notice: Finished catalog run in 34.87 seconds -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/Q7rVRFRWrUsJ. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.