Puppet Class: zarafa::licensed::config

Inherits:
zarafa::licensed
Defined in:
manifests/licensed/config.pp

Overview



1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# File 'manifests/licensed/config.pp', line 1

class zarafa::licensed::config inherits zarafa::licensed {
  file { "licensed-cfg":
    path => "/etc/zarafa/licensed.cfg",
    content => template("zarafa/licensed.cfg.erb"),
    notify => Service["zarafa-licensed"]
  }

  file { "license-base":
    path => "/etc/zarafa/license/base",
    content => $base,
    notify => Service["zarafa-licensed"],
  }

  define cal {
    file { "cal-${title}":
      path => "/etc/zarafa/license/cal-${title}",
      content => "${title}",
      notify => Service["zarafa-licensed"],
    }
  }

  if $cal != undef {
    cal { $cal :}
  }
}