X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/298f0480877d5ac97a527c49a2ecf74b57a69024..9949b8b0124a95a97ea9cc27e8c98a2844d4eab8:/cookbooks/otrs/recipes/default.rb diff --git a/cookbooks/otrs/recipes/default.rb b/cookbooks/otrs/recipes/default.rb index 55429af4d..c0f9c33e7 100644 --- a/cookbooks/otrs/recipes/default.rb +++ b/cookbooks/otrs/recipes/default.rb @@ -20,6 +20,8 @@ include_recipe "tools" include_recipe "apache::ssl" +passwords = data_bag_item("otrs", "passwords") + package "libapache2-mod-perl2" package "libapache2-reload-perl" @@ -40,7 +42,7 @@ group = node[:otrs][:group] database_cluster = node[:otrs][:database_cluster] database_name = node[:otrs][:database_name] database_user = node[:otrs][:database_user] -database_password = node[:otrs][:database_password] +database_password = passwords[node[:otrs][:database_password]] site = node[:otrs][:site] remote_file "/tmp/otrs-#{version}.tar.bz2" do