summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/control3
-rw-r--r--debian/vyos-1x.install2
-rw-r--r--debian/vyos-1x.postinst5
3 files changed, 10 insertions, 0 deletions
diff --git a/debian/control b/debian/control
index f8cfb876c..15fb5d72e 100644
--- a/debian/control
+++ b/debian/control
@@ -235,6 +235,9 @@ Depends:
squidclient,
squidguard,
# End "service webproxy"
+# For "service monitoring node-exporter"
+ node-exporter,
+# End "service monitoring node-exporter"
# For "service monitoring telegraf"
telegraf (>= 1.20),
# End "service monitoring telegraf"
diff --git a/debian/vyos-1x.install b/debian/vyos-1x.install
index 7171911dc..502fc7aaa 100644
--- a/debian/vyos-1x.install
+++ b/debian/vyos-1x.install
@@ -25,9 +25,11 @@ srv/localui
usr/sbin
usr/bin/config-mgmt
usr/bin/initial-setup
+usr/bin/vyos-show-config
usr/bin/vyos-config-file-query
usr/bin/vyos-config-to-commands
usr/bin/vyos-config-to-json
+usr/bin/vyos-commands-to-config
usr/bin/vyos-hostsd-client
usr/lib
usr/libexec/vyos/activate
diff --git a/debian/vyos-1x.postinst b/debian/vyos-1x.postinst
index dc8ada267..d83634cfc 100644
--- a/debian/vyos-1x.postinst
+++ b/debian/vyos-1x.postinst
@@ -21,6 +21,11 @@ if ! grep -q '^openvpn' /etc/passwd; then
adduser --quiet --firstuid 100 --system --group --shell /usr/sbin/nologin openvpn
fi
+# node_exporter should get its own user
+if ! grep -q '^node_exporter' /etc/passwd; then
+ adduser --quiet --firstuid 100 --system --group --shell /bin/false node_exporter
+fi
+
# We need to have a group for RADIUS service users to use it inside PAM rules
if ! grep -q '^radius' /etc/group; then
addgroup --firstgid 1000 --quiet radius