From 2df7c60a19f7d2498110fbedbf782dab5930c677 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Thu, 5 Mar 2015 14:13:23 +0100 Subject: [PATCH] puppet: Provision the roles.ini fixes #8617 --- .puppet/profiles/icingaweb2_dev/manifests/init.pp | 2 +- .puppet/profiles/icingaweb2_dev/templates/roles.ini.erb | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 .puppet/profiles/icingaweb2_dev/templates/roles.ini.erb diff --git a/.puppet/profiles/icingaweb2_dev/manifests/init.pp b/.puppet/profiles/icingaweb2_dev/manifests/init.pp index b8bea040f..33f29df3b 100644 --- a/.puppet/profiles/icingaweb2_dev/manifests/init.pp +++ b/.puppet/profiles/icingaweb2_dev/manifests/init.pp @@ -90,7 +90,7 @@ class icingaweb2_dev ( source => $name, } - icingaweb2::config::general { [ 'config', 'resources' ]: + icingaweb2::config::general { [ 'config', 'resources', 'roles' ]: source => $name, replace => false, } diff --git a/.puppet/profiles/icingaweb2_dev/templates/roles.ini.erb b/.puppet/profiles/icingaweb2_dev/templates/roles.ini.erb new file mode 100644 index 000000000..98a885fd0 --- /dev/null +++ b/.puppet/profiles/icingaweb2_dev/templates/roles.ini.erb @@ -0,0 +1,3 @@ +[admins] +users = icingaadmin +permissions = *