Hi, Can you republish the code inline? Even just pasting it in will work.
Thanks. On Jul 24, 2009, at 5:13 AM, Waechter Udo wrote: > Hey all, > sorry to post these patches this way, for some reason "rake > mail_patches" does not work now and I currently do not have the nerv > to debug that. > > I have extended provider/package/appdmg.rb such that one can uninstall > application bundles now. > > For that, I needed to rewrite the format of /var/ > db/.puppet_appdmg_*dmg file, such that it is yaml now. > In a .dmg, there can be more than one .app bundles, thus I now record > each of those in the yaml file. > > When uninstalling, these files are deleted and the .puppet_appdmg.*dmg > afterwards. > > The patches are against current master, but do work with 0.24.x also. > > Problems that remain, must be solved: > - how to convert already existing /var/db/.puppet_appdmg* files? > (remove them if they are not yaml, thus let puppet reinstall those?) > - is yaml fine, or should I use something else? > - is line 68: FileUtils.remove_entry_secure(...) good? > - does anyone except me use this provider? > > Please do comment, if you like it, then I will try to stick to the > developer-workflow (write tests, commit to git and all that) to submit > these patches. > > In a next step, we try to find out how to uninstall .pkgs.... That > will be tricky. > > Have fun, > udo. > > > > > > <0001-added-uninstall-capabilities.patch><0002-changed-email- > address.patch> > > -- > --[ System Administration Team ]-- > --[ Institute of Cognitive Science @ University of Osnabrueck ]-- > --[ Albrechtstrasse 28 - 49076 Osnabrueck, Germany ]-- > --[ Tel. +49-541-9693363, Fax. +49-541-9693381 ]-- > --[ https://doc.ikw.uni-osnabrueck.de | http://ikw.uni- > osnabrueck.de ]-- > -- "They called me mad, and I called them mad, and damn them, they outvoted me." -- Nathaniel Lee, on being consigned to a mental institution, circa 17th c. --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/puppet-dev?hl=en -~----------~----~----~----~------~----~------~--~---
