Puppet Class: puppet_deluge::nozfs

Defined in:
manifests/nozfs.pp

Overview

Class: puppet_deluge::nozfs Lightweight deluge module to install a headless deluge server This module contains legacy directory 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/nozfs.pp', line 8

class puppet_deluge::nozfs {
    file { '/torrents':
    ensure  => directory,
    owner   => deluge,
    mode    => '0644',
    require => User['deluge'],
  }
  file { '/torrents/downloading':
    ensure  => directory,
    owner   => deluge,
    mode    => '0644',
    require => [User['deluge'], File['/torrents']],
  }
  file { '/torrents/files':
    ensure  => directory,
    owner   => deluge,
    mode    => '0644',
    require => [User['deluge'], File['/torrents']],
  }
  file { '/torrents/completed':
    ensure  => directory,
    owner   => deluge,
    mode    => '0644',
    require => [User['deluge'], File['/torrents']],
  }
}