summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaymala Sinha <jsinha@chef.io>2016-10-24 11:51:49 -0400
committerJaymala Sinha <jsinha@chef.io>2016-10-24 13:28:52 -0400
commit42766ae4e01de7655367e76cb8de4d5ec733b560 (patch)
treeda7ca4fc511c6a2584fc933afbecf79921ba508a
parent8e4a6aa13f337ff6299a2f3265b803d93eedb4db (diff)
downloadchef-jsinha/BEN-123-IPSFIX.tar.gz
[BEN-123] Fix IPS package must create symlinks to package commandsjsinha/BEN-123-IPSFIX
Create symlinks.erb template to exists in local project directory structure to enable IPS package to create required symlinks for installed commands Signed-off-by: Jaymala Sinha <jsinha@chef.io>
-rw-r--r--omnibus/resources/chef/ips/symlinks.erb6
1 files changed, 6 insertions, 0 deletions
diff --git a/omnibus/resources/chef/ips/symlinks.erb b/omnibus/resources/chef/ips/symlinks.erb
new file mode 100644
index 0000000000..419d52ddf7
--- /dev/null
+++ b/omnibus/resources/chef/ips/symlinks.erb
@@ -0,0 +1,6 @@
+link path=usr/bin/chef-solo target=<%= projectdir %>/bin/chef-solo
+link path=usr/bin/chef-client target=<%= projectdir %>/bin/chef-client
+link path=usr/bin/chef-apply target=<%= projectdir %>/bin/chef-apply
+link path=usr/bin/chef-shell target=<%= projectdir %>/bin/chef-shell
+link path=usr/bin/knife target=<%= projectdir %>/bin/knife
+link path=usr/bin/ohai target=<%= projectdir %>/bin/ohai