Puppet Class: pg_profile::database::db_startup
- Inherits:
- pg_profile
- Defined in:
- manifests/database/db_startup.pp
Summary
This class contains the definition for the auto startup of Postgres after a system reboot.Overview
--
pg_profile::database::db_startup
When these customizations aren’t enough, you can replace the class with your own class. See [ora_profile::database](./database.html) for an explanation on how to do this.
–++–
9 10 11 12 13 14 15 16 17 18 19 20 21 |
# File 'manifests/database/db_startup.pp', line 9
class pg_profile::database::db_startup() inherits pg_profile {
easy_type::debug_evaluation() # Show local variable on extended debug
echo {'Ensure Postgres database start':
withpath => false,
}
service { "postgresql-${pg_profile::version}":
ensure => 'running',
enable => true,
}
}
|