diff options
author | mh <mh@immerda.ch> | 2013-06-05 22:53:16 +0200 |
---|---|---|
committer | mh <mh@immerda.ch> | 2013-06-05 22:53:16 +0200 |
commit | ea73f5f58e52466982a0783fb67e4c022cf3ce75 (patch) | |
tree | 0b1251cb49ca710e304a52bb3557a75f7bdbe77b | |
parent | a29937282df1bb51a69e5c0525f3bf4b5b435fe9 (diff) | |
download | puppet-mumble-ea73f5f58e52466982a0783fb67e4c022cf3ce75.tar.gz puppet-mumble-ea73f5f58e52466982a0783fb67e4c022cf3ce75.tar.bz2 |
linting
-rw-r--r-- | manifests/init.pp | 6 | ||||
-rw-r--r-- | manifests/ssl.pp | 13 |
2 files changed, 11 insertions, 8 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index 85865dc..e26d52e 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -9,15 +9,15 @@ class mumble( $config_content = false, $config_source = [ "puppet:///modules/site_mumble/${::fqdn}/mumble-server.ini", - "puppet:///modules/site_mumble/mumble-server.ini", - "puppet:///modules/mumble/mumble-server.ini" ], + 'puppet:///modules/site_mumble/mumble-server.ini', + 'puppet:///modules/mumble/mumble-server.ini' ], ) { package{'mumble-server': ensure => installed, } -> file{'/etc/mumble-server.ini': owner => root, group => mumble-server, - mode => 0640; + mode => '0640'; } ~> service{'mumble-server': ensure => 'running', enable => true, diff --git a/manifests/ssl.pp b/manifests/ssl.pp index 3b605f7..5fbaef4 100644 --- a/manifests/ssl.pp +++ b/manifests/ssl.pp @@ -1,13 +1,16 @@ # ssl setup for mumble class mumble::ssl inherits mumble { - file { [ "/etc/mumble-server", "/etc/mumble-server/ssl", "/etc/mumble-server/ssl/certs", "/etc/mumble-server/ssl/private" ]: + file { + [ '/etc/mumble-server', '/etc/mumble-server/ssl', + '/etc/mumble-server/ssl/certs', + '/etc/mumble-server/ssl/private' ]: ensure => directory, - owner => "root", - group => "mumble-server", - mode => 0750, + owner => root, + group => 'mumble-server', + mode => '0750', } - ssl::cert { "cert": + ssl::cert { 'cert': owner => 'mumble-server', group => 'mumble-server', base => '/etc/mumble-server/ssl', |