Skip to content

Instantly share code, notes, and snippets.

@ejhayes
Created July 3, 2012 18:35
Show Gist options
  • Save ejhayes/3041726 to your computer and use it in GitHub Desktop.
Save ejhayes/3041726 to your computer and use it in GitHub Desktop.
Install a debian package locally using puppet
class dummyPackage {
package { 'yourpackagename':
ensure => installed|absent,
provider => dpkg,
source => '/path/to/file.deb',
}
}
class { 'dummyPackage': }
#!/bin/sh
sudo puppet apply dummyPackage.pp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment