puppetlabs/puppetlabs-training-bootstrap — pull request #321 by greglarkin (2014-08-13 20:10:03+00:00)
Title: Small cleanups for fundamentals classroom

Some of the fundamentals classes I've attended/taught were based on the 3.3.0 training VM instead of the 3.2.3 VM they should have been. When using the newest VM, every puppet apply run emitted a warning about setting the package "allow_virtual" default explicitly in a future release. Since the students don't need to worry about that, this code will turn off the deprecation warning.

Also specify license.key mode at time of creation. Otherwise, it takes a second puppet run to chmod it. I assume it was picking up the desired perms from the perms on the source file.