Created
February 16, 2012 04:11
-
-
Save glarizza/1841903 to your computer and use it in GitHub Desktop.
FPM and RPMS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RPM and FPM | |
Install rpm-build via yum (from CentOS Updates and Base) | |
Install fpm via rubygems (requires json gem) | |
Creating an RPM from the apache-tomcat-7.0.25 directory and installing to /opt/tomcat/${Packagestuff} | |
fpm -s dir -t rpm -n tomcat -v 7.0.25 --prefix /opt/tomcat -C apache-tomcat-7.0.25 | |
Creating a Puppet Module | |
fpm -s dir -t puppet -n tomcat -v 7.0.25 -C apache-tomcat-7.0.25 | |
Listing RPM contents | |
rpm -qpl tomcat-7.0.25-1.i686.rpm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment