aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorNan Liu <nan@puppetlabs.com>2012-07-27 16:01:33 -0700
committerNan Liu <nan@puppetlabs.com>2012-07-27 16:01:33 -0700
commit9e55e18c84259bb007fa023c9e06b908e8f042a2 (patch)
tree747efca041902c7c453af055fa058cfcdc168ae3 /manifests
parentc0ea8207bc2bdb4d62c81ac6f547e560549f2fd3 (diff)
downloadpuppet-tftp-9e55e18c84259bb007fa023c9e06b908e8f042a2.tar.gz
puppet-tftp-9e55e18c84259bb007fa023c9e06b908e8f042a2.tar.bz2
Fix whitespace and readme.
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp21
-rw-r--r--manifests/params.pp1
2 files changed, 11 insertions, 11 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 8becd7d..4fe22be 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -39,20 +39,20 @@ class tftp (
ensure => present,
name => $package,
}
+
if $defaults {
- file { '/etc/default/tftpd-hpa':
- ensure => file,
- owner => 'root',
- group => 'root',
- mode => '0644',
- content => template('tftp/tftpd-hpa.erb'),
- require => Package['tftpd-hpa'],
+ file { '/etc/default/tftpd-hpa':
+ ensure => file,
+ owner => 'root',
+ group => 'root',
+ mode => '0644',
+ content => template('tftp/tftpd-hpa.erb'),
+ require => Package['tftpd-hpa'],
notify => Service['tftpd-hpa'],
- }
+ }
}
if $inetd {
-
include 'xinetd'
xinetd::service { 'tftp':
@@ -67,7 +67,8 @@ class tftp (
flags => 'IPv4',
per_source => '11',
wait => 'yes',
- }
+ }
+
$svc_ensure = stopped
$svc_enable = false
} else {
diff --git a/manifests/params.pp b/manifests/params.pp
index 93344b7..bbe86cc 100644
--- a/manifests/params.pp
+++ b/manifests/params.pp
@@ -43,5 +43,4 @@ class tftp::params {
warning("tftp:: $::operatingsystem may not be supported")
}
}
-
}