Issue #23077 has been reported by Klavs Klavsen.

----------------------------------------
Bug #23077: package on ubuntu does not work with source parameter
https://projects.puppetlabs.com/issues/23077

* Author: Klavs Klavsen
* Status: Unreviewed
* Priority: Normal
* Assignee: 
* Category: 
* Target version: 
* Affected Puppet version: 3.3.1
* Keywords: 
* Branch: 
----------------------------------------
If I f.ex. say:
package { "diamond": ensure => present, source => "/tmp/diamond_3.48.deb" }

Puppet breaks:
Error: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold 
install diamond' returned 100: Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package diamond
Error: /Stage[main]/Diamond/Package[diamond]/ensure: change from purged to 
present failed: Execution of '/usr/bin/apt-get -q -y -o 
DPkg::Options::=--force-confold install diamond' returned 100: Reading package 
lists...
Building dependency tree...
Reading state information...
E: Unable to locate package diamond

I have to tell puppet to use provider dpkg for it to work :(

the type reference does not give me any pointers as to which providers support 
source - and shouldn't puppet automaticly switch to dpkg, instead of trying 
apt-get install diamond - which obviosly will NEVER work - when I give a 
source, that isn't even used in the command puppet executes.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to