- From: Nathan Smith <
>
- To: "
" <
>
- Subject: [chef] Re: Omnibus post-install script
- Date: Tue, 20 Aug 2013 20:35:27 +0000
- Accept-language: en-US
You can put a postinst script in package_scripts_path and it should run it
automatically upon install.
See:
https://github.com/opscode/omnibus-chef/blob/master/package-scripts/chef/po
stinst#L74-L80
https://github.com/opscode/omnibus-ruby/blob/master/lib/omnibus/project.rb#
L539-L541
For example. HTH.
Nathan L Smith
On 8/20/13 2:46 PM, "Michael Hayes"
<
>
wrote:
>
https://github.com/hayesmp/omnibus-rumm
>
>
I am using omnibus-ruby to create a package to install our command-line
>
tool/gem rumm. What I would like to do is to either symlink the gem
>
executable to /usr/local/bin or add the /opt/rumm/emedded/bin/rumm to
>
PATH.
>
>
Is there a method in omnibus to run post-install scripts? Adding anything
>
to 'build' step won't run when package installs. I apologize for my
>
ignorance on how all this works...
Archive powered by MHonArc 2.6.16.