aboutsummaryrefslogtreecommitdiffstats
path: root/manifests/config
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/config')
-rw-r--r--manifests/config/vpp_exec_line.pp20
1 files changed, 20 insertions, 0 deletions
diff --git a/manifests/config/vpp_exec_line.pp b/manifests/config/vpp_exec_line.pp
new file mode 100644
index 0000000..5c64487
--- /dev/null
+++ b/manifests/config/vpp_exec_line.pp
@@ -0,0 +1,20 @@
+# == Define: fdio::config::vpp_exec_line
+#
+# Defined type to configure VPP startup exec line
+#
+# === Parameters:
+# [*path*]
+# (required) Path of VPP exec file path
+#
+# [*line*]
+# (required) VPP exec command
+#
+define fdio::config::vpp_exec_line (
+ $path,
+ $line = $title,
+) {
+ file_line { "${line}":
+ path => $path,
+ line => $line
+ }
+} \ No newline at end of file