Revision 25f85a0d
Added by Greg Sutcliffe over 10 years ago
manifests/install/repos/apt.pp | ||
---|---|---|
# Install an apt repo
|
||
define foreman::install::repos::apt ($repo) {
|
||
file { "/etc/apt/sources.list.d/${name}.list":
|
||
content => "deb http://deb.theforeman.org/ ${::lsbdistcodename} ${repo}\n"
|
||
content => "deb http://deb.theforeman.org/ ${::lsbdistcodename} ${repo}\ndeb http://deb.theforeman.org/ plugins main\n"
|
||
} ~>
|
||
exec { "foreman-key-${name}":
|
||
command => '/usr/bin/wget -q http://deb.theforeman.org/foreman.asc -O- | /usr/bin/apt-key add -',
|
Also available in: Unified diff
Refs #3308 - Add plugins repo and new plugin classes