Puppet Class: postgresql::hbaconcat
- Defined in:
- manifests/hbaconcat.pp
Overview
Class: postgresql::hbaconcat
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
# File 'manifests/hbaconcat.pp', line 3
class postgresql::hbaconcat {
include postgresql
concat { $postgresql::real_config_file_hba:
mode => '0600',
owner => $postgresql::config_file_owner,
group => $postgresql::config_file_group,
require => Package['postgresql'],
}
# The File Header. With Puppet comment
concat::fragment { 'postgresql_hba_header':
target => $postgresql::real_config_file_hba,
content => template($postgresql::template_hba_header),
order => '01',
notify => $postgresql::manage_service_autorestart,
}
# The File Footer. With default acls
concat::fragment { 'postgresql_hba_footer':
target => $postgresql::real_config_file_hba,
content => template($postgresql::template_hba_footer),
order => '90',
notify => $postgresql::manage_service_autorestart,
}
}
|