Posted on 11-16-2012 04:57 PM
UPDATE: I've moved the script to GitHub: https://github.com/jkitzmiller/jssdeploy
Version 9 here: https://github.com/jssmanager/jssmanager/
Posted on 11-16-2012 05:00 PM
Well done. Very well done.
Posted on 11-16-2012 05:12 PM
Thank you!
Posted on 11-16-2012 05:17 PM
Next lab machine I have, I will play with this.
Posted on 11-16-2012 05:33 PM
I used it successfully in production for the first time tonight. It went off without a hitch. Of course it IS tailored to my environment...
Posted on 11-18-2012 07:55 AM
I just made some changes to make it a little more user friendly, specifically adding variables at the beginning to let you define where you keep your logs and your ROOT.war file. The formatting is also a little nicer when asking for user input.
Posted on 11-20-2012 06:39 AM
Made a couple of tweaks, mostly improving documentation and adding support for Tomcat being installed as a service.
Posted on 12-03-2012 12:48 PM
Updated to incude error checking and slightly improved documentation.
Has anyone played with it yet? I'd love to hear your thoughts.
Posted on 01-24-2013 09:12 PM
I just wanted to report back that the script worked perfectly fine after tweaking a few settings but this is probably due to the fact that I used the jssinstaller.run and not the manual installation.
Thank you so much for this brilliant script. I will have to setup many instances in the near future and so this is going to make my life way easier. Looking forward to invite you for a drink of your choice next time I'm in Chicago (probably summer 2014).
Posted on 01-25-2013 05:06 AM
Git hub this. Now.
Posted on 01-28-2013 08:49 AM
Tobias - I'm glad you found it helpful! I'll definitely take you up on that drink!
Jared- I've been meaning to... time is not on my side. One of these days!
Posted on 01-28-2013 09:00 AM
EDIT: All is well.
Posted on 01-28-2013 11:36 AM
What a shame but I understand. My last employer would also not have been happy for me sharing knowledge. 20th century thinking is still very strong is today's management culture.
Posted on 01-28-2013 11:39 AM
Employers are stupid. I grabbed the Google cached version for later keeping.
Posted on 01-28-2013 11:43 AM
John,
Let me know if there'd be a problem with my hosting the script on my GitHub repo.
Thanks,
Rich
Posted on 01-28-2013 02:12 PM
Wow, really? That's pretty dumb. The next time management asks you to research something out there that you don't already have the answer to I would respond by saying. 'well, found some information, but I can't use it due to the employers owner not allowing them to share it' Employers need to wake up and understand that information sharing is what makes so much of what we do possible in the first place.
Posted on 01-31-2013 08:41 AM
So I've moved the script to GitHub, and I've added some more error checking. I'm pretty sure it's solid, but I'd love to get some feedback if anyone would like to try it out.
Next on the roadmap is the ability to set an instance as limited access from the script rather than having to log in to the JSS instance.
Posted on 02-02-2013 05:53 PM
Added some error checking for the database connection.
Still working on limited access, and possibly the option to create the database and user from the script.
Posted on 02-03-2013 09:22 AM
echo Configuration complete. Enjoy your burrito.
Heh heh heh...
Posted on 02-03-2013 03:33 PM
I was wondering how long it would take someone to comment on that.
Posted on 02-06-2013 12:21 PM
I tested it with version 8.63, and it worked great in my environment! I also fixed a couple bugs. Check github for the details.
Posted on 02-10-2013 03:03 PM
I'm looking for a couple people to test out setting limited access from the script. Would anyone like to help?
Posted on 08-21-2013 03:19 PM
This script has been updated for version 9 and has a ton of new features.
https://github.com/jssmanager/jssmanager
Please use at your own risk, as this is provided "as is" and is not JAMF supported. Please test before using in your production environment.
-Kitzy
Posted on 09-25-2013 09:52 PM
Any tips on changing ports.
Seams to create instances with port 8080. If I change the server.xml tomcat won't start.
Posted on 09-26-2013 06:37 AM
@rickgmac - The ports are all handled by Tomcat, so it's not that the script is creating the contexts on port 8080, that's just Tomcat's default configuration.
In my server.xml, I have a section for 8443 that looks something like this:
<Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true" maxThreads="150" scheme="https" secure="true" clientAuth="false" sslProtocol="TLS" keystoreFile="/var/lib/tomcat7/cert.p12" keystorePass="password" keystoreType="PKCS12" />
I believe this section is commented out by default on a standard Tomcat install.
If you post your server.xml here, I'm sure someone could help you figure out why Tomcat won't start.
-Kitzy
Posted on 09-26-2013 06:44 AM
Cheers kitzy
Made a rookie mistake, by not fully un-commenting the connector. So Tomcat would fail to start.
Love this script by the way.
Posted on 09-26-2013 06:46 AM
@rickgmac - Glad to hear you got it sorted, and I'm glad you're loving the script!