V
V
Victor2014-11-06 22:47:20
linux
Victor, 2014-11-06 22:47:20

How to add your own repository to ubuntu using puppet, which has a package of the same name?

I compiled nginx with the rtmp module according to the instructions . Puppet adds my repository
to /etc/apt/source.list.d/
the package is called nginx, as well as in the main repository, then it is installed from the main one, because it has higher priority.
How to decide?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
Dan Ivanov, 2014-11-06
@ptchol

Have you made your repository with your nginx ?
If so, you can simply specify the version of the package you are installing.

package { 'nginx' :
  ensure => 'myrepo.1.6.2.rtmp' ,
}

S
sHaggY_caT, 2014-11-07
@sHaggY_caT

https://forge.puppetlabs.com/puppetlabs/apt

B
brutal_lobster, 2014-11-07
@brutal_lobster

In addition to the apt module - you can also change the name of your package :)
For example - nginx-rtmp-orgname ;)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question