Puppet Class: puppet_deluge::ubuntu
- Defined in:
- manifests/ubuntu.pp
Overview
Class: puppet_deluge::ubuntu Lightweight deluge module to install a headless deluge server This module contains Ubuntu 16.04+ specific functions. Module written by Rainbow <rainbow@hacker.horse> Released under the 2-clause BSD license. Depends on puppetlabs/apt
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
# File 'manifests/ubuntu.pp', line 8
class puppet_deluge::ubuntu {
include apt
package { 'python-software-properties':
ensure => installed,
}
package { 'deluge-console':
ensure => latest,
require => [User['deluge'], Apt::Ppa['ppa:deluge-team/ppa']],
}
package { 'deluged':
ensure => latest,
require => User['deluge'],
}
package { 'deluge-web':
ensure => absent,
require => User['deluge'],
}
service { 'deluge':
ensure => running,
enable => true,
require => User['deluge'],
}
apt::ppa { 'ppa:deluge-team/ppa':
require => Package['python-software-properties'],
}
}
|