Jira (PUP-4013) Uninstalling windows package adds /repair paramater instead of /uninstall

2015-03-11 Thread Anthony Brown (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Anthony Brown updated an issue 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Puppet /  PUP-4013 
 
 
 
  Uninstalling windows package adds /repair paramater instead of /uninstall  
 
 
 
 
 
 
 
 
 
 
So the problem exists in the install package createor who set the repair options to be the default action for the uninstaller. I am using chocolatey but haven’t integrated it into my puppet setup in production as it isn’t a 1.0 product. Thanks for the understanding on why this is occurring, this is one more part of windows that can make puppet more difficult to use in the windows environment. Though hopefully with the one-get release this gets easier. 
Thanks for your time. 
From: Josh Cooper (JIRA) issue-upda...@puppetlabs.com Sent: Thursday, 12 March 2015 11:05 AM To: Anthony Brown Subject: Jira (PUP-4013) Uninstalling windows package adds /repair paramater instead of /uninstall 
[Image removed by sender.] 
Josh Cooperhttps://tickets.puppetlabs.com/secure/ViewProfile.jspa?name=josh commented on [Bug] PUP-4013https://tickets.puppetlabs.com/browse/PUP-4013 
Re: Uninstalling windows package adds /repair paramater instead of /uninstallhttps://tickets.puppetlabs.com/browse/PUP-4013 
Yes, the package stores the uninstall string in the registry for later use. Puppet introspects the registry to list installed packages, and extracts the uninstall string in https://github.com/puppetlabs/puppet/blob/master/lib/puppet/provider/package/windows/exe_package.rb#L13. You might also take a look at the chocolatey package provider: https://github.com/chocolatey/puppet-chocolatey, which makes it possible to manage chocolatey packages, e.g. https://chocolatey.org/packages/DotNet4.5, in puppet. 
[Add Comment]https://tickets.puppetlabs.com/browse/PUP-4013#add-comment 
Add Commenthttps://tickets.puppetlabs.com/browse/PUP-4013#add-comment 
This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) 
[Atlassian logo] 
 
 
 
 
 
 
 
 
 

Change By:
 
 Anthony Brown 
 
 
 

Attachment:
 
 image001.jpg 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 

Jira (PUP-4013) Uninstalling windows package adds /repair paramater instead of /uninstall

2015-03-11 Thread Anthony Brown (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Anthony Brown updated an issue 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Puppet /  PUP-4013 
 
 
 
  Uninstalling windows package adds /repair paramater instead of /uninstall  
 
 
 
 
 
 
 
 
 
 
So the problem exists in the install package createor who set the repair options to be the default action for the uninstaller. I am using chocolatey but haven’t integrated it into my puppet setup in production as it isn’t a 1.0 product. Thanks for the understanding on why this is occurring, this is one more part of windows that can make puppet more difficult to use in the windows environment. Though hopefully with the one-get release this gets easier. 
Thanks for your time. 
From: Josh Cooper (JIRA) issue-upda...@puppetlabs.com Sent: Thursday, 12 March 2015 11:05 AM To: Anthony Brown Subject: Jira (PUP-4013) Uninstalling windows package adds /repair paramater instead of /uninstall 
[Image removed by sender.] 
Josh Cooperhttps://tickets.puppetlabs.com/secure/ViewProfile.jspa?name=josh commented on [Bug] PUP-4013https://tickets.puppetlabs.com/browse/PUP-4013 
Re: Uninstalling windows package adds /repair paramater instead of /uninstallhttps://tickets.puppetlabs.com/browse/PUP-4013 
Yes, the package stores the uninstall string in the registry for later use. Puppet introspects the registry to list installed packages, and extracts the uninstall string in https://github.com/puppetlabs/puppet/blob/master/lib/puppet/provider/package/windows/exe_package.rb#L13. You might also take a look at the chocolatey package provider: https://github.com/chocolatey/puppet-chocolatey, which makes it possible to manage chocolatey packages, e.g. https://chocolatey.org/packages/DotNet4.5, in puppet. 
[Add Comment]https://tickets.puppetlabs.com/browse/PUP-4013#add-comment 
Add Commenthttps://tickets.puppetlabs.com/browse/PUP-4013#add-comment 
This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) 
[Atlassian logo] 
 
 
 
 
 
 
 
 
 

Change By:
 
 Anthony Brown 
 
 
 

Attachment:
 
 image001.jpg 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 

Jira (PUP-4013) Uninstalling windows package adds /repair paramater instead of /uninstall

2015-03-11 Thread Anthony Brown (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Anthony Brown updated an issue 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Puppet /  PUP-4013 
 
 
 
  Uninstalling windows package adds /repair paramater instead of /uninstall  
 
 
 
 
 
 
 
 
 
 
If it has no knowledge of this how does it generate an uninstall command at all when I enter in the argument ensure - absent? Obviously it builds the uninstall command from somewhere? Wherever it is getting it registry maybe? It is coming with the repair switch. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups Puppet Bugs group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-4013) Uninstalling windows package adds /repair paramater instead of /uninstall

2015-03-11 Thread Anthony Brown (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Anthony Brown updated an issue 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Puppet /  PUP-4013 
 
 
 
  Uninstalling windows package adds /repair paramater instead of /uninstall  
 
 
 
 
 
 
 
 
 
 
If it has no knowledge of this how does it generate an uninstall command at all when I enter in the argument ensure - absent? Obviously it builds the uninstall command from somewhere? Wherever it is getting it registry maybe? It is coming with the repair switch. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups Puppet Bugs group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-4013) Uninstalling windows package adds /repair paramater instead of /uninstall

2015-02-13 Thread Anthony Brown (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Anthony Brown created an issue 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Puppet /  PUP-4013 
 
 
 
  Uninstalling windows package adds /repair paramater instead of /uninstall  
 
 
 
 
 
 
 
 
 

Issue Type:
 
  Bug 
 
 
 

Affects Versions:
 

 PUP 3.7.4 
 
 
 

Assignee:
 

 Unassigned 
 
 
 

Components:
 

 Windows 
 
 
 

Created:
 

 2015/02/13 9:19 PM 
 
 
 

Environment:
 
 
Windows agent, using puppet package commands, Windows 2008 
 
 
 

Labels:
 

 windows 
 
 
 

Priority:
 
  Normal 
 
 
 

Reporter:
 
 Anthony Brown 
 
 
 
 
 
 
 
 
 
 
When using the puppet agent on a windows host and attempting to uninstall the 'Microsoft .NET Framework 4.5.1' package using ensure = absent the /repair parameter was passed instead of the /uninstall parameter. This was before any uninstall_options were applied. 

Jira (PUP-4013) Uninstalling windows package adds /repair paramater instead of /uninstall

2015-02-13 Thread Anthony Brown (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Anthony Brown updated an issue 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Puppet /  PUP-4013 
 
 
 
  Uninstalling windows package adds /repair paramater instead of /uninstall  
 
 
 
 
 
 
 
 
 

Change By:
 
 Anthony Brown 
 
 
 
 
 
 
 
 
 
 Whenusingthepuppetagentonawindowshostandattemptingtouninstallthe'Microsoft.NETFramework4.5.1'packageusingensure=absentthe/repairparameterwaspassedinsteadofthe/uninstallparameter.  Thiswasbeforeanyuninstall_optionswereapplied. Thismeanstheproductwillberepairedandneveruninstalled. Outputfromdebug:{quote}Debug:Executing'cmd.exe/cstartpuppet-uninstall/wC:\Windows\Microsoft.NET\Framework64\v4.0.30319\SetupCache\v4.5.50938\\Setup.exe_*/repair*_/x86/x64'{quote} 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups Puppet Bugs group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.