brint / wordpress-cookbook

Development repository for Opscode Cookbook wordpress
https://supermarket.chef.io/cookbooks/wordpress
Apache License 2.0
80 stars 174 forks source link

server_name and server_alias issue #44

Open getchudez opened 10 years ago

getchudez commented 10 years ago

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

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.

brint commented 10 years ago

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.