Change-Id: I15e2bd9fccee87e53609c4c00525bcd2f4974e57changes/59/459/9
parent
1e1d0ffd0c
commit
d65ac02853
@ -1,31 +0,0 @@
|
||||
disk-free:
|
||||
/:
|
||||
max-used : 80%
|
||||
max-inodes: 80%
|
||||
|
||||
running-processes:
|
||||
should-run:
|
||||
- /bin/sh /usr/bin/mysqld_safe
|
||||
- collectd -C /etc/collectd/collectd.conf -f
|
||||
- nginx
|
||||
- rate-o-mat
|
||||
- getty
|
||||
- udevd
|
||||
- lua5.1 /usr/bin/prosody
|
||||
- /usr/bin/mediator
|
||||
- /usr/sbin/acpid
|
||||
- /usr/sbin/nginx
|
||||
- perl-fcgi
|
||||
- "perl-fcgi-pm \[NGCP::Panel\]"
|
||||
- /usr/sbin/asterisk -n
|
||||
- /usr/sbin/collectdmon
|
||||
- /usr/sbin/cron
|
||||
- /usr/sbin/exim4
|
||||
- /usr/sbin/kamailio -f /etc/kamailio/lb/kamailio.cfg -P /var/run/kamailio/kamailio.lb.pid
|
||||
- /usr/sbin/kamailio -f /etc/kamailio/proxy/kamailio.cfg -P /var/run/kamailio/kamailio.proxy.pid
|
||||
- /usr/sbin/rtpengine
|
||||
- /usr/sbin/mysqld
|
||||
- /usr/sbin/ntpd
|
||||
- /usr/sbin/rsyslogd
|
||||
- /usr/sbin/ngcp-sems
|
||||
- /usr/sbin/sshd
|
||||
@ -0,0 +1 @@
|
||||
etc/ngcp-config/templates/etc/ngcp-tests/
|
||||
@ -1,3 +1,4 @@
|
||||
ce/* /usr/share/ngcp-tests/ce/
|
||||
pro/* /usr/share/ngcp-tests/pro/
|
||||
testrunner /usr/share/ngcp-tests/
|
||||
etc/* /etc/ngcp-config/templates/etc/ngcp-tests/
|
||||
|
||||
@ -0,0 +1,72 @@
|
||||
[% PROCESS '/usr/lib/ngcp-ngcpcfg/get_hostname'; hostname = out -%]
|
||||
[% argv.host=hostname; argv.role='proxy';
|
||||
PROCESS '/usr/lib/ngcp-ngcpcfg/has_role';
|
||||
is_proxy = out
|
||||
-%]
|
||||
[% argv.host=hostname; argv.role='lb';
|
||||
PROCESS '/usr/lib/ngcp-ngcpcfg/has_role';
|
||||
is_lb = out
|
||||
-%]
|
||||
[% argv.host=hostname; argv.role='mgmt';
|
||||
PROCESS '/usr/lib/ngcp-ngcpcfg/has_role';
|
||||
is_mgmt = out
|
||||
-%]
|
||||
[% argv.host=hostname; argv.role='db';
|
||||
PROCESS '/usr/lib/ngcp-ngcpcfg/has_role';
|
||||
is_db = out
|
||||
-%]
|
||||
[% argv.host=hostname; argv.role='rtp';
|
||||
PROCESS '/usr/lib/ngcp-ngcpcfg/has_role';
|
||||
is_rtp = out
|
||||
-%]
|
||||
disk-free:
|
||||
/:
|
||||
max-used : 80%
|
||||
max-inodes: 80%
|
||||
|
||||
running-processes:
|
||||
should-run:
|
||||
- getty
|
||||
- udevd
|
||||
- /usr/sbin/acpid
|
||||
- /usr/sbin/collectdmon
|
||||
- collectd -C /etc/collectd/collectd.conf -f
|
||||
- /usr/sbin/cron
|
||||
- /usr/sbin/exim4
|
||||
- /usr/sbin/mysqld
|
||||
- /bin/sh /usr/bin/mysqld_safe
|
||||
- /usr/sbin/ntpd
|
||||
- /usr/sbin/rsyslogd
|
||||
- /usr/sbin/sshd
|
||||
[% IF is_rtp || is_proxy || is_db -%]
|
||||
- /usr/bin/redis-server
|
||||
[% END -%]
|
||||
[% IF is_mgmt -%]
|
||||
[% IF ossbss.frontend == 'apache' -%]
|
||||
- /usr/sbin/apache2
|
||||
- /usr/bin/logger -p daemon.info -t oss
|
||||
[% ELSIF ossbss.frontend == 'fcgi' -%]
|
||||
- "perl-fcgi-pm \[Sipwise::Provisioning\]"
|
||||
[% END -%]
|
||||
- /usr/sbin/nginx
|
||||
[% IF www_csc.enable == 'yes' -%]
|
||||
- perl-fcgi
|
||||
[% END -%]
|
||||
- "perl-fcgi-pm \[NGCP::Panel\]"
|
||||
[% END -%]
|
||||
[% IF is_proxy -%]
|
||||
- /usr/sbin/asterisk -n
|
||||
- /usr/sbin/kamailio -f /etc/kamailio/proxy/kamailio.cfg -P /var/run/kamailio/kamailio.proxy.pid
|
||||
- /usr/sbin/ngcp-sems
|
||||
- lua5.1 /usr/bin/prosody
|
||||
- /usr/bin/mediator
|
||||
[% IF rateomat.enable == "yes" -%]
|
||||
- rate-o-mat
|
||||
[% END -%]
|
||||
[% END -%]
|
||||
[% IF is_lb -%]
|
||||
- /usr/sbin/kamailio -f /etc/kamailio/lb/kamailio.cfg -P /var/run/kamailio/kamailio.lb.pid
|
||||
[% END -%]
|
||||
[% IF is_rtp -%]
|
||||
- /usr/sbin/rtpengine
|
||||
[% END -%]
|
||||
Loading…
Reference in new issue