Issue #4074 has been reported by Jean-Baptiste Barth.

----------------------------------------
Feature #4074: Package/source should accept puppet:// files
http://projects.puppetlabs.com/issues/4074

Author: Jean-Baptiste Barth
Status: Unreviewed
Priority: Normal
Assigned to: 
Category: package
Target version: 
Affected version: 0.25.5
Keywords: 
Branch: 


Sometimes you need to use backported packages on debian-like system (we could 
easily imagine use cases for other platforms). In work/production environments, 
it's quite rare to have directly access to the Internet for security reasons. 
So "package" type should accept a "source" located on the puppet master 
filebucket, whereas it only accepts local packages for the moment.

Said differently, I'd like to turn this kind of awful recipe : <pre>
class apache2-passenger {
  package {"libapache2-mod-passenger":
    ensure => installed,
    provider => dpkg,
    source => "/tmp/mod-passenger.deb"
    require => File[tmp-passenger]
  }
  file {"tmp-passenger":
    name => "/tmp/mod-passenger.deb",
    owner => root,
    group => root,
    source => 
"puppet:///files/redmine/libapache2-mod-passenger_2.2.11debian-1~bpo50+1_i386.deb"
  }
}

</pre>
Into something like this : <pre>
class apache2-passenger {
  package {"libapache2-mod-passenger":
    ensure => installed,
    provider => dpkg,
    source => 
"puppet:///files/passenger/libapache2-mod-passenger_2.2.11debian-1~bpo50+1_i386.deb"
  }
}
</pre>
Let me know your opinion about that. Thanks!


-- 
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 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-bugs?hl=en.

Reply via email to