<HTML>
<HEAD>
<TITLE>Re: [Casper] Asset Tags in casper</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Currently we have zero naming convention, but that may or may not change in the future. If it does, asset tag will likely be incorporated into the machine name, thus negating my need to track it. However, I’m not relying on anything changing (this is Government after all :) ) and I’d like to get this set up. <BR>
<BR>
Some folks do name their machines with their asset tag number (bless them) though this is more rare. All I really want to do is prompt a simple box that asks for the asset tag number with a clear and OK button. On OK, it’ll do a touch /Library/Application\ Support/JAMF/Recipts/$assettag.pkg so it’ll show up as a receipt in Casper. Then I can plunk in the number easily. <BR>
<BR>
Would there be a way to perform a database write function to make this happen to take the manual interaction out completely?<BR>
<BR>
j<BR>
<BR>
<BR>
On 5/4/09 13:32 , "Thomas Larkin" <<a href="tlarki@kckps.org">tlarki@kckps.org</a>> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'> <BR>
<BR>
</SPAN></FONT><FONT SIZE="4"><FONT FACE="Lucida Grande"><SPAN STYLE='font-size:14pt'>do you use the asset tag anywhere in the image? for example we use the asset tag as part of the computer name, so I would be easily scriptable from that perspective. Do you guys log the asset tags anywhere?<BR>
</SPAN></FONT></FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
<BR>
___________________________<BR>
Thomas Larkin<BR>
TIS Department<BR>
KCKPS USD500<BR>
<a href="tlarki@kckps.org">tlarki@kckps.org</a><BR>
blackberry: 913-449-7589<BR>
office: 913-627-0351<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
>>> "Nichols, Jared" <<a href="jared.nichols@ll.mit.edu">jared.nichols@ll.mit.edu</a>> 05/04/09 12:10 PM >>><BR>
<BR>
<BR>
<BR>
<BR>
Hi-<BR>
<BR>
So I keep track of computers’ asset tag numbers in Casper. Right now it’s a manual process whereby I ask the user what their asset tag number is and then I plunk it into Casper. We’re going to be going to production soon and this would require a lot of manual overhead on my (or any other admin’s) part. Ideally, I’d like to prompt the user for this information and then store it in Casper. I know how to prompt a user on the command line (e.g. Use a script for this), store it and then write it out to a dummy receipt file, but I’d like it to look better. What’s the best way to do this? I could make an AppleScript studio app to do it, but I don’t know if that’s the best way. I don’t know any cocoa, but I have a feeling that would be the best way to go – perhaps that’d be a good “first app” to create?<BR>
<BR>
Thoughts?<BR>
<BR>
j<BR>
---<BR>
Jared F. Nichols<BR>
Desktop Engineer, Infrastructure and Operations<BR>
Information Services Department<BR>
MIT Lincoln Laboratory<BR>
244 Wood Street<BR>
Lexington, Massachusetts 02420<BR>
781.981.5436<BR>
<BR>
<BR>
<BR>
<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
---<BR>
Jared F. Nichols<BR>
Desktop Engineer, Infrastructure and Operations<BR>
Information Services Department<BR>
MIT Lincoln Laboratory<BR>
244 Wood Street<BR>
Lexington, Massachusetts 02420<BR>
781.981.5436 <BR>
<BR>
</SPAN></FONT>
</BODY>
</HTML>