Dear All, Can i use leiningen 1.7 for puppetDB. Thanks Ankit -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.
Hi Ankit,> Can i use leiningen 1.7 for puppetDB.I don''t think so, at the very least we use profiles (not available in 1.7.x) and we have long since moved into the 2.x major revision for most of our development work. We are generally working against Leiningen 2.2.0 or greater these days, so I''d recommend at least that version - but its not uncommon for us to introduce without much fan-fare features in our project.clj that require a new version of leiningen. So my general recommendation would be to stick with the latest revision. This is a build and development tool after-all, not something required for running the PuppetDB application on a production host (ie. we certainly don''t ship it or require it for package installation dependencies) so we are not as strict about its version as other parts of our toolset. Not to mention its a fast moving tool and we often want to leverage its new features. ken. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.
Daer Ken, 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 internet. let me know. On Monday, September 23, 2013 3:00:08 PM UTC+5:30, Ankit Mittal wrote:> > Dear All, > > Can i use leiningen 1.7 for puppetDB. > > Thanks > Ankit >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.
> 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 > internet. > 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 yourself. 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 one perhaps: https://groups.google.com/forum/#!forum/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. ken. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.