diff --git a/manifests/init.pp b/manifests/init.pp index 4ba78c1..e84f301 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -83,7 +83,7 @@ # class wordpress ( $install_dir = '/opt/wordpress', - $install_url = 'http://wordpress.org', + $install_url = 'https://wordpress.org', $version = '3.8', $create_db = true, $create_db_user = true, @@ -93,7 +93,7 @@ $db_password = 'password', $wp_owner = 'root', $wp_group = '0', - $wp_lang = '', + $wp_lang = undef, $wp_config_content = undef, $wp_plugin_dir = 'DEFAULT', $wp_additional_config = 'DEFAULT', diff --git a/manifests/instance.pp b/manifests/instance.pp index bd4c0a8..d4e3e20 100644 --- a/manifests/instance.pp +++ b/manifests/instance.pp @@ -74,7 +74,7 @@ $db_name, $db_user, $install_dir = $title, - $install_url = 'http://wordpress.org', + $install_url = 'https://wordpress.org', $version = '3.8', $create_db = true, $create_db_user = true, @@ -82,7 +82,7 @@ $db_password = 'password', $wp_owner = 'root', $wp_group = '0', - $wp_lang = '', + $wp_lang = undef, $wp_config_content = undef, $wp_plugin_dir = 'DEFAULT', $wp_additional_config = 'DEFAULT', diff --git a/manifests/instance/app.pp b/manifests/instance/app.pp index 467c800..4eeae90 100644 --- a/manifests/instance/app.pp +++ b/manifests/instance/app.pp @@ -79,7 +79,7 @@ group => $wp_group, } -> exec { "Extract wordpress ${install_dir}": - command => "tar zxvf ./${install_file_name} --strip-components=1", + command => "tar zxvf ./${install_file_name} --dereference --strip-components=1", creates => "${install_dir}/index.php", user => $wp_owner, group => $wp_group,