Merge pull request #2939 from byxorna/gabe-personalities-with-symbols

allow files in personality to have symbol keys
This commit is contained in:
Kyle Rames 2014-06-02 09:42:21 -05:00
commit e76623f9bc
1 changed files with 2 additions and 2 deletions

View File

@ -37,8 +37,8 @@ module Fog
data['server']['personality'] = []
for file in options['personality']
data['server']['personality'] << {
'contents' => Base64.encode64(file['contents']),
'path' => file['path']
'contents' => Base64.encode64(file['contents'] || file[:contents]),
'path' => file['path'] || file[:path]
}
end
end