summaryrefslogtreecommitdiff
path: root/lib/leap_cli/path.rb
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2016-02-12 15:10:16 -0800
committerelijah <elijah@riseup.net>2016-02-12 15:10:16 -0800
commit553abaa13d0a5232f807951754f12da9ff3fa7a6 (patch)
tree15b48a10e66918d479c0ce356c9ca69d4407fa97 /lib/leap_cli/path.rb
parent24704a7f28521aca9181430bcb9adfcd67182534 (diff)
support for node_init script
Diffstat (limited to 'lib/leap_cli/path.rb')
-rw-r--r--lib/leap_cli/path.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/leap_cli/path.rb b/lib/leap_cli/path.rb
index 62ea013..fd2e3fc 100644
--- a/lib/leap_cli/path.rb
+++ b/lib/leap_cli/path.rb
@@ -106,4 +106,9 @@ module LeapCli; module Path
def self.vagrant_ssh_pub_key_file
File.join(LEAP_CLI_BASE_DIR, 'vendor', 'vagrant_ssh_keys', 'vagrant.pub')
end
+
+ def self.node_init_script
+ File.join(@platform, 'bin', 'node_init')
+ end
+
end; end