Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9341015
preinstall.pp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Subscribers
None
preinstall.pp
View Options
# = Class: redis::preinstall
#
# This class provides anything required by the install class.
# Such as package repositories.
#
class
redis
::
preinstall
{
if
$::redis::manage_repo
{
case
$::operatingsystem
{
'RedHat'
,
'CentOS'
,
'Scientific'
,
'OEL'
,
'Amazon'
:
{
require
::
epel
}
'Debian'
:
{
contain
::
apt
apt
::
source
{
'dotdeb'
:
location
=>
'http://packages.dotdeb.org/'
,
release
=>
$::lsbdistcodename,
repos
=>
'all'
,
key
=>
{
id
=>
'6572BBEF1B5FF28B28B706837E3F070089DF5277'
,
source
=>
'http://www.dotdeb.org/dotdeb.gpg'
,
},
include
=>
{
'src'
=>
true
},
before
=>
[
Class
[
'apt::update'
],
Package
[
$::redis::package_name],
],
}
}
'Ubuntu'
:
{
contain
::
apt
apt
::
ppa
{
$::redis::ppa_repo:
before
=>
[
Class
[
'apt::update'
],
Package
[
$::redis::package_name],
],
}
}
default
:
{
}
}
}
}
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Fri, Jul 4, 11:30 AM (3 w, 2 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3366406
Attached To
R226 puppet-puppet-redis
Event Timeline
Log In to Comment