# limitations under the License.
#
-include_recipe "munin"
include_recipe "prometheus"
mysql_variant = if platform?("ubuntu")
only_if { ::Dir.exist?("/sys/kernel/security/apparmor") }
end
-# FIXME: Remove purge post munin removal
-package "libdbd-mysql-perl" do
- action :purge
-end
-
-package "libcache-cache-perl" do
- action :purge
-end
-
mysql_password = persistent_token("mysql", "prometheus", "password")
mysql_user "prometheus" do