Skip to content

Commit

Permalink
mv all pureftpd::service notification into pureftpd class
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua Hoblitt committed Aug 6, 2013
1 parent 5abd649 commit 0242a33
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
1 change: 0 additions & 1 deletion manifests/config.pp
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,5 @@
owner => 'root',
group => 'root',
mode => '0644',
notify => Service[$pureftpd::params::service_name]
}
}
1 change: 0 additions & 1 deletion manifests/config/ldap.pp
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,5 @@
owner => 'root',
group => 'root',
mode => '0644',
notify => Service[$pureftpd::params::service_name]
}
}
1 change: 0 additions & 1 deletion manifests/config/mysql.pp
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,5 @@
owner => 'root',
group => 'root',
mode => '0644',
notify => Service[$pureftpd::params::service_name]
}
}
1 change: 0 additions & 1 deletion manifests/config/pgsql.pp
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,5 @@
owner => 'root',
group => 'root',
mode => '0644',
notify => Service[$pureftpd::params::service_name]
}
}
7 changes: 6 additions & 1 deletion manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,12 @@
Class[ 'pureftpd::config::ldap' ]
}

$safe_config = merge($config, $enable_ldap)
$safe_config = merge(
$config,
{ notify => Class[ 'pureftpd::service' ] },
$enable_ldap
)

create_resources( 'class', { 'pureftpd::config' => $safe_config } )

Class[ 'pureftpd::install' ] ->
Expand Down

0 comments on commit 0242a33

Please sign in to comment.