Thanks for the post.
We don't have internet access in our development servers ,so we can not run
leiningen shell script file.
If you know another way to install leiningen which does not require
let me know.
I actually would highly recommend finding a proxy solution as opposed
to trying to achieve this without the internet. In short, while you
could probably achieve leiningen installation without the internet,
this is just where the pain starts.
When your run lein uberjar for example to build PuppetDB, its going to
need network access to download the necessary maven packages. Sure,
you can download these yourself from somewhere else and create a local
maven repo - but what if we suddenly change our dependencies in
PuppetDB - you are left having to solve this problem yet again
Without internet access, IMHO this is going to be painful, and I can't
recommend or condone it. Sorry, I know it sucks that leiningen doesn't
just work without it, but alas - it is built how it is built and doing
contortions to make it work to fit your security policy is going to
waste a lot of your time. I certainly wouldn't do it, and if I was you
- I would stomp my feet until the security people allowed me to have
proxy access :-).
However if you are insistent and a proxy is impossible, I've never
done it so can't really help you directly, maybe someone else on the
list has done it before. Maybe you should hop onto #leinigen on irc
(if your corporate policy allows it - lol), or hop on the specific
leiningen mailing lists and ask for specific advice, like the clojure
... at the very least here is a link to help you download maven
packages once leiningen is installed:http://stackoverflow.com/questions/18584678/how-can-i-install-leiningen-packages-behind-a-firewall
I probably should ask though, what is your goal here? Why are you
building PuppetDB on a dedicated host somewhere else? Are you trying
to build this for an unsupported distro, or do something special?
Good luck anyway, sorry my response probably isn't what you wanted to hear.