ensure specific packages are installed in a system, creating a puppet manifest file with the following (example):
package { 'vim':
ensure => '2:7.4.052-1ubuntu3'
}
to run it (you may have to run it as sudo):
puppet apply your_manifest_file.pp
# To ensure the order of the packages that need to run
require => Package[‘your-package-name-here’]