Finish initial encfs cookbook and postgres adaptations

This commit is contained in:
2020-06-08 17:01:24 +02:00
parent 379161eb1e
commit b662c04183
8 changed files with 34 additions and 21 deletions

View File

@@ -31,7 +31,7 @@ encfs_password = encfs_data_bag_item["password"]
package "encfs"
encrypted_directory = "/usr/local/lib/encrypted_data"
mount_directory = "/mnt/data"
mount_directory = node["kosmos_encfs"]["data_directory"]
template "/usr/local/bin/mount_encfs" do
source "mount_encfs.erb"
@@ -53,7 +53,7 @@ end
directory mount_directory do
action :create
mode "0775"
mode "0755"
end
# FIXME the password that is stored using this script does not match the actual password