Add package deps and runit service symlink for meas-web

This commit is contained in:
Keith Whyte 2018-03-01 18:15:06 +00:00
parent 8453212113
commit 4f3516f1a2
2 changed files with 7 additions and 0 deletions

View file

@ -19,6 +19,7 @@ class rhizo_base::packages::common {
package { ['mosh', 'git', 'openvpn', 'lm-sensors', 'runit-systemd', 'sqlite3', package { ['mosh', 'git', 'openvpn', 'lm-sensors', 'runit-systemd', 'sqlite3',
'libffi-dev', 'apcupsd', 'expect', 'gawk', 'swig', 'g++', 'tinc', 'tcpdump', 'libffi-dev', 'apcupsd', 'expect', 'gawk', 'swig', 'g++', 'tinc', 'tcpdump',
'libcdk5' , 'sngrep', 'rrdtool', 'dnsmasq', 'joe', 'curl', 'htop', 'screen', 'libcdk5' , 'sngrep', 'rrdtool', 'dnsmasq', 'joe', 'curl', 'htop', 'screen',
'websocketd', 'osmo-meas',
'python-unidecode', 'python-dateutil', 'python-yaml', 'python-formencode', 'python-unidecode', 'python-dateutil', 'python-yaml', 'python-formencode',
'python-smpplib', 'python-psycopg2', 'python-pysqlite2' ]: 'python-smpplib', 'python-psycopg2', 'python-pysqlite2' ]:
ensure => installed, ensure => installed,

View file

@ -65,4 +65,10 @@ class rhizo_base::runit {
require => [ File['/etc/sv'], Class['rhizo_base::kiwi'] ], require => [ File['/etc/sv'], Class['rhizo_base::kiwi'] ],
} }
file { '/etc/service/meas-web':
ensure => link,
target => '/etc/sv/meas-web',
require => [ File['/etc/sv'], Package['websocketd'] ],
}
} }