summaryrefslogtreecommitdiff
path: root/services/os
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--services/os.cf3
-rw-r--r--services/os/centos.cf31
2 files changed, 34 insertions, 0 deletions
diff --git a/services/os.cf b/services/os.cf
index 25eb203..6d7ad6d 100644
--- a/services/os.cf
+++ b/services/os.cf
@@ -1,6 +1,7 @@
body file control
{
inputs => {
+ "services/os/centos.cf",
"services/os/debian.cf",
"services/os/freebsd.cf",
"services/os/ubuntu.cf",
@@ -10,6 +11,8 @@ body file control
bundle agent os
{
methods:
+ centos::
+ "centos" usebundle => centos;
debian::
"debian" usebundle => debian;
freebsd::
diff --git a/services/os/centos.cf b/services/os/centos.cf
new file mode 100644
index 0000000..989fb46
--- /dev/null
+++ b/services/os/centos.cf
@@ -0,0 +1,31 @@
+bundle agent centos
+{
+ vars:
+ centos::
+ "packages" slist => {
+ "bash-completion",
+ "bind-utils",
+ "bridge-utils",
+ "bzip2",
+ "deltarpm",
+ "dstat",
+ "epel-release",
+ "htop",
+ "iptstate",
+ "lsof",
+ "ncdu",
+ "net-tools",
+ "rsync",
+ "socat",
+ "tar",
+ "telnet",
+ "tmux",
+ "tree",
+ "vim-enhanced",
+ "wget",
+ "yum-utils",
+ };
+ methods:
+ centos::
+ "centos" usebundle => install_package("$(this.bundle)", "$(centos.packages)");
+}