summaryrefslogtreecommitdiffstats
path: root/manifests
diff options
context:
space:
mode:
authorSteven Hardy <shardy@redhat.com>2017-01-18 12:25:25 +0000
committerlhinds <lhinds@redhat.com>2017-01-27 10:10:34 +0000
commiteb14c2a9f7acd6a7949e7aee91687756731f93db (patch)
treebba12ba28bd5318100c1efe08ee98fce28ce7648 /manifests
parent7c4e17059bf44c01a7b7023fdd93ed9d17c730ac (diff)
Add AuditD Profile
This patch allows the management of the AuditD service and its associated files (such as `audit.rules`) This is achieved by means of the `puppet-auditd` puppet module. Closes-Bug: #1640302 Co-Authored-By: Luke Hinds (lhinds@redhat.com) Change-Id: Ie31c063b674075e35e1bfa28d1fc07f3f897407b
Diffstat (limited to 'manifests')
-rw-r--r--manifests/profile/base/auditd.pp30
1 files changed, 30 insertions, 0 deletions
diff --git a/manifests/profile/base/auditd.pp b/manifests/profile/base/auditd.pp
new file mode 100644
index 0000000..628db08
--- /dev/null
+++ b/manifests/profile/base/auditd.pp
@@ -0,0 +1,30 @@
+# Copyright 2016 Red Hat, Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+#
+# == class: tripleo::profile::base::auditd
+#
+# auditd profile for tripleo
+#
+# === Parameters
+#
+# [*step*]
+# Defaults to hiera('step')
+#
+class tripleo::profile::base::auditd (
+ $step = hiera('step'),
+) {
+ if $step >= 4 {
+ include ::auditd
+ }
+}