# limitations under the License.
#
-node.default[:ssl][:certificates] = node[:ssl][:certificates] | ["osmfoundation"]
-
include_recipe "wordpress"
passwords = data_bag_item("switch2osm", "passwords")
aliases ["www.switch2osm.org", "switch2osm.com", "www.switch2osm.com"]
directory "/srv/switch2osm.org"
ssl_enabled true
- ssl_certificate "osmfoundation"
- ssl_certificate_chain "startcom"
database_name "switch2osm-blog"
database_user "switch2osm-user"
database_password passwords["switch2osm-user"]
source "backup.cron.erb"
owner "root"
group "root"
- mode 0750
+ mode 0o750
variables :passwords => passwords
end