Skip to content

Commit 0242a33

Browse files
author
Joshua Hoblitt
committed
mv all pureftpd::service notification into pureftpd class
1 parent 5abd649 commit 0242a33

File tree

5 files changed

+6
-5
lines changed

5 files changed

+6
-5
lines changed

manifests/config.pp

-1
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,5 @@
139139
owner => 'root',
140140
group => 'root',
141141
mode => '0644',
142-
notify => Service[$pureftpd::params::service_name]
143142
}
144143
}

manifests/config/ldap.pp

-1
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,5 @@
5353
owner => 'root',
5454
group => 'root',
5555
mode => '0644',
56-
notify => Service[$pureftpd::params::service_name]
5756
}
5857
}

manifests/config/mysql.pp

-1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,5 @@
2424
owner => 'root',
2525
group => 'root',
2626
mode => '0644',
27-
notify => Service[$pureftpd::params::service_name]
2827
}
2928
}

manifests/config/pgsql.pp

-1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,5 @@
2121
owner => 'root',
2222
group => 'root',
2323
mode => '0644',
24-
notify => Service[$pureftpd::params::service_name]
2524
}
2625
}

manifests/init.pp

+6-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,12 @@
4444
Class[ 'pureftpd::config::ldap' ]
4545
}
4646

47-
$safe_config = merge($config, $enable_ldap)
47+
$safe_config = merge(
48+
$config,
49+
{ notify => Class[ 'pureftpd::service' ] },
50+
$enable_ldap
51+
)
52+
4853
create_resources( 'class', { 'pureftpd::config' => $safe_config } )
4954

5055
Class[ 'pureftpd::install' ] ->

0 commit comments

Comments
 (0)