Puppet Class: minecraft::properties

Defined in:
manifests/properties.pp

Overview



1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# File 'manifests/properties.pp', line 1

class minecraft::properties {

  minecraft::server_setting { 'server.properties': }

  if $minecraft::ops != undef {
    minecraft::server_setting { 'ops.txt': }
  }

  if $minecraft::banned_players != undef {
    minecraft::server_setting { 'banned-players.txt': }
  }

  if $minecraft::banned_ips != undef {
    minecraft::server_setting { 'banned-ips.txt': }
  }

  if $minecraft::white_list_players != undef {
    minecraft::server_setting { 'white-list.txt': }
  }
}