aboutsummaryrefslogtreecommitdiff
path: root/manifests/server
diff options
context:
space:
mode:
authorAdam Jahn <ajjahn@gmail.com>2012-10-25 00:45:48 -0400
committerAdam Jahn <ajjahn@gmail.com>2012-10-25 00:45:48 -0400
commitaf8f868fd076eaec965d281e30f94c6da59cd0b1 (patch)
treeda3a2bc786028f1c60bdc18622b3beb813c2b030 /manifests/server
parent06c07f98c82ca7582e1c76b19fcf0a8f55727267 (diff)
downloadpuppet-samba-af8f868fd076eaec965d281e30f94c6da59cd0b1.tar.gz
puppet-samba-af8f868fd076eaec965d281e30f94c6da59cd0b1.tar.bz2
more lint tests
Diffstat (limited to 'manifests/server')
-rw-r--r--manifests/server/config.pp24
-rw-r--r--manifests/server/install.pp6
-rw-r--r--manifests/server/service.pp16
3 files changed, 22 insertions, 24 deletions
diff --git a/manifests/server/config.pp b/manifests/server/config.pp
index 9699857..d51e432 100644
--- a/manifests/server/config.pp
+++ b/manifests/server/config.pp
@@ -1,19 +1,19 @@
class samba::server::config {
- file { "/etc/samba":
- ensure => directory,
- owner => "root",
- group => "root",
- mode => 0755,
+ file { '/etc/samba':
+ ensure => directory,
+ owner => 'root',
+ group => 'root',
+ mode => '0755',
}
- file { "/etc/samba/smb.conf":
- ensure => present,
- owner => "root",
- group => "root",
- mode => 0644,
- require => [File["/etc/samba"], Class["samba::server::install"]],
- notify => Class["samba::server::service"]
+ file { '/etc/samba/smb.conf':
+ ensure => present,
+ owner => 'root',
+ group => 'root',
+ mode => '0644',
+ require => [File['/etc/samba'], Class['samba::server::install']],
+ notify => Class['samba::server::service']
}
}
diff --git a/manifests/server/install.pp b/manifests/server/install.pp
index 6514626..1454bfe 100644
--- a/manifests/server/install.pp
+++ b/manifests/server/install.pp
@@ -1,7 +1,5 @@
class samba::server::install {
-
- package { "samba":
- ensure => installed,
+ package { 'samba':
+ ensure => installed
}
-
} \ No newline at end of file
diff --git a/manifests/server/service.pp b/manifests/server/service.pp
index 8984841..98bd442 100644
--- a/manifests/server/service.pp
+++ b/manifests/server/service.pp
@@ -1,11 +1,11 @@
class samba::server::service {
-
- service { "smbd":
- ensure => running,
- hasstatus => true,
- hasrestart => true,
- enable => true,
- require => Class["samba::server::config"]
+
+ service { 'smbd':
+ ensure => running,
+ hasstatus => true,
+ hasrestart => true,
+ enable => true,
+ require => Class['samba::server::config']
}
-
+
} \ No newline at end of file