Permalink
Browse files

Only install US english voices/language packs by default

  • Loading branch information...
benlangfeld committed Feb 17, 2014
1 parent 46c9763 commit 6425e7c7e59490fae94b62b80b3a74318b911fd3
Showing with 6 additions and 69 deletions.
  1. +2 −23 README.md
  2. +1 −7 attributes/sre.rb
  3. +1 −16 attributes/tts.rb
  4. +2 −23 metadata.rb
View
@@ -34,32 +34,11 @@ Chef cookbook for Lumenvox media engine
* `node['lumenvox']['media_server']['sip_port']` - Sets the port on which the server will listen for incoming SIP messages. 0 = Disabled. Defaults to `default`.
* `node['lumenvox']['sre']['version']` - LumenVox SRE version to install. Defaults to ``.
* `node['lumenvox']['sre']['logging_verbosity']` - Controls the verbosity of event logging. This can be used to increase or decrease the amount of log events that are generated. Note that increasing logging verbosity uses more CPU, and should therefore be avoided wherever possible in production systems where optimal performance is critical. Available options: `1`, `2`, `3`. Defaults to `1`.
-* `node['lumenvox']['sre']['language_packs']` - LumenVox SRE language packs to install. Array of hashes providing :name and (optionally) :version. Defaults to `[
- { :language => "MexicanSpanish", :version => nil},
- { :language => "ColombianSpanish", :version => nil},
- { :language => "CanadianFrench", :version => nil},
- { :language => "BritishEnglish", :version => nil},
- { :language => "AustralianEnglish", :version => nil}
-]`.
+* `node['lumenvox']['sre']['language_packs']` - LumenVox SRE language packs to install. Array of hashes providing :name and (optionally) :version. Defaults to `[]`.
* `node['lumenvox']['tts']['version']` - LumenVox TTS version to install. Defaults to ``.
* `node['lumenvox']['tts']['voices']` - LumenVox TTS voices to install. Array of hashes providing :name and (optionally) :version. Defaults to `[
{:voice => "Jason", :version => nil},
- {:voice => "Rebecca", :version => nil},
- {:voice => "Rita", :version => nil},
- {:voice => "Sophie", :version => nil},
- {:voice => "Chris", :version => nil},
- {:voice => "Lindsey", :version => nil},
- {:voice => "Ben", :version => nil},
- {:voice => "Chloe", :version => nil},
- {:voice => "Lukas", :version => nil},
- {:voice => "Heidi", :version => nil},
- {:voice => "Jean", :version => nil},
- {:voice => "Margot", :version => nil},
- {:voice => "Antonio", :version => nil},
- {:voice => "Martina", :version => nil},
- {:voice => "Luis", :version => nil},
- {:voice => "Lorena", :version => nil},
- {:voice => "Molly", :version => nil}
+ {:voice => "Rebecca", :version => nil}
]`.
# Recipes
View
@@ -1,9 +1,3 @@
default['lumenvox']['sre']['version'] = nil
default['lumenvox']['sre']['logging_verbosity'] = 1
-default['lumenvox']['sre']['language_packs'] = [
- { :language => "MexicanSpanish", :version => nil},
- { :language => "ColombianSpanish", :version => nil},
- { :language => "CanadianFrench", :version => nil},
- { :language => "BritishEnglish", :version => nil},
- { :language => "AustralianEnglish", :version => nil}
-]
+default['lumenvox']['sre']['language_packs'] = []
View
@@ -1,20 +1,5 @@
default['lumenvox']['tts']['version'] = nil
default['lumenvox']['tts']['voices'] = [
{:voice => "Jason", :version => nil},
- {:voice => "Rebecca", :version => nil},
- {:voice => "Rita", :version => nil},
- {:voice => "Sophie", :version => nil},
- {:voice => "Chris", :version => nil},
- {:voice => "Lindsey", :version => nil},
- {:voice => "Ben", :version => nil},
- {:voice => "Chloe", :version => nil},
- {:voice => "Lukas", :version => nil},
- {:voice => "Heidi", :version => nil},
- {:voice => "Jean", :version => nil},
- {:voice => "Margot", :version => nil},
- {:voice => "Antonio", :version => nil},
- {:voice => "Martina", :version => nil},
- {:voice => "Luis", :version => nil},
- {:voice => "Lorena", :version => nil},
- {:voice => "Molly", :version => nil}
+ {:voice => "Rebecca", :version => nil}
]
View
@@ -189,13 +189,7 @@
type: "array",
required: "optional",
recipes: ['lumenvox::sre'],
- default: '[
- { :language => "MexicanSpanish", :version => nil},
- { :language => "ColombianSpanish", :version => nil},
- { :language => "CanadianFrench", :version => nil},
- { :language => "BritishEnglish", :version => nil},
- { :language => "AustralianEnglish", :version => nil}
-]'
+ default: '[]'
grouping 'lumenvox/tts',
title: "Options relevant to the LumenVox Text-to-Speech server"
@@ -216,20 +210,5 @@
recipes: ['lumenvox::tts'],
default: '[
{:voice => "Jason", :version => nil},
- {:voice => "Rebecca", :version => nil},
- {:voice => "Rita", :version => nil},
- {:voice => "Sophie", :version => nil},
- {:voice => "Chris", :version => nil},
- {:voice => "Lindsey", :version => nil},
- {:voice => "Ben", :version => nil},
- {:voice => "Chloe", :version => nil},
- {:voice => "Lukas", :version => nil},
- {:voice => "Heidi", :version => nil},
- {:voice => "Jean", :version => nil},
- {:voice => "Margot", :version => nil},
- {:voice => "Antonio", :version => nil},
- {:voice => "Martina", :version => nil},
- {:voice => "Luis", :version => nil},
- {:voice => "Lorena", :version => nil},
- {:voice => "Molly", :version => nil}
+ {:voice => "Rebecca", :version => nil}
]'

0 comments on commit 6425e7c

Please sign in to comment.