diff --git a/bundles/icinga2/files/icingaweb2/roles.ini b/bundles/icinga2/files/icingaweb2/roles.ini new file mode 100644 index 0000000..7976413 --- /dev/null +++ b/bundles/icinga2/files/icingaweb2/roles.ini @@ -0,0 +1,3 @@ +[Administrators] +users = "*" +permissions = "*" diff --git a/bundles/icinga2/items.py b/bundles/icinga2/items.py index 07b1c4b..9c2a911 100644 --- a/bundles/icinga2/items.py +++ b/bundles/icinga2/items.py @@ -6,6 +6,7 @@ from os.path import join ENABLED_FEATURES = { 'api', 'checker', + 'command', 'ido-pgsql', 'mainlog', 'notification', @@ -254,6 +255,11 @@ files = { 'mode': '0660', 'group': 'icingaweb2', }, + '/etc/icingaweb2/roles.ini': { + 'source': 'icingaweb2/roles.ini', + 'mode': '0660', + 'group': 'icingaweb2', + }, # Statusmonitor '/etc/icinga2/icinga_statusmonitor.py': { @@ -269,6 +275,10 @@ files = { }, } +pkg_pip = { + 'easysnmp': {}, # for check_usv_snmp +} + actions = { 'icinga2_api_setup': { 'command': 'icinga2 api setup',