line += "/**\r\n"
line += " * Don't allow file editing.\r\n"
line += " */\r\n"
+ line += "define( 'WP_HOME', 'https://#{new_resource.site}');\r\n"
+ line += "define( 'WP_SITEURL', 'https://#{new_resource.site}');\r\n"
line += "define( 'DISALLOW_FILE_EDIT', true);\r\n"
line += "define( 'DISALLOW_FILE_MODS', true);\r\n"
line += "define( 'AUTOMATIC_UPDATER_DISABLED', true);\r\n"
wordpress_plugin "wp-fail2ban" do
site new_resource.site
+ version "5.1.1"
reload_apache false
end