Skip to content

Instantly share code, notes, and snippets.

@flyx
Created January 8, 2014 13:15
Show Gist options
  • Save flyx/8316583 to your computer and use it in GitHub Desktop.
Save flyx/8316583 to your computer and use it in GitHub Desktop.
$debDir = "/some/path"
define localPackage ($packageName = $title) {
package {$packageName :
ensure => installed,
provider => dpkg,
source => "${debDir}/${packageName}.deb"
}
}
$locals = ['doxygen_1.8.4-1_i386', 'webmin_1.620_all', … ]
localPackage { $locals : }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment