diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-05-25 14:43:35 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-05-25 14:43:35 -0300 |
commit | c4760e8074a934ce709980214af7a39bd5c283d2 (patch) | |
tree | 2c2726843b7e6db02b045bd998601640ef1f04c7 /manifests | |
parent | 9c4df50e84cfa067e80f22748b2cccb4070ab74f (diff) | |
download | puppet-nodo-c4760e8074a934ce709980214af7a39bd5c283d2.tar.gz puppet-nodo-c4760e8074a934ce709980214af7a39bd5c283d2.tar.bz2 |
Syntax fixes
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/role/nas.pp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/manifests/role/nas.pp b/manifests/role/nas.pp index a18e274..428f23b 100644 --- a/manifests/role/nas.pp +++ b/manifests/role/nas.pp @@ -30,7 +30,7 @@ class nodo::role::nas { include avahi # DLNA - $dlna = hiera('nodo::role::nas::dlna', false); + $dlna = hiera('nodo::role::nas::dlna', false) if $dlna == true { class { 'minidlna': } @@ -47,7 +47,7 @@ class nodo::role::nas { # http://git.puppet.immerda.ch/?p=module-nfsd.git;a=summary # http://wiki.debian.org/NFSServerSetup # http://www.tldp.org/HOWTO/NFS-HOWTO/ - $nfs = hiera('nodo::role::nas::nfs', false); + $nfs = hiera('nodo::role::nas::nfs', false) if $nfs == true { # Main class @@ -64,7 +64,7 @@ class nodo::role::nas { # https://forum.openwrt.org/viewtopic.php?id=12976 # http://download.pureftpd.org/pub/pure-ftpd/doc/FAQ # http://www.massimilianomarini.com/04/02/2012/how-follow-symbolic-links-pure-ftpd - $ftp = hiera('nodo::role::nas::ftp', false); + $ftp = hiera('nodo::role::nas::ftp', false) if $ftp == true { # Main class @@ -102,7 +102,7 @@ class nodo::role::nas { # http://www.linuxplanet.com/linuxplanet/tutorials/6600/2 # http://forums.fedoraforum.org/showthread.php?t=260519 # http://randombio.com/linuxsetup38.html - $samba = hiera('nodo::role::nas::samba', false); + $samba = hiera('nodo::role::nas::samba', false) if $samba == true { # Main class @@ -152,7 +152,7 @@ class nodo::role::nas { # https://github.com/camptocamp/puppet-lighttpd # https://github.com/example42/puppet-lighttpd # http://git.puppet.immerda.ch/?p=module-lighttpd.git;a=summary - $http = hiera('nodo::role::nas::http', false); + $http = hiera('nodo::role::nas::http', false) if $http == true { # Main class @@ -179,7 +179,7 @@ class nodo::role::nas { # # TFTP # - $tftp = hiera('nodo::role::nas::tftp', false); + $tftp = hiera('nodo::role::nas::tftp', false) if $tftp == true { # Main class @@ -194,7 +194,7 @@ class nodo::role::nas { # # Rsync # - $rsync = hiera('nodo::role::nas::rsync', false); + $rsync = hiera('nodo::role::nas::rsync', false) if $rsync == true { include rsync::server @@ -212,7 +212,7 @@ class nodo::role::nas { # # MPD # - $mpd = hiera('nodo::role::nas::mpd', false); + $mpd = hiera('nodo::role::nas::mpd', false) if $mpd == true { include mpd @@ -225,7 +225,7 @@ class nodo::role::nas { # References # https://github.com/mosen/puppet-cups # https://github.com/camptocamp/puppet-cups - $cups = hiera('nodo::role::nas::cups', false); + $cups = hiera('nodo::role::nas::cups', false) if $cups == true { package { [ 'cups', 'cups-client' ]: @@ -240,7 +240,7 @@ class nodo::role::nas { # http://packages.debian.org/stable/forked-daapd # http://packages.debian.org/squeeze/mt-daapd # https://github.com/stahnma/puppet-module-daap_server - #$daap = hiera('nodo::role::nas::daap', false); + #$daap = hiera('nodo::role::nas::daap', false) #if $daap == true { # # Main class, but package not available on wheezy |