]> gitweb.fluxo.info Git - leap/leap_cli.git/commitdiff
provide puppet libdir for leap deploy to load custom puppet functions
authorvarac <varacanero@zeromail.org>
Mon, 28 Jan 2013 16:10:20 +0000 (17:10 +0100)
committervarac <varacanero@zeromail.org>
Mon, 28 Jan 2013 16:10:20 +0000 (17:10 +0100)
lib/leap_cli/commands/deploy.rb

index 3cc1d58c3df8b60e12ea5389bdd30fa64a03d9b9..1071208eec863b5b971e8cf6c77180999bb1bf5b 100644 (file)
@@ -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