Thomas Weißschuh
56618bee69
liddir -> libdir
...
Signed-off-by: Nick Chappell <nick@intronic.org>
Fixes a typo by changing instances of 'liddir' to 'libdir'.
Originally from https://github.com/Icinga/puppet-icinga2/pull/6
refs #7189 , https://dev.icinga.org/issues/7189
2014-09-11 22:48:40 -07:00
Nick Chappell
e6a0db39a7
Added a note on how the vars parameter for host objects should be specified.
2014-09-07 16:48:37 -07:00
Nick Chappell
210c8fd7fc
Added a subsection to the host object section for notes on specific parameters; included a note on how the group parameter should be specified.
2014-09-07 16:47:34 -07:00
Nick Chappell
d40443c4f0
Added a usage example to the README section on host ojects.
2014-09-07 16:43:52 -07:00
Nick Chappell
b3ad2d0b57
Added a section to the README for servicegroup objects with a usage example.
2014-09-07 16:32:02 -07:00
Nick Chappell
73190ad008
Added an ERB template to create servicegroup object files.
2014-09-07 16:31:20 -07:00
Nick Chappell
52da440fa5
Added a servicegroup object defined type.
2014-09-07 16:31:03 -07:00
Nick Chappell
c6bb94e5ee
Bump the version of the apt module that's required by metadata.json.
2014-09-07 16:30:44 -07:00
Nick Chappell
2e44972f70
Changed the DB schema file paths for RHEL/CentOS.
2014-09-07 14:29:34 -07:00
Nick Chappell
d4794afa95
For Ubuntu systems, switch to adding the Icinga PPA instead of the release snapshot apt repo.
2014-09-07 14:01:17 -07:00
Nick Chappell
bbb2ed10f4
Remove Debian from the regex since it's not a supported distro yet.
2014-09-07 13:41:57 -07:00
Nick Chappell
200645b4cc
Added validation to the icinga2::object::usergroup class' parameters.
2014-09-06 18:50:27 -07:00
Nick Chappell
b83450af91
Added validation to the icinga2::object::user class' parameters.
2014-09-06 18:50:21 -07:00
Nick Chappell
c8230124ef
Added validation to the icinga2::object::service class' parameters.
2014-09-06 18:50:13 -07:00
Nick Chappell
1af2287ea7
Added validation to the icinga2::object::idopgsqlconnection class' parameters.
2014-09-06 18:44:34 -07:00
Nick Chappell
db735934b5
Added validation to the icinga2::object::idomysqlconnection class' parameters.
2014-09-06 18:44:26 -07:00
Nick Chappell
ddc3395113
Added validation to the icinga2::object::hostgroup class' parameters.
2014-09-06 18:44:12 -07:00
Nick Chappell
ee68d95053
Added validation to the icinga2::object::host class' parameters.
2014-09-06 18:44:05 -07:00
Nick Chappell
4e1cec7439
Added validation to the icinga2::object::apply_service_to_host class' parameters.
2014-09-06 18:43:50 -07:00
Nick Chappell
c95e81d2c3
Added validation to the icinga2::nrpe::plugin class' parameters.
2014-09-06 18:04:50 -07:00
Nick Chappell
2a150f33e9
Added validation to the icinga2::nrpe::command class' parameters.
2014-09-06 18:04:42 -07:00
Nick Chappell
3f37faa3b6
Added validation to nrpe.pp's parameters.
2014-09-06 18:04:15 -07:00
Nick Chappell
a12585bc7c
Make the default value of the server_install_nagios_plugins value a boolean version true instead of a string version 'true'.
2014-09-06 17:51:40 -07:00
Nick Chappell
8ce71724ad
Add some more validation of parameters to the icinga2::server's parameters.
2014-09-06 17:51:04 -07:00
Nick Chappell
27e5aee56c
Renamed the client usage section to more accurately reflect what it's about.
2014-08-25 18:29:28 -07:00
Nick Chappell
840d1dfa3f
Camel case UserGroup, like what's in the Icinga docs.
2014-08-24 18:22:06 -07:00
Nick Chappell
66b3f17744
Added a missing = to the pager parameter of the user object ERB template.
2014-08-24 18:16:46 -07:00
Nick Chappell
7b59ae8a95
Remove a - from the <%- end -%> so that we do render trailing whitespace; otherwise, enable_notifications and the next rendered parameter get put on the same line and cause an error when the Icinga 2 daemon starts up.
2014-08-24 18:16:21 -07:00
Nick Chappell
fe21de08f0
Remove duplicate enable_notifications parameter that was added.
2014-08-24 18:14:50 -07:00
Nick Chappell
9ec7f5ca9c
Name user object files after the defined type instance's name instead of the FQDN of the machine.
2014-08-24 17:59:58 -07:00
Nick Chappell
c70857e802
Removed a duplicate enable_notifications rendering in the user object ERB tempalte.
2014-08-24 17:59:28 -07:00
Nick Chappell
a1657b2d6d
Added a section to the readme about the usergroup defined type.
2014-08-24 17:48:49 -07:00
Nick Chappell
2c6d82895c
Added an enable_notifications parameter to the user object defined type.
2014-08-24 17:48:28 -07:00
Nick Chappell
7a21694ab2
Added a usergroup defined type and accompanying ERB tempalte.
2014-08-24 17:25:42 -07:00
Nick Chappell
cb477311a9
Add a - between the su and postgres so that we inherit the Postgres user's environment and don't try to run the command with /root as the working directory.
2014-08-24 12:25:06 -07:00
Nick Chappell
f9f7cc5ad9
Use && in between the shell commands in the exects so that if any of the commands inside fail, the entire exec resource will fail.
...
With ; in between each shell command, the command chain would continue on even if one of the commands returned a non-0 exit status. Because this would make Puppet think the entire exec resource succeeded, Puppet would continue on configuring the rest of the resources in icinga2::server and all of its subclasses. With && in between each subcommand, the execs will fail if any of the subcommands fail and Puppet will skip the rest of the module's resources, not leaving things in a bad state.
2014-08-24 12:07:46 -07:00
Nick Chappell
2879c0c2cd
Merge branch 'feature/ido_db_objects'
2014-08-23 19:19:57 -07:00
Nick Chappell
41af79c048
Removed the example of the icinga2::server class that was in the DB section, since an icinga2::server example is just below in its own section.
2014-08-23 19:13:28 -07:00
Nick Chappell
0b59795e1c
Removed extra language that's not relevant to the section it's in.
2014-08-23 19:12:13 -07:00
Nick Chappell
9998f01d5d
Removed Postgres-specific language.
2014-08-23 19:08:58 -07:00
Nick Chappell
bc7fac04fd
Whitespace cleanup.
2014-08-23 19:07:42 -07:00
Nick Chappell
18f5c5cab7
Added a note to the README about creating an IDO connection object via the defined type.
2014-08-23 19:07:09 -07:00
Nick Chappell
3596f236ce
Whitespace cleanup.
2014-08-23 17:39:36 -07:00
Nick Chappell
5f05d3bfbe
Added icinga2::object::idopgsqlconnection object documentation to the README.
2014-08-23 17:18:30 -07:00
Nick Chappell
1b2bd10488
Added icinga2::object::idomysqlconnection object documentation to the README.
2014-08-23 17:18:20 -07:00
Nick Chappell
928b09bb90
Correct the object name in the Postgres IDO connection object ERB template.
2014-08-23 13:45:13 -07:00
Nick Chappell
8f6fa5b70d
Added an ERB template to render Postgres IDO connection object definitions.
2014-08-22 22:26:58 -07:00
Nick Chappell
552072ec3b
Added a defined type for Postgres IDO connection object definitions.
2014-08-22 22:26:42 -07:00
Nick Chappell
6ead21b5e1
Don't name the object with the @object_name variable, since IDO MySQL connection objects have to have 'mysql-ido' as the object's name.
2014-08-22 22:26:25 -07:00
Nick Chappell
d0a151b414
Merge branch 'feature/ido_db_objects'
2014-08-22 18:37:31 -07:00