Issue #4074 has been updated by Charlie Sharpsteen.

See also: discussion in #11865.

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

* Author: Jean-Baptiste Barth
* Status: Accepted
* Priority: Normal
* Assignee: 
* Category: package
* Target version: 
* Affected Puppet 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 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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to