Commit f0fcddc7 authored by Russ Allbery's avatar Russ Allbery
Browse files

Move apache::unmanaged into a separate file

parent 18628417
Loading
Loading
Loading
Loading
+0 −11
Original line number Diff line number Diff line
@@ -69,14 +69,3 @@ class apache {
    port        => [ 80, 443 ],
  }
}

# apache::unmanaged - don't try to keep the default apache running.  this
#                     allows for manual or alternate script management of the
#                     apache service
class apache::unmanaged inherits apache {

    Service['apache'] {
        status => '/bin/true',
    }

}

manifests/unmanaged.pp

0 → 100644
+10 −0
Original line number Diff line number Diff line
# Unmanaged Apache override class.  Does not try to keep the default Apache
# running.  This allows for manual or alternate script management of the
# Apache service.

class apache::unmanaged inherits apache {
  Service['apache'] {
    hasstatus => false,
    status    => '/bin/true',
  }
}