diff --git a/recipes/client.rb b/recipes/client.rb index 2c26c2d..8fffa75 100644 --- a/recipes/client.rb +++ b/recipes/client.rb @@ -37,6 +37,6 @@ else relayhost = results.map {|n| n['ipaddress']}.first end -node.set['postfix']['relayhost'] = "[#{relayhost}]" +node.set['postfix']['main']['relayhost'] = "[#{relayhost}]" include_recipe "postfix"