You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I've been trying to do a fully installation of wordpress using this cookbook but after the installation the apache configuration has not the correct server name or alias
template[/var/www/wordpress/wp-config.php] action create (up to date)
changing values to other value like as centos-web or something like this but I hadn't lucky. The only way where I could assign a value was when I change values at templates.
Is something wrong on my steps or idea?
Thanks in advance
G.
The text was updated successfully, but these errors were encountered:
What you've done sounds right. The attributes listed are consumed in this section. What OS, OS version, and chef-client version are you using? That's very weird that it's not writing anything to the config for ServerName or ServerAlias.
Hello, I've been trying to do a fully installation of wordpress using this cookbook but after the installation the apache configuration has not the correct server name or alias
--- /etc/httpd/sites-available/wordpress.conf 2014-08-19 23:16:00.626466260 -0300
+++ /tmp/chef-rendered-template20140819-11478-1byllfm 2014-08-19 23:16:00.627466260 -0300
@@ -1 +1,26 @@
+<VirtualHost *:80>
I tried to configure the following variables at attributes/default.rb
default['wordpress']['server_aliases'] = [node['fqdn']]
default['wordpress']['server_name'] = node['fqdn']
changing values to other value like as centos-web or something like this but I hadn't lucky. The only way where I could assign a value was when I change values at templates.
Is something wrong on my steps or idea?
Thanks in advance
G.
The text was updated successfully, but these errors were encountered: