This is very clever!
Thanks so much for sharing this!
Jonathan
> --
> You received this message because you are subscribed to the Google Groups "munki-dev" group.
> To post to this group, send email to munk...@googlegroups.com.
> To unsubscribe from this group, send email to munki-dev+...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/munki-dev?hl=en.
>
-Greg
You may also be interested in taking a look at PrinterSetup : <http://www.lucidsystems.org/printingworks/printersetup/>
PrinterSetup features at a glance :
- Build Apple installer packages for print queue deployment
- Bundle print drivers for automatic installation with queues.
- Individual files represent each each print queue.
- Static and dynamic print queue lists
- Pre and Post hooks allowing different queues for different users.
- Ability for multiple IT groups to manage specific groups of print queues.
- Ability to manage the creation and and removal of print queues via print queue groups.
- Ability to add and remove print queues based upon network changes
eg. Change print queue list based upon currently connected wireless access point.
There is are PrinterSetup screen casts online which provide a basic introduction into some of these features :
<http://www.lucidsystems.org/printingworks/printersetup/screencasts/>
In particular, the ability to add and remove print queues is covered in the screen cast :
"Deployment : Dynamic Configuration Based on Group Membership"
Please keep in mind that the PrinterSetup project is still in beta development.
I hope this helps.
------------------------------------
This email is protected by LBackup
http://www.lbackup.org
+1 for more wiki contributions.
From personal experience, it's an easy way to contribute back to the
project, the editor is dead simple to use and people read it. I
encourage, dare say implore, anyone that wants to support the project
to give it a try.
--
You received this message because you are subscribed to the Google Groups "munki-dev" group.
To post to this group, send email to munk...@googlegroups.com.
To unsubscribe from this group, send email to munki-dev+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/munki-dev?hl=en.
Add a check in the preflight script that looks something like:
if [ "$3" != "/" ]; then
# we're installing on a volume other than the startup disk
exit 0
fi
This at least prevents the preflight script from doing the wrong thing when run in a context other than the one it was designed for; that is; installing on the current startup volume.
-Greg
--
You received this message because you are subscribed to the Google Groups "munki-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to munki-dev+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Looking at the documentation, shouldn't the uninstall key it pkginfo be changed from this:<key>uninstall_method</key><string>/etc/cups/printers_deployment/uninstalls/printserver01_PRINTER01.sh</string>to this:<key>uninstall_method</key><string>uninstall_script</string><key>uninstall_script</key><string>/etc/cups/printers_deployment/uninstalls/printserver01_PRINTER01.sh</string>Or is that just redundant?
When I uninstall the printer via managed_uninstalls (after installing it via managed_installs), the receipt is not being removed/forgotten,
Thanks for the quick reply, I'll make the adjustments to the uninstall script to forget the receipt. I thought that munki would do that,