aboutsummaryrefslogtreecommitdiff
path: root/lib/leap_cli/commands/deploy.rb
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2013-01-28 17:10:20 +0100
committervarac <varacanero@zeromail.org>2013-01-28 17:10:20 +0100
commitf1c63c766015b1644ca8cfb08067c562f6b375fa (patch)
tree637d41385b49fb1464460615fd20d582d414e40e /lib/leap_cli/commands/deploy.rb
parentff502ed3baff2b16cee661599366f2a3c591825e (diff)
downloadleap_cli-f1c63c766015b1644ca8cfb08067c562f6b375fa.tar.gz
leap_cli-f1c63c766015b1644ca8cfb08067c562f6b375fa.tar.bz2
provide puppet libdir for leap deploy to load custom puppet functions
Diffstat (limited to 'lib/leap_cli/commands/deploy.rb')
-rw-r--r--lib/leap_cli/commands/deploy.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/leap_cli/commands/deploy.rb b/lib/leap_cli/commands/deploy.rb
index 3cc1d58..1071208 100644
--- a/lib/leap_cli/commands/deploy.rb
+++ b/lib/leap_cli/commands/deploy.rb
@@ -34,7 +34,7 @@ module LeapCli
ssh.set :puppet_destination, '/srv/leap'
ssh.set :puppet_command, '/usr/bin/puppet apply --color=false'
ssh.set :puppet_lib, "puppet/modules"
- ssh.set :puppet_parameters, '--confdir puppet puppet/manifests/site.pp'
+ ssh.set :puppet_parameters, '--libdir puppet/lib --confdir puppet puppet/manifests/site.pp'
ssh.set :puppet_stream_output, true
ssh.apply_puppet
end
@@ -113,4 +113,4 @@ module LeapCli
end
end
-end \ No newline at end of file
+end