Commit graph

661 commits

Author SHA1 Message Date
Nick Chappell
01bab8b187 Added a directory resource for /etc/icinga2/pki/. 2014-07-05 15:47:37 -07:00
Nick Chappell
414849941d Added a directory resource for /etc/icinga2/features-enabled. 2014-07-05 15:47:04 -07:00
Nick Chappell
6489063193 Added a file resource for /etc/icinga2/features-available/. 2014-07-05 15:43:00 -07:00
Nick Chappell
42af2a2f95 Added a file resource for /etc/icinga2/conf.d/. 2014-07-05 15:41:47 -07:00
Nick Chappell
5a6e78d47d Added a file resource for /etc/icinga2/icinga2.conf. 2014-07-05 15:36:56 -07:00
Nick Chappell
82a3cf983c Added a directory resource for /etc/icinga2/. 2014-07-05 15:24:13 -07:00
Nick Chappell
d4f6484702 Uncomment chaining arrows so that we apply the icinga2::server::config class after the icinga2::server::install class. 2014-07-05 15:23:54 -07:00
Nick Chappell
061fffb235 Added parameters that will get used in directory resources for /etc/icinga2/pki/ and /etc/icinga2/scripts/. 2014-07-05 15:17:37 -07:00
Nick Chappell
27ba602386 Added a template for /etc/icinga2/icinga2.conf. 2014-07-05 15:07:09 -07:00
Nick Chappell
8d6deb2a16 Added file and directory owner, group and mode parameters. 2014-07-05 15:06:41 -07:00
Nick Chappell
1d3b9a1942 Added server config parameter subsection. 2014-07-05 13:57:47 -07:00
Nick Chappell
c1483d1034 Include the ::server class, not the ::params class. 2014-07-05 13:51:36 -07:00
Nick Chappell
d53c1e0bb8 Merge branch 'feature/icinga2_client' into develop 2014-07-05 13:51:12 -07:00
Nick Chappell
cca69e86fa Added a template for NRPE command definitions. 2014-07-05 13:50:57 -07:00
Nick Chappell
e0e6d48018 Added a template for nrpe.cfg. 2014-07-05 13:50:38 -07:00
Nick Chappell
4e8d08e186 Added a defined type for NRPE plugins. 2014-07-05 13:50:18 -07:00
Nick Chappell
3f1ecdab02 Added icinga2::client::service class. 2014-07-05 13:50:02 -07:00
Nick Chappell
2de27c7b07 Added icinga2::client::config. 2014-07-05 13:49:50 -07:00
Nick Chappell
8525d09a4b Added a defined type for NRPE command definitions. 2014-07-05 13:49:36 -07:00
Nick Chappell
ac8dc07e4a Added icinga2::client::install class and subclasses. 2014-07-05 13:49:09 -07:00
Nick Chappell
2119edc758 Added main client class. 2014-07-05 13:48:48 -07:00
Nick Chappell
a799e3184c Whitespace. 2014-07-05 12:45:22 -07:00
Nick Chappell
01f3a09473 Added client package parameters. 2014-07-05 12:38:24 -07:00
Nick Chappell
a1d7f73cb5 Added client service parameters. 2014-07-05 12:35:17 -07:00
Nick Chappell
e39572b2d6 Added client parameters. 2014-07-05 12:34:58 -07:00
Nick Chappell
82ed5e4ce8 Added client parameters section. 2014-07-05 12:33:53 -07:00
Nick Chappell
5a704bff36 Move the common package parameters into the right subsection. 2014-07-05 12:32:37 -07:00
Nick Chappell
9825a61032 Add common package parameter ssection. 2014-07-05 12:31:48 -07:00
Nick Chappell
ddac1242b5 Remove the package provider parameters from the server section; create a new common parameters section. 2014-07-05 12:31:16 -07:00
Nick Chappell
a7f1bf9c54 Reorganized parameters. 2014-07-05 12:21:41 -07:00
Nick Chappell
b7c593e63a Made new section and subsection headers since we're going to add client parameters soon. 2014-07-05 12:20:31 -07:00
Nick Chappell
42f1429e14 Load the DB schema as the Icinga 2 DB user so that the tables are owned by the DB user instead of the 'postgres' DB user. 2014-07-04 20:32:31 -07:00
Nick Chappell
e0248a653c Comments. 2014-07-04 12:43:25 -07:00
Nick Chappell
30a2941a08 Added an exec to load the MySQL IDO module. 2014-07-03 22:40:02 -07:00
Nick Chappell
cea6ab147e Added an exec to enable the Postgres IDO module. 2014-07-03 22:30:56 -07:00
Nick Chappell
324e8b50b8 Merge branch 'feature/db_schema_load' into develop 2014-07-03 20:43:25 -07:00
Nick Chappell
44c98f5fee Added exec to load the MySQL schema. 2014-07-03 20:37:48 -07:00
Nick Chappell
16ce34d7a0 Changed includes and a variable name. 2014-07-03 20:36:38 -07:00
Nick Chappell
d750ebd738 Moved the logic to determine the path of the DB schema to the main icinga2::server class. 2014-07-03 20:35:52 -07:00
Nick Chappell
87318a1722 Replace the hard-coded path for the SQL schema file with the variable from params.pp. 2014-07-02 21:54:19 -07:00
Nick Chappell
4fa10d3d32 Added Postgres schema loading; added database connection info parameters. 2014-07-02 19:54:25 -07:00
Nick Chappell
0cd1b80733 Merge branch 'feature/icinga2_package_install' into develop 2014-07-02 19:32:34 -07:00
Nick Chappell
8d400511a1 Create skeleton case statement for DB schema loading later on. 2014-07-02 19:32:24 -07:00
Nick Chappell
cd067dced4 Use the right paths for the schema files on Debian/Ubuntu systems. 2014-07-02 19:03:00 -07:00
Nick Chappell
9a71775038 Added logic to select the right DB schema file to load on Debian/Ubuntu. 2014-06-30 21:46:32 -07:00
Nick Chappell
ebab78476d Removed logic to select stuff based on the Ubuntu release; it's not needed. 2014-06-30 21:45:51 -07:00
Nick Chappell
c6689a061f Added logic to select the right DB schema file to load on RHEL/CentOS. 2014-06-30 21:44:43 -07:00
Nick Chappell
51a408af92 Install the DB connector package. 2014-06-29 23:05:37 -07:00
Nick Chappell
7bebc9612e Moved up server_db_type variable and added a comment on what the following code block is for. 2014-06-29 23:04:56 -07:00
Nick Chappell
876878cd52 Install the Icinga 2 pacakge. 2014-06-29 21:45:32 -07:00