aboutsummaryrefslogtreecommitdiffstats
path: root/charms/trusty/contrail-configuration/files/ntpq-nodemgr
diff options
context:
space:
mode:
Diffstat (limited to 'charms/trusty/contrail-configuration/files/ntpq-nodemgr')
-rwxr-xr-xcharms/trusty/contrail-configuration/files/ntpq-nodemgr10
1 files changed, 10 insertions, 0 deletions
diff --git a/charms/trusty/contrail-configuration/files/ntpq-nodemgr b/charms/trusty/contrail-configuration/files/ntpq-nodemgr
new file mode 100755
index 0000000..da00247
--- /dev/null
+++ b/charms/trusty/contrail-configuration/files/ntpq-nodemgr
@@ -0,0 +1,10 @@
+#!/bin/sh
+#
+# Script to produce some dummy output to satisfy contrail-nodemgr ntp status
+# Note: This is intended to be deployed inside containers where the host is running ntp
+
+if [ -x /usr/bin/ntpq ]; then
+ exec /usr/bin/ntpq "$@"
+fi
+
+echo "*"