puppet-wordpress issueshttps://gitlab.adullact.net/adullact/puppet-wordpress/-/issues2020-01-20T15:32:40+01:00https://gitlab.adullact.net/adullact/puppet-wordpress/-/issues/86wptitle option doesn't accept strings with single quote2020-01-20T15:32:40+01:00Matthieu FAUREwptitle option doesn't accept strings with single quoteShort example: `wptitle => "Site de l'Adullact",`
Full example:
```
class { 'wordpress':
settings => {
'wp1.adullact.lan' => {
wproot => $_vhost_docroot,
owner => $_system_user,
dbhost => $...Short example: `wptitle => "Site de l'Adullact",`
Full example:
```
class { 'wordpress':
settings => {
'wp1.adullact.lan' => {
wproot => $_vhost_docroot,
owner => $_system_user,
dbhost => $_wp_database_host,
dbname => $_wp_database_name,
dbuser => $_wp_database_user,
dbpasswd => $_wp_database_password,
wpadminuser => $_wp_admin_user,
wpadminpasswd => $_wp_admin_password,
wpadminemail => 'john.doe@adullact.org',
locale => 'fr_FR',
wptitle => "Site de l'Adullact",
}
}
}
```
produces the following error:
```
==> default: Notice: /Stage[main]/Wordpress::Site/Wordpress::Config::Option[wp1.adullact.lan > change title]/Exec[wp1.adullact.lan > update blogname]/returns: sh: 1: Syntax error: Unterminated quoted string
==> default: Error: '/usr/local/bin/wp option update blogname 'Site de l'Adullact'' returned 2 instead of one of [0]
==> default: Error: /Stage[main]/Wordpress::Site/Wordpress::Config::Option[wp1.adullact.lan > change title]/Exec[wp1.adullact.lan > update blogname]/returns: change from 'notrun' to ['0'] failed: '/usr/local/bin/wp option update blogname 'Site de l'Adullact'' returned 2 instead of one of [0]
```not-yet-planed-releasehttps://gitlab.adullact.net/adullact/puppet-wordpress/-/issues/85be able to get a resource (plugin or theme) from git repository2019-06-11T15:47:44+02:00Fabien Combernousbe able to get a resource (plugin or theme) from git repositoryWP CLI permits to get resource from central WP repository.
It should be interesting to get a resource from a git repository.WP CLI permits to get resource from central WP repository.
It should be interesting to get a resource from a git repository.not-yet-planed-releasehttps://gitlab.adullact.net/adullact/puppet-wordpress/-/issues/76has_key() is deprecated2019-06-11T15:48:13+02:00Fabien Combernoushas_key() is deprecatedhttps://gitlab.adullact.net/adullact/puppet-wordpress/blob/master/manifests/resource.pp#L72
The function has been replaced with the built-in operator `in`https://gitlab.adullact.net/adullact/puppet-wordpress/blob/master/manifests/resource.pp#L72
The function has been replaced with the built-in operator `in`not-yet-planed-releasehttps://gitlab.adullact.net/adullact/puppet-wordpress/-/issues/37manage mailserver_* options2018-07-31T23:18:21+02:00Fabien Combernousmanage mailserver_* optionsIt is interesting to define with puppet the mail server to use to send mail :
```
$> wp option list|grep mailserver
mailserver_url mail.example.com
mailserver_login login@example.com
mailserver_pass password
mailserver_port 110
```It is interesting to define with puppet the mail server to use to send mail :
```
$> wp option list|grep mailserver
mailserver_url mail.example.com
mailserver_login login@example.com
mailserver_pass password
mailserver_port 110
```not-yet-planed-releasehttps://gitlab.adullact.net/adullact/puppet-wordpress/-/issues/26Be able to purge unmanaged resources2018-07-11T10:10:32+02:00Fabien CombernousBe able to purge unmanaged resourcesWith the current version of the module, resources (plugins and themes) not defined in `wpresources` are not modified by puppet.
It should be interesting to be able to uninstall all resources not defined in `wpresources`, as an optional ...With the current version of the module, resources (plugins and themes) not defined in `wpresources` are not modified by puppet.
It should be interesting to be able to uninstall all resources not defined in `wpresources`, as an optional parameter.
Something like :
```
class { 'wordpress' :
...
wpresources => {
plugin => [
{ 'purge' => true },
{ 'name' => 'plugin1' },
{ 'name' => 'plugin2' },
],
theme => [
{ 'name' => 'newtheme' },
{ 'name' => 'olwtheme', ensure => 'absent' },
]
},
}
```
Question is choice of default value about `purge` : `true` or `false`.
With defaults true, probably the `wpresources` hash will be simpler.not-yet-planed-releasehttps://gitlab.adullact.net/adullact/puppet-wordpress/-/issues/18be able to use theme unavailable with WP-CLI2018-07-12T14:08:12+02:00Fabien Combernousbe able to use theme unavailable with WP-CLIWith the WP-CLI tool, it is possible to install a list of themes from WordPress.org repository.
But, it should be interesting to download themes from http url and then install them with WP-CLI.With the WP-CLI tool, it is possible to install a list of themes from WordPress.org repository.
But, it should be interesting to download themes from http url and then install them with WP-CLI.not-yet-planed-releasehttps://gitlab.adullact.net/adullact/puppet-wordpress/-/issues/14be able to download via proxy2018-07-06T10:39:40+02:00Fabien Combernousbe able to download via proxyIf the host running the module is behind a proxy, it is impossible to use this module.If the host running the module is behind a proxy, it is impossible to use this module.not-yet-planed-release