Puppet Class: one::oned::onegate::service

Defined in:
manifests/oned/onegate/service.pp

Overview

Class one::oned::onegate::service

Installation and Configuration of OpenNebula opennebula.org/

Author

ePost Development GmbH © 2013

Contributors:

  • Martin Alfke

  • Achim Ledermueller (Netways GmbH)

  • Sebastian Saemann (Netways GmbH)

  • Matthias Schmitz

License

Apache License Version 2.0 www.apache.org/licenses/LICENSE-2.0.html



19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# File 'manifests/oned/onegate/service.pp', line 19

class one::oned::onegate::service {
  # init script will be available in version 4.4
  # http://dev.opennebula.org/issues/2183
  #service {'onegate-server':
  #  hasstatus => true,
  #  enable => true,
  #  ensure => running,
  #}
  service {'onegate-server':
    ensure     => running,
    provider   => 'base',
    hasstatus  => false,
    hasrestart => false,
    start      => '/bin/su -c "/usr/bin/onegate-server start" oneadmin',
    stop       => '/bin/su -c "/usr/bin/onegate-server stop" oneadmin ',
    enable     => true,
    path       => '/usr/bin/'
  }
}