I have a salt formula. On the server I use tools wkhtmltopdf. Ubuntu repo has this tool, but it has an older version. I want to use the latest version.
I am doing the following to set it to minions manually.
$ wget http://download.gna.org/wkhtmltopdf/0.12/0.12.2.1/wkhtmltox-0.12.2.1_linux-trusty-amd64.deb
$ sudo apt-get install fontconfig libfontenc1 libjpeg-turbo8 libxfont1 x11-common xfonts-75dpi xfonts-base xfonts-encodings xfonts-utils libxrender1
$ sudo dpkg -i wkhtmltox-0.12.2.1_linux-trusty-amd64.deb
I can do cmd.runfor all of these teams. Is there a better way to do any of these steps?
source
share