11* node_package
22** Overview
33
4- node_package is a set of RPM/Debian/Solaris templates and scripts, suitable for packaging embedded Erlang nodes.
4+ `node_package` is a set of RPM/Debian/Solaris templates and scripts, suitable for
5+ packaging embedded Erlang nodes.
56
67*** Supported Operating Systems
78
@@ -22,38 +23,55 @@ Planned supported operating systems
2223
2324The following variables need to be exported for node_package to work correctly.
2425
25- - =PKG_NAME= - The name of your application (ex: riak)
2626 - =PKG_VERSION= - The version of your application (ex: 1.2.0)
27- - =PKG_ID= - The full name of the package, typically =PKG_NAME-PKG_VERSION= (ex: riak-1.2.0)
27+ - =PKG_ID= - The full name of the package, typically ={{package_name}}-PKG_VERSION=
28+ (ex: riak-1.2.0)
2829
2930**** Defaulted Variables
3031
31- The following variables will have a default, but can be overriden in your application.
32+ The following variables will have a default, but can be overriden in your
33+ application.
3234
33- - =PKG_BUILD= - (Default: 1) Sets the "release" version of the build (ex: app-5.4-1 <- the '1')
34- - =ERLANG_BIN= - (Default: `which erl`) Sets the path of the current erlang binary
35+ - =PKG_BUILD= - (Default: 1) Sets the "release" version of the build
36+ (ex: app-5.4-1 <- the '1')
37+ - =ERLANG_BIN= - (Default: `which erl`) Sets the path of the current erlang
38+ binary
3539
3640** Variables
3741
3842The following variables describe a package
3943
4044*** Required Variables
4145 - =package_name= - The name of the package
46+ - =package_install_name= - The name used in the install directories
47+ eg: /usr/lib/{{package_install_name}}. Usually the same as package_name.
4248 - =package_shortdesc= - A short (< one line) description of the package
43- - =package_install_name= - The name of the binary installed (can be different than the `package_name`)
4449 - =package_install_user= - The user to create and run the daemon from
4550 - =package_install_group= - The group to create and add the above user to
4651 - =copyright= - The copyright holder (ex: 2011 Basho Technologies, Inc)
4752 - =license_type= - The short desciption of what license the app is under
48- - =vendor_name= - The name of the person or company who is releasing this package
49- - =vendor_url= - The website of the person or company who is releasing this package
53+ - =vendor_name= - The name of the person or company who is releasing this
54+ package
55+ - =vendor_url= - The website of the person or company who is releasing this
56+ package
5057 - =vendor_contact_name= - The name of the maintainer (ex: Basho Packaging)
51- - =vendor_contact_email= - The email address of the maintainer (ex: riak@basho.com)
52- - =solaris_pkgname= - Package names for Solaris follow a naming convention of MAINTapp (ex: BASHOriak)
58+ - =vendor_contact_email= - The email address of the maintainer (ex: packages@basho.com)
59+ - =solaris_pkgname= - Package names for Solaris follow a naming convention of
60+ MAINTapp (ex: BASHOriak)
61+ - =runner_wait_process= - The erlang process to wait for to determine if your
62+ app started or not. (ex: `riak_core_node_watcher` in riak's case)
63+
5364
5465*** Optional Variables
55- - =license_full_text= - If the full text of a license needs to be included, use this variable
56- - =deb_depends= - Dependencies you require on deb sytems. This should be a comma separated list.
66+ - =license_full_text= - If the full text of a license needs to be included, use
67+ this variable
68+ - =deb_depends= - Dependencies you require on deb sytems. This should be a
69+ comma separated list.
5770 - =package_desc= - A long description of the package
58- - =solaris_depends= - (not supported yet) Dependencies specific to the solaris package
71+ - =solaris_depends= - (not supported yet) Dependencies specific to the solaris
72+ package
5973 - =package_install_user_desc= - The description of the user created for the app
74+ - =runner_ulimit_warn= - The runner script will warn if `ulimit -n` is less than
75+ this value. This defaults to 4096 in all packages.
76+ - =platform_patch_dir= - Directory to include in erlang's load path to allow for
77+ patches to be hotloaded. (ex: {platform_lib_dir}/basho-patches)
0 commit comments