![Major Hayden](/assets/img/avatar_default.png)
If a deployer installs AIDE the first time they apply the role without initializing AIDE and they want to initialize it later, the handler that does the initialization never fires. This patch does a few things: - Ensures AIDE initialization if the initialize_aide bool is True - Doesn't intialize the AIDE db if it already exists - Moves the new db into place on Red Hat systems - Moves the AIDE tasks into its own file with tags - Prevents AIDE from trawling through /var Closes-bug: 1616281 Change-Id: I85d65738fde064b06b1147c529b22c3f44a33e94
36 lines
1.1 KiB
YAML
36 lines
1.1 KiB
YAML
---
|
|
# Copyright 2016, Rackspace US, 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.
|
|
|
|
# Configuration file paths
|
|
pam_auth_file: /etc/pam.d/system-auth
|
|
pam_password_file: /etc/pam.d/password-auth
|
|
vsftpd_conf_file: /etc/vsftpd/vsftpd.conf
|
|
grub_conf_file: /boot/grub2/grub.cfg
|
|
aide_cron_job_path: /etc/cron.d/aide
|
|
aide_database_file: /var/lib/aide/aide.db.gz
|
|
|
|
# Package names
|
|
auditd_pkg: audit
|
|
ldap_server_pkg: openldap-servers
|
|
telnet_server_pkg: telnet-server
|
|
tftp_pkg: tftp-server
|
|
xserver_pkg: xorg-x11-server-Xorg
|
|
ypserv_pkg: ypserv
|
|
|
|
# Service names
|
|
cron_service: crond
|
|
ssh_service: sshd
|
|
chrony_service: chronyd
|