Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Alessandra Forti committed Jun 29, 2018
2 parents 28b0cb6 + 4a0c1d6 commit 2a4f34a
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions manifests/service.pp
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
# Class htcondor::service
#
# Starts the services for HTCondor
class htcondor::service {
class htcondor::service(
$ensure = 'running',
$enable = true,
) {
service { 'condor':
ensure => running,
enable => true,
ensure => $ensure,
enable => $enable,
hasrestart => true,
hasstatus => true,
}
Expand Down

0 comments on commit 2a4f34a

Please sign in to comment.