Add package deps and runit service symlink for meas-web
This commit is contained in:
parent
8453212113
commit
4f3516f1a2
2 changed files with 7 additions and 0 deletions
|
@ -19,6 +19,7 @@ class rhizo_base::packages::common {
|
|||
package { ['mosh', 'git', 'openvpn', 'lm-sensors', 'runit-systemd', 'sqlite3',
|
||||
'libffi-dev', 'apcupsd', 'expect', 'gawk', 'swig', 'g++', 'tinc', 'tcpdump',
|
||||
'libcdk5' , 'sngrep', 'rrdtool', 'dnsmasq', 'joe', 'curl', 'htop', 'screen',
|
||||
'websocketd', 'osmo-meas',
|
||||
'python-unidecode', 'python-dateutil', 'python-yaml', 'python-formencode',
|
||||
'python-smpplib', 'python-psycopg2', 'python-pysqlite2' ]:
|
||||
ensure => installed,
|
||||
|
|
|
@ -65,4 +65,10 @@ class rhizo_base::runit {
|
|||
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'] ],
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue