sprinkle-tool / sprinkle

Sprinkle is a software provisioning tool you can use to build remote servers with. eg. to install a Rails, or Sinatra stack on a brand new slice directly after its been created
https://github.com/sprinkle-tool/sprinkle
MIT License
1.15k stars 138 forks source link

Add pkgin installer. #218

Open weakish opened 8 years ago

weakish commented 8 years ago

pkgin is a binary package manager for pkgsrc on BSD, macOS, Linux, SunOS, Minix and SmartOS/Illumos.


lib/sprinkle/installers/pkgin.rb | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 lib/sprinkle/installers/pkgin.rb

joshgoebel commented 8 years ago

Looks pretty good.

Can pkgin not install multiple packages at the same time by listing them out?

Should use sudo_cmd, not explicitly invoke sudo.

weakish commented 8 years ago

Can pkgin not install multiple packages at the same time by listing them out?

Yes. Refactored to use auto_api.

Should use sudo_cmd

Fixed.