Feature #2804

Add uninstall capabilities to appdmg provider

Added by Udo Waechter over 2 years ago. Updated about 1 year ago.

Status:Closed Start date:11/11/2009
Priority:Normal Due date:
Assignee:Nigel Kersten % Done:

0%

Category:Darwin
Target version:-
Affected Puppet version:2.6.4 Branch:http://github.com/MarkusQ/puppet/tree/ticket/0.25.x/2804
Keywords:.app, mac os x, provider, appdmg
Votes: 1

Description

The appdmg provider for Mac OS X installs .app bundles (from .dmg images) by copying them to /Applications. It should be fairly easy to create a uninstall possibility by recording what apps have been installed.

0001-added-uninstall-capabilities.patch (8.8 kB) Udo Waechter, 11/12/2009 03:01 pm

0003-typo.patch (884 Bytes) Udo Waechter, 11/12/2009 03:01 pm

0001-indentation-and-formatting.patch (3.8 kB) Udo Waechter, 11/14/2009 10:31 am

0002-uninstall-caps.patch (5.3 kB) Udo Waechter, 11/14/2009 10:31 am


Related issues

related to Puppet - Bug #2819: appdmg provider does not install some apps Code Insufficient 11/14/2009

History

Updated by Luke Kanies over 2 years ago

  • Status changed from Unreviewed to Accepted
  • Target version deleted (0.25.2)

I’ll look for that patch, but until it shows up we won’t associate it with a release.

Updated by Udo Waechter over 2 years ago

Luke Kanies wrote:

I’ll look for that patch, but until it shows up we won’t associate it with a release.

I have that patch, but I still need to figure out how to mail it. I simply do not get the git stuff, its the horror for me.

Updated by Luke Kanies over 2 years ago

You can add it to the ticket if you can’t figure out the mail.

However, you should be able to use the ‘mail_patches’ rake target, as described in the lifecycle page:

http://reductivelabs.com/trac/puppet/wiki/Development/DevelopmentLifecycle

Updated by Udo Waechter over 2 years ago

here are thepatches

Updated by James Turnbull over 2 years ago

  • Status changed from Accepted to In Topic Branch Pending Review
  • Assignee set to James Turnbull
  • Target version set to 0.25.2

Updated by Udo Waechter over 2 years ago

Here are the two patches again. Number one does indentation fixes. It seems they were not exactly right. Number two adds uninstall caps.

Updated by James Turnbull over 2 years ago

I’m trying to puzzle out from the -dev list if this was approved – together with #2819? Nigel?

Updated by Nigel Kersten over 2 years ago

patch #2

line 17: can we be consistent about quoting symbols used in requires please? Can we please make “ditto” a command in case it’s pulled in future versions of OS X and so we get all the free functionality in Puppet? Shouldn’t we have some error handling around all the file writing/reading operations? This looks like it will fail badly for a corrupt yaml dbfile?

That’s about it for me, having never used the appdmg provider at all.

Updated by Nigel Kersten over 2 years ago

Actually, I’m confused by which patches are doing what and may have made useless comments.

Can we just have the whole diff mailed to the dev list? It’s harder to read this way…. :(

Updated by Markus Roberts over 2 years ago

  • Status changed from In Topic Branch Pending Review to Investigating
  • Assignee changed from James Turnbull to Markus Roberts

Updated by Markus Roberts over 2 years ago

  • Branch changed from master to http://github.com/MarkusQ/puppet/tree/ticket/0.25.x/2804

Running this through the normal hoops…

Updated by Markus Roberts over 2 years ago

  • Target version changed from 0.25.2 to 0.25.3

Bumping to 0.25.3; I’m not particularly confident in this code and it garnered no responses on the dev list.

Updated by Markus Roberts over 2 years ago

  • Target version changed from 0.25.3 to 0.25.4

Updated by James Turnbull over 2 years ago

  • Target version changed from 0.25.4 to 0.25.5

Updated by James Turnbull about 2 years ago

  • Target version changed from 0.25.5 to 49

Updated by James Turnbull about 2 years ago

  • Priority changed from Low to Normal

Updated by James Turnbull over 1 year ago

  • Target version changed from 49 to 2.7.x

Updated by Brian Gupta over 1 year ago

  • Affected Puppet version changed from 0.24.8 to 2.6.4

Applying the patches against the latest version was problematic for me, and at least the first one failed. It might have been my inexperience using patch though.

-Brian

Updated by Nigel Kersten about 1 year ago

Brian, as you can see from the ticket log, we didn’t get much of a response on the dev list, and I’m not even sure what the patch looks like that we’d be commenting on.

Updated by Nigel Kersten about 1 year ago

  • Status changed from Investigating to Closed
  • Assignee changed from Markus Roberts to Nigel Kersten
  • Target version deleted (2.7.x)

I’m going to close this so that we’ll either get someone protesting and reopening it with the info we need, or it’s off the queue.

Also available in: Atom PDF