diff --git a/modules/rhizomatica_base_system/.project b/modules/rhizo_base/.project similarity index 100% rename from modules/rhizomatica_base_system/.project rename to modules/rhizo_base/.project diff --git a/modules/rhizomatica_base_system/Modulefile b/modules/rhizo_base/Modulefile similarity index 100% rename from modules/rhizomatica_base_system/Modulefile rename to modules/rhizo_base/Modulefile diff --git a/modules/rhizomatica_base_system/README.markdown b/modules/rhizo_base/README.markdown similarity index 100% rename from modules/rhizomatica_base_system/README.markdown rename to modules/rhizo_base/README.markdown diff --git a/modules/rhizomatica_base_system/Rakefile b/modules/rhizo_base/Rakefile similarity index 100% rename from modules/rhizomatica_base_system/Rakefile rename to modules/rhizo_base/Rakefile diff --git a/modules/rhizomatica_base_system/files/bin/bind_check.sh b/modules/rhizo_base/files/bin/bind_check.sh similarity index 100% rename from modules/rhizomatica_base_system/files/bin/bind_check.sh rename to modules/rhizo_base/files/bin/bind_check.sh diff --git a/modules/rhizomatica_base_system/files/bin/capture_traffic.sh b/modules/rhizo_base/files/bin/capture_traffic.sh similarity index 100% rename from modules/rhizomatica_base_system/files/bin/capture_traffic.sh rename to modules/rhizo_base/files/bin/capture_traffic.sh diff --git a/modules/rhizomatica_base_system/files/bin/check_amp_status.sh b/modules/rhizo_base/files/bin/check_amp_status.sh similarity index 100% rename from modules/rhizomatica_base_system/files/bin/check_amp_status.sh rename to modules/rhizo_base/files/bin/check_amp_status.sh diff --git a/modules/rhizomatica_base_system/files/bin/log_broken_channels.sh b/modules/rhizo_base/files/bin/log_broken_channels.sh similarity index 100% rename from modules/rhizomatica_base_system/files/bin/log_broken_channels.sh rename to modules/rhizo_base/files/bin/log_broken_channels.sh diff --git a/modules/rhizomatica_base_system/files/bin/monitor_amp.sh b/modules/rhizo_base/files/bin/monitor_amp.sh similarity index 100% rename from modules/rhizomatica_base_system/files/bin/monitor_amp.sh rename to modules/rhizo_base/files/bin/monitor_amp.sh diff --git a/modules/rhizomatica_base_system/files/bin/monitor_rapi.sh b/modules/rhizo_base/files/bin/monitor_rapi.sh similarity index 100% rename from modules/rhizomatica_base_system/files/bin/monitor_rapi.sh rename to modules/rhizo_base/files/bin/monitor_rapi.sh diff --git a/modules/rhizomatica_base_system/files/bin/pg_backup_rotated.sh b/modules/rhizo_base/files/bin/pg_backup_rotated.sh similarity index 100% rename from modules/rhizomatica_base_system/files/bin/pg_backup_rotated.sh rename to modules/rhizo_base/files/bin/pg_backup_rotated.sh diff --git a/modules/rhizomatica_base_system/files/bin/sqlite_backup_rotated.sh b/modules/rhizo_base/files/bin/sqlite_backup_rotated.sh similarity index 100% rename from modules/rhizomatica_base_system/files/bin/sqlite_backup_rotated.sh rename to modules/rhizo_base/files/bin/sqlite_backup_rotated.sh diff --git a/modules/rhizomatica_base_system/files/bin/turn_on_amplifier.sh b/modules/rhizo_base/files/bin/turn_on_amplifier.sh similarity index 100% rename from modules/rhizomatica_base_system/files/bin/turn_on_amplifier.sh rename to modules/rhizo_base/files/bin/turn_on_amplifier.sh diff --git a/modules/rhizomatica_base_system/files/etc/cron.d/rhizomatica b/modules/rhizo_base/files/etc/cron.d/rhizomatica similarity index 100% rename from modules/rhizomatica_base_system/files/etc/cron.d/rhizomatica rename to modules/rhizo_base/files/etc/cron.d/rhizomatica diff --git a/modules/rhizomatica_base_system/files/etc/default/grub b/modules/rhizo_base/files/etc/default/grub similarity index 100% rename from modules/rhizomatica_base_system/files/etc/default/grub rename to modules/rhizo_base/files/etc/default/grub diff --git a/modules/rhizomatica_base_system/files/etc/default/lcr b/modules/rhizo_base/files/etc/default/lcr similarity index 100% rename from modules/rhizomatica_base_system/files/etc/default/lcr rename to modules/rhizo_base/files/etc/default/lcr diff --git a/modules/rhizomatica_base_system/files/etc/default/rcS b/modules/rhizo_base/files/etc/default/rcS similarity index 100% rename from modules/rhizomatica_base_system/files/etc/default/rcS rename to modules/rhizo_base/files/etc/default/rcS diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/abstraction.conf.xml b/modules/rhizo_base/files/etc/freeswitch/autoload_configs/abstraction.conf.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/abstraction.conf.xml rename to modules/rhizo_base/files/etc/freeswitch/autoload_configs/abstraction.conf.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/acl.conf.xml b/modules/rhizo_base/files/etc/freeswitch/autoload_configs/acl.conf.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/acl.conf.xml rename to modules/rhizo_base/files/etc/freeswitch/autoload_configs/acl.conf.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/alsa.conf.xml b/modules/rhizo_base/files/etc/freeswitch/autoload_configs/alsa.conf.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/alsa.conf.xml rename to modules/rhizo_base/files/etc/freeswitch/autoload_configs/alsa.conf.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/blacklist.conf.xml b/modules/rhizo_base/files/etc/freeswitch/autoload_configs/blacklist.conf.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/blacklist.conf.xml rename to modules/rhizo_base/files/etc/freeswitch/autoload_configs/blacklist.conf.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/callcenter.conf.xml b/modules/rhizo_base/files/etc/freeswitch/autoload_configs/callcenter.conf.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/callcenter.conf.xml rename to modules/rhizo_base/files/etc/freeswitch/autoload_configs/callcenter.conf.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/cdr_mongodb.conf.xml b/modules/rhizo_base/files/etc/freeswitch/autoload_configs/cdr_mongodb.conf.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/cdr_mongodb.conf.xml rename to modules/rhizo_base/files/etc/freeswitch/autoload_configs/cdr_mongodb.conf.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/cdr_sqlite.conf.xml b/modules/rhizo_base/files/etc/freeswitch/autoload_configs/cdr_sqlite.conf.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/cdr_sqlite.conf.xml rename to modules/rhizo_base/files/etc/freeswitch/autoload_configs/cdr_sqlite.conf.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/cepstral.conf.xml b/modules/rhizo_base/files/etc/freeswitch/autoload_configs/cepstral.conf.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/cepstral.conf.xml rename to modules/rhizo_base/files/etc/freeswitch/autoload_configs/cepstral.conf.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/cidlookup.conf.xml b/modules/rhizo_base/files/etc/freeswitch/autoload_configs/cidlookup.conf.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/cidlookup.conf.xml rename to modules/rhizo_base/files/etc/freeswitch/autoload_configs/cidlookup.conf.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/conference.conf.xml b/modules/rhizo_base/files/etc/freeswitch/autoload_configs/conference.conf.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/conference.conf.xml rename to modules/rhizo_base/files/etc/freeswitch/autoload_configs/conference.conf.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/console.conf.xml b/modules/rhizo_base/files/etc/freeswitch/autoload_configs/console.conf.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/console.conf.xml rename to modules/rhizo_base/files/etc/freeswitch/autoload_configs/console.conf.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/db.conf.xml b/modules/rhizo_base/files/etc/freeswitch/autoload_configs/db.conf.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/db.conf.xml rename to modules/rhizo_base/files/etc/freeswitch/autoload_configs/db.conf.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/dialplan_directory.conf.xml b/modules/rhizo_base/files/etc/freeswitch/autoload_configs/dialplan_directory.conf.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/dialplan_directory.conf.xml rename to modules/rhizo_base/files/etc/freeswitch/autoload_configs/dialplan_directory.conf.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/dingaling.conf.xml b/modules/rhizo_base/files/etc/freeswitch/autoload_configs/dingaling.conf.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/dingaling.conf.xml rename to modules/rhizo_base/files/etc/freeswitch/autoload_configs/dingaling.conf.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/directory.conf.xml b/modules/rhizo_base/files/etc/freeswitch/autoload_configs/directory.conf.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/directory.conf.xml rename to modules/rhizo_base/files/etc/freeswitch/autoload_configs/directory.conf.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/distributor.conf.xml b/modules/rhizo_base/files/etc/freeswitch/autoload_configs/distributor.conf.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/distributor.conf.xml rename to modules/rhizo_base/files/etc/freeswitch/autoload_configs/distributor.conf.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/easyroute.conf.xml b/modules/rhizo_base/files/etc/freeswitch/autoload_configs/easyroute.conf.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/easyroute.conf.xml rename to modules/rhizo_base/files/etc/freeswitch/autoload_configs/easyroute.conf.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/enum.conf.xml b/modules/rhizo_base/files/etc/freeswitch/autoload_configs/enum.conf.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/enum.conf.xml rename to modules/rhizo_base/files/etc/freeswitch/autoload_configs/enum.conf.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/erlang_event.conf.xml b/modules/rhizo_base/files/etc/freeswitch/autoload_configs/erlang_event.conf.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/erlang_event.conf.xml rename to modules/rhizo_base/files/etc/freeswitch/autoload_configs/erlang_event.conf.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/event_multicast.conf.xml b/modules/rhizo_base/files/etc/freeswitch/autoload_configs/event_multicast.conf.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/event_multicast.conf.xml rename to modules/rhizo_base/files/etc/freeswitch/autoload_configs/event_multicast.conf.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/event_socket.conf.xml b/modules/rhizo_base/files/etc/freeswitch/autoload_configs/event_socket.conf.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/event_socket.conf.xml rename to modules/rhizo_base/files/etc/freeswitch/autoload_configs/event_socket.conf.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/fax.conf.xml b/modules/rhizo_base/files/etc/freeswitch/autoload_configs/fax.conf.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/fax.conf.xml rename to modules/rhizo_base/files/etc/freeswitch/autoload_configs/fax.conf.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/fifo.conf.xml b/modules/rhizo_base/files/etc/freeswitch/autoload_configs/fifo.conf.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/fifo.conf.xml rename to modules/rhizo_base/files/etc/freeswitch/autoload_configs/fifo.conf.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/format_cdr.conf.xml b/modules/rhizo_base/files/etc/freeswitch/autoload_configs/format_cdr.conf.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/format_cdr.conf.xml rename to modules/rhizo_base/files/etc/freeswitch/autoload_configs/format_cdr.conf.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/hash.conf.xml b/modules/rhizo_base/files/etc/freeswitch/autoload_configs/hash.conf.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/hash.conf.xml rename to modules/rhizo_base/files/etc/freeswitch/autoload_configs/hash.conf.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/httapi.conf.xml b/modules/rhizo_base/files/etc/freeswitch/autoload_configs/httapi.conf.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/httapi.conf.xml rename to modules/rhizo_base/files/etc/freeswitch/autoload_configs/httapi.conf.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/http_cache.conf.xml b/modules/rhizo_base/files/etc/freeswitch/autoload_configs/http_cache.conf.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/http_cache.conf.xml rename to modules/rhizo_base/files/etc/freeswitch/autoload_configs/http_cache.conf.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/ivr.conf.xml b/modules/rhizo_base/files/etc/freeswitch/autoload_configs/ivr.conf.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/ivr.conf.xml rename to modules/rhizo_base/files/etc/freeswitch/autoload_configs/ivr.conf.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/java.conf.xml b/modules/rhizo_base/files/etc/freeswitch/autoload_configs/java.conf.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/java.conf.xml rename to modules/rhizo_base/files/etc/freeswitch/autoload_configs/java.conf.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/lcr.conf.xml b/modules/rhizo_base/files/etc/freeswitch/autoload_configs/lcr.conf.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/lcr.conf.xml rename to modules/rhizo_base/files/etc/freeswitch/autoload_configs/lcr.conf.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/local_stream.conf.xml b/modules/rhizo_base/files/etc/freeswitch/autoload_configs/local_stream.conf.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/local_stream.conf.xml rename to modules/rhizo_base/files/etc/freeswitch/autoload_configs/local_stream.conf.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/logfile.conf.xml b/modules/rhizo_base/files/etc/freeswitch/autoload_configs/logfile.conf.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/logfile.conf.xml rename to modules/rhizo_base/files/etc/freeswitch/autoload_configs/logfile.conf.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/lua.conf.xml b/modules/rhizo_base/files/etc/freeswitch/autoload_configs/lua.conf.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/lua.conf.xml rename to modules/rhizo_base/files/etc/freeswitch/autoload_configs/lua.conf.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/memcache.conf.xml b/modules/rhizo_base/files/etc/freeswitch/autoload_configs/memcache.conf.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/memcache.conf.xml rename to modules/rhizo_base/files/etc/freeswitch/autoload_configs/memcache.conf.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/modules.conf.xml b/modules/rhizo_base/files/etc/freeswitch/autoload_configs/modules.conf.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/modules.conf.xml rename to modules/rhizo_base/files/etc/freeswitch/autoload_configs/modules.conf.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/mongo.conf.xml b/modules/rhizo_base/files/etc/freeswitch/autoload_configs/mongo.conf.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/mongo.conf.xml rename to modules/rhizo_base/files/etc/freeswitch/autoload_configs/mongo.conf.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/nibblebill.conf.xml b/modules/rhizo_base/files/etc/freeswitch/autoload_configs/nibblebill.conf.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/nibblebill.conf.xml rename to modules/rhizo_base/files/etc/freeswitch/autoload_configs/nibblebill.conf.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/opal.conf.xml b/modules/rhizo_base/files/etc/freeswitch/autoload_configs/opal.conf.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/opal.conf.xml rename to modules/rhizo_base/files/etc/freeswitch/autoload_configs/opal.conf.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/oreka.conf.xml b/modules/rhizo_base/files/etc/freeswitch/autoload_configs/oreka.conf.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/oreka.conf.xml rename to modules/rhizo_base/files/etc/freeswitch/autoload_configs/oreka.conf.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/osp.conf.xml b/modules/rhizo_base/files/etc/freeswitch/autoload_configs/osp.conf.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/osp.conf.xml rename to modules/rhizo_base/files/etc/freeswitch/autoload_configs/osp.conf.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/perl.conf.xml b/modules/rhizo_base/files/etc/freeswitch/autoload_configs/perl.conf.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/perl.conf.xml rename to modules/rhizo_base/files/etc/freeswitch/autoload_configs/perl.conf.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/pocketsphinx.conf.xml b/modules/rhizo_base/files/etc/freeswitch/autoload_configs/pocketsphinx.conf.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/pocketsphinx.conf.xml rename to modules/rhizo_base/files/etc/freeswitch/autoload_configs/pocketsphinx.conf.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/portaudio.conf.xml b/modules/rhizo_base/files/etc/freeswitch/autoload_configs/portaudio.conf.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/portaudio.conf.xml rename to modules/rhizo_base/files/etc/freeswitch/autoload_configs/portaudio.conf.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/post_load_modules.conf.xml b/modules/rhizo_base/files/etc/freeswitch/autoload_configs/post_load_modules.conf.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/post_load_modules.conf.xml rename to modules/rhizo_base/files/etc/freeswitch/autoload_configs/post_load_modules.conf.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/presence_map.conf.xml b/modules/rhizo_base/files/etc/freeswitch/autoload_configs/presence_map.conf.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/presence_map.conf.xml rename to modules/rhizo_base/files/etc/freeswitch/autoload_configs/presence_map.conf.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/python.conf.xml b/modules/rhizo_base/files/etc/freeswitch/autoload_configs/python.conf.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/python.conf.xml rename to modules/rhizo_base/files/etc/freeswitch/autoload_configs/python.conf.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/redis.conf.xml b/modules/rhizo_base/files/etc/freeswitch/autoload_configs/redis.conf.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/redis.conf.xml rename to modules/rhizo_base/files/etc/freeswitch/autoload_configs/redis.conf.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/rss.conf.xml b/modules/rhizo_base/files/etc/freeswitch/autoload_configs/rss.conf.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/rss.conf.xml rename to modules/rhizo_base/files/etc/freeswitch/autoload_configs/rss.conf.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/rtmp.conf.xml b/modules/rhizo_base/files/etc/freeswitch/autoload_configs/rtmp.conf.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/rtmp.conf.xml rename to modules/rhizo_base/files/etc/freeswitch/autoload_configs/rtmp.conf.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/sangoma_codec.conf.xml b/modules/rhizo_base/files/etc/freeswitch/autoload_configs/sangoma_codec.conf.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/sangoma_codec.conf.xml rename to modules/rhizo_base/files/etc/freeswitch/autoload_configs/sangoma_codec.conf.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/shout.conf.xml b/modules/rhizo_base/files/etc/freeswitch/autoload_configs/shout.conf.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/shout.conf.xml rename to modules/rhizo_base/files/etc/freeswitch/autoload_configs/shout.conf.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/skinny.conf.xml b/modules/rhizo_base/files/etc/freeswitch/autoload_configs/skinny.conf.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/skinny.conf.xml rename to modules/rhizo_base/files/etc/freeswitch/autoload_configs/skinny.conf.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/sofia.conf.xml b/modules/rhizo_base/files/etc/freeswitch/autoload_configs/sofia.conf.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/sofia.conf.xml rename to modules/rhizo_base/files/etc/freeswitch/autoload_configs/sofia.conf.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/spandsp.conf.xml b/modules/rhizo_base/files/etc/freeswitch/autoload_configs/spandsp.conf.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/spandsp.conf.xml rename to modules/rhizo_base/files/etc/freeswitch/autoload_configs/spandsp.conf.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/switch.conf.xml b/modules/rhizo_base/files/etc/freeswitch/autoload_configs/switch.conf.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/switch.conf.xml rename to modules/rhizo_base/files/etc/freeswitch/autoload_configs/switch.conf.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/syslog.conf.xml b/modules/rhizo_base/files/etc/freeswitch/autoload_configs/syslog.conf.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/syslog.conf.xml rename to modules/rhizo_base/files/etc/freeswitch/autoload_configs/syslog.conf.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/timezones.conf.xml b/modules/rhizo_base/files/etc/freeswitch/autoload_configs/timezones.conf.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/timezones.conf.xml rename to modules/rhizo_base/files/etc/freeswitch/autoload_configs/timezones.conf.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/translate.conf.xml b/modules/rhizo_base/files/etc/freeswitch/autoload_configs/translate.conf.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/translate.conf.xml rename to modules/rhizo_base/files/etc/freeswitch/autoload_configs/translate.conf.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/tts_commandline.conf.xml b/modules/rhizo_base/files/etc/freeswitch/autoload_configs/tts_commandline.conf.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/tts_commandline.conf.xml rename to modules/rhizo_base/files/etc/freeswitch/autoload_configs/tts_commandline.conf.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/unicall.conf.xml b/modules/rhizo_base/files/etc/freeswitch/autoload_configs/unicall.conf.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/unicall.conf.xml rename to modules/rhizo_base/files/etc/freeswitch/autoload_configs/unicall.conf.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/unimrcp.conf.xml b/modules/rhizo_base/files/etc/freeswitch/autoload_configs/unimrcp.conf.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/unimrcp.conf.xml rename to modules/rhizo_base/files/etc/freeswitch/autoload_configs/unimrcp.conf.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/voicemail.conf.xml b/modules/rhizo_base/files/etc/freeswitch/autoload_configs/voicemail.conf.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/voicemail.conf.xml rename to modules/rhizo_base/files/etc/freeswitch/autoload_configs/voicemail.conf.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/voicemail_ivr.conf.xml b/modules/rhizo_base/files/etc/freeswitch/autoload_configs/voicemail_ivr.conf.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/voicemail_ivr.conf.xml rename to modules/rhizo_base/files/etc/freeswitch/autoload_configs/voicemail_ivr.conf.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/xml_cdr.conf.xml b/modules/rhizo_base/files/etc/freeswitch/autoload_configs/xml_cdr.conf.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/xml_cdr.conf.xml rename to modules/rhizo_base/files/etc/freeswitch/autoload_configs/xml_cdr.conf.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/xml_curl.conf.xml b/modules/rhizo_base/files/etc/freeswitch/autoload_configs/xml_curl.conf.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/xml_curl.conf.xml rename to modules/rhizo_base/files/etc/freeswitch/autoload_configs/xml_curl.conf.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/xml_rpc.conf.xml b/modules/rhizo_base/files/etc/freeswitch/autoload_configs/xml_rpc.conf.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/xml_rpc.conf.xml rename to modules/rhizo_base/files/etc/freeswitch/autoload_configs/xml_rpc.conf.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/xml_scgi.conf.xml b/modules/rhizo_base/files/etc/freeswitch/autoload_configs/xml_scgi.conf.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/xml_scgi.conf.xml rename to modules/rhizo_base/files/etc/freeswitch/autoload_configs/xml_scgi.conf.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/zeroconf.conf.xml b/modules/rhizo_base/files/etc/freeswitch/autoload_configs/zeroconf.conf.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/autoload_configs/zeroconf.conf.xml rename to modules/rhizo_base/files/etc/freeswitch/autoload_configs/zeroconf.conf.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/dialplan/public.xml b/modules/rhizo_base/files/etc/freeswitch/dialplan/public.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/dialplan/public.xml rename to modules/rhizo_base/files/etc/freeswitch/dialplan/public.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/extensions.conf b/modules/rhizo_base/files/etc/freeswitch/extensions.conf similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/extensions.conf rename to modules/rhizo_base/files/etc/freeswitch/extensions.conf diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/freeswitch.serial b/modules/rhizo_base/files/etc/freeswitch/freeswitch.serial similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/freeswitch.serial rename to modules/rhizo_base/files/etc/freeswitch/freeswitch.serial diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/freeswitch.xml b/modules/rhizo_base/files/etc/freeswitch/freeswitch.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/freeswitch.xml rename to modules/rhizo_base/files/etc/freeswitch/freeswitch.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/lang/de/de.xml b/modules/rhizo_base/files/etc/freeswitch/lang/de/de.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/lang/de/de.xml rename to modules/rhizo_base/files/etc/freeswitch/lang/de/de.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/lang/de/demo/demo.xml b/modules/rhizo_base/files/etc/freeswitch/lang/de/demo/demo.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/lang/de/demo/demo.xml rename to modules/rhizo_base/files/etc/freeswitch/lang/de/demo/demo.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/lang/de/vm/sounds.xml b/modules/rhizo_base/files/etc/freeswitch/lang/de/vm/sounds.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/lang/de/vm/sounds.xml rename to modules/rhizo_base/files/etc/freeswitch/lang/de/vm/sounds.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/lang/de/vm/tts.xml b/modules/rhizo_base/files/etc/freeswitch/lang/de/vm/tts.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/lang/de/vm/tts.xml rename to modules/rhizo_base/files/etc/freeswitch/lang/de/vm/tts.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/lang/en/demo/demo-ivr.xml b/modules/rhizo_base/files/etc/freeswitch/lang/en/demo/demo-ivr.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/lang/en/demo/demo-ivr.xml rename to modules/rhizo_base/files/etc/freeswitch/lang/en/demo/demo-ivr.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/lang/en/demo/demo.xml b/modules/rhizo_base/files/etc/freeswitch/lang/en/demo/demo.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/lang/en/demo/demo.xml rename to modules/rhizo_base/files/etc/freeswitch/lang/en/demo/demo.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/lang/en/demo/funnies.xml b/modules/rhizo_base/files/etc/freeswitch/lang/en/demo/funnies.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/lang/en/demo/funnies.xml rename to modules/rhizo_base/files/etc/freeswitch/lang/en/demo/funnies.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/lang/en/demo/new-demo-ivr.xml b/modules/rhizo_base/files/etc/freeswitch/lang/en/demo/new-demo-ivr.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/lang/en/demo/new-demo-ivr.xml rename to modules/rhizo_base/files/etc/freeswitch/lang/en/demo/new-demo-ivr.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/lang/en/dir/sounds.xml b/modules/rhizo_base/files/etc/freeswitch/lang/en/dir/sounds.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/lang/en/dir/sounds.xml rename to modules/rhizo_base/files/etc/freeswitch/lang/en/dir/sounds.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/lang/en/dir/tts.xml b/modules/rhizo_base/files/etc/freeswitch/lang/en/dir/tts.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/lang/en/dir/tts.xml rename to modules/rhizo_base/files/etc/freeswitch/lang/en/dir/tts.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/lang/en/en.xml b/modules/rhizo_base/files/etc/freeswitch/lang/en/en.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/lang/en/en.xml rename to modules/rhizo_base/files/etc/freeswitch/lang/en/en.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/lang/en/ivr/sounds.xml b/modules/rhizo_base/files/etc/freeswitch/lang/en/ivr/sounds.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/lang/en/ivr/sounds.xml rename to modules/rhizo_base/files/etc/freeswitch/lang/en/ivr/sounds.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/lang/en/vm/sounds.xml b/modules/rhizo_base/files/etc/freeswitch/lang/en/vm/sounds.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/lang/en/vm/sounds.xml rename to modules/rhizo_base/files/etc/freeswitch/lang/en/vm/sounds.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/lang/en/vm/tts.xml b/modules/rhizo_base/files/etc/freeswitch/lang/en/vm/tts.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/lang/en/vm/tts.xml rename to modules/rhizo_base/files/etc/freeswitch/lang/en/vm/tts.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/lang/en/vm/voicemail_ivr.xml b/modules/rhizo_base/files/etc/freeswitch/lang/en/vm/voicemail_ivr.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/lang/en/vm/voicemail_ivr.xml rename to modules/rhizo_base/files/etc/freeswitch/lang/en/vm/voicemail_ivr.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/lang/es/demo/demo-es-ES.xml b/modules/rhizo_base/files/etc/freeswitch/lang/es/demo/demo-es-ES.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/lang/es/demo/demo-es-ES.xml rename to modules/rhizo_base/files/etc/freeswitch/lang/es/demo/demo-es-ES.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/lang/es/demo/demo-es-MX.xml b/modules/rhizo_base/files/etc/freeswitch/lang/es/demo/demo-es-MX.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/lang/es/demo/demo-es-MX.xml rename to modules/rhizo_base/files/etc/freeswitch/lang/es/demo/demo-es-MX.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/lang/es/demo/demo-ivr-es-ES.xml b/modules/rhizo_base/files/etc/freeswitch/lang/es/demo/demo-ivr-es-ES.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/lang/es/demo/demo-ivr-es-ES.xml rename to modules/rhizo_base/files/etc/freeswitch/lang/es/demo/demo-ivr-es-ES.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/lang/es/demo/demo-ivr-es-MX.xml b/modules/rhizo_base/files/etc/freeswitch/lang/es/demo/demo-ivr-es-MX.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/lang/es/demo/demo-ivr-es-MX.xml rename to modules/rhizo_base/files/etc/freeswitch/lang/es/demo/demo-ivr-es-MX.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/lang/es/dir/sounds-es-ES.xml b/modules/rhizo_base/files/etc/freeswitch/lang/es/dir/sounds-es-ES.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/lang/es/dir/sounds-es-ES.xml rename to modules/rhizo_base/files/etc/freeswitch/lang/es/dir/sounds-es-ES.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/lang/es/dir/sounds-es-MX.xml b/modules/rhizo_base/files/etc/freeswitch/lang/es/dir/sounds-es-MX.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/lang/es/dir/sounds-es-MX.xml rename to modules/rhizo_base/files/etc/freeswitch/lang/es/dir/sounds-es-MX.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/lang/es/dir/tts-es-ES.xml b/modules/rhizo_base/files/etc/freeswitch/lang/es/dir/tts-es-ES.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/lang/es/dir/tts-es-ES.xml rename to modules/rhizo_base/files/etc/freeswitch/lang/es/dir/tts-es-ES.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/lang/es/dir/tts-es-MX.xml b/modules/rhizo_base/files/etc/freeswitch/lang/es/dir/tts-es-MX.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/lang/es/dir/tts-es-MX.xml rename to modules/rhizo_base/files/etc/freeswitch/lang/es/dir/tts-es-MX.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/lang/es/es_ES.xml b/modules/rhizo_base/files/etc/freeswitch/lang/es/es_ES.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/lang/es/es_ES.xml rename to modules/rhizo_base/files/etc/freeswitch/lang/es/es_ES.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/lang/es/es_MX.xml b/modules/rhizo_base/files/etc/freeswitch/lang/es/es_MX.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/lang/es/es_MX.xml rename to modules/rhizo_base/files/etc/freeswitch/lang/es/es_MX.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/lang/es/vm/sounds-es-ES.xml b/modules/rhizo_base/files/etc/freeswitch/lang/es/vm/sounds-es-ES.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/lang/es/vm/sounds-es-ES.xml rename to modules/rhizo_base/files/etc/freeswitch/lang/es/vm/sounds-es-ES.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/lang/es/vm/sounds-es-MX.xml b/modules/rhizo_base/files/etc/freeswitch/lang/es/vm/sounds-es-MX.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/lang/es/vm/sounds-es-MX.xml rename to modules/rhizo_base/files/etc/freeswitch/lang/es/vm/sounds-es-MX.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/lang/es/vm/tts-es-ES.xml b/modules/rhizo_base/files/etc/freeswitch/lang/es/vm/tts-es-ES.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/lang/es/vm/tts-es-ES.xml rename to modules/rhizo_base/files/etc/freeswitch/lang/es/vm/tts-es-ES.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/lang/es/vm/tts-es-MX.xml b/modules/rhizo_base/files/etc/freeswitch/lang/es/vm/tts-es-MX.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/lang/es/vm/tts-es-MX.xml rename to modules/rhizo_base/files/etc/freeswitch/lang/es/vm/tts-es-MX.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/lang/fr/demo/demo.xml b/modules/rhizo_base/files/etc/freeswitch/lang/fr/demo/demo.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/lang/fr/demo/demo.xml rename to modules/rhizo_base/files/etc/freeswitch/lang/fr/demo/demo.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/lang/fr/dir/sounds.xml b/modules/rhizo_base/files/etc/freeswitch/lang/fr/dir/sounds.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/lang/fr/dir/sounds.xml rename to modules/rhizo_base/files/etc/freeswitch/lang/fr/dir/sounds.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/lang/fr/dir/tts.xml b/modules/rhizo_base/files/etc/freeswitch/lang/fr/dir/tts.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/lang/fr/dir/tts.xml rename to modules/rhizo_base/files/etc/freeswitch/lang/fr/dir/tts.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/lang/fr/fr.xml b/modules/rhizo_base/files/etc/freeswitch/lang/fr/fr.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/lang/fr/fr.xml rename to modules/rhizo_base/files/etc/freeswitch/lang/fr/fr.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/lang/fr/vm/sounds.xml b/modules/rhizo_base/files/etc/freeswitch/lang/fr/vm/sounds.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/lang/fr/vm/sounds.xml rename to modules/rhizo_base/files/etc/freeswitch/lang/fr/vm/sounds.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/lang/he/demo/demo-ivr.xml b/modules/rhizo_base/files/etc/freeswitch/lang/he/demo/demo-ivr.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/lang/he/demo/demo-ivr.xml rename to modules/rhizo_base/files/etc/freeswitch/lang/he/demo/demo-ivr.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/lang/he/demo/demo.xml b/modules/rhizo_base/files/etc/freeswitch/lang/he/demo/demo.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/lang/he/demo/demo.xml rename to modules/rhizo_base/files/etc/freeswitch/lang/he/demo/demo.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/lang/he/dir/sounds.xml b/modules/rhizo_base/files/etc/freeswitch/lang/he/dir/sounds.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/lang/he/dir/sounds.xml rename to modules/rhizo_base/files/etc/freeswitch/lang/he/dir/sounds.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/lang/he/he.xml b/modules/rhizo_base/files/etc/freeswitch/lang/he/he.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/lang/he/he.xml rename to modules/rhizo_base/files/etc/freeswitch/lang/he/he.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/lang/he/vm/sounds.xml b/modules/rhizo_base/files/etc/freeswitch/lang/he/vm/sounds.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/lang/he/vm/sounds.xml rename to modules/rhizo_base/files/etc/freeswitch/lang/he/vm/sounds.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/lang/pt/demo/demo-ivr-pt-BR.xml b/modules/rhizo_base/files/etc/freeswitch/lang/pt/demo/demo-ivr-pt-BR.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/lang/pt/demo/demo-ivr-pt-BR.xml rename to modules/rhizo_base/files/etc/freeswitch/lang/pt/demo/demo-ivr-pt-BR.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/lang/pt/demo/demo-ivr-pt-PT.xml b/modules/rhizo_base/files/etc/freeswitch/lang/pt/demo/demo-ivr-pt-PT.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/lang/pt/demo/demo-ivr-pt-PT.xml rename to modules/rhizo_base/files/etc/freeswitch/lang/pt/demo/demo-ivr-pt-PT.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/lang/pt/demo/demo-pt-BR.xml b/modules/rhizo_base/files/etc/freeswitch/lang/pt/demo/demo-pt-BR.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/lang/pt/demo/demo-pt-BR.xml rename to modules/rhizo_base/files/etc/freeswitch/lang/pt/demo/demo-pt-BR.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/lang/pt/demo/demo-pt-PT.xml b/modules/rhizo_base/files/etc/freeswitch/lang/pt/demo/demo-pt-PT.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/lang/pt/demo/demo-pt-PT.xml rename to modules/rhizo_base/files/etc/freeswitch/lang/pt/demo/demo-pt-PT.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/lang/pt/dir/sounds-pt-BR.xml b/modules/rhizo_base/files/etc/freeswitch/lang/pt/dir/sounds-pt-BR.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/lang/pt/dir/sounds-pt-BR.xml rename to modules/rhizo_base/files/etc/freeswitch/lang/pt/dir/sounds-pt-BR.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/lang/pt/dir/sounds-pt-PT.xml b/modules/rhizo_base/files/etc/freeswitch/lang/pt/dir/sounds-pt-PT.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/lang/pt/dir/sounds-pt-PT.xml rename to modules/rhizo_base/files/etc/freeswitch/lang/pt/dir/sounds-pt-PT.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/lang/pt/dir/tts-pt-BR.xml b/modules/rhizo_base/files/etc/freeswitch/lang/pt/dir/tts-pt-BR.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/lang/pt/dir/tts-pt-BR.xml rename to modules/rhizo_base/files/etc/freeswitch/lang/pt/dir/tts-pt-BR.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/lang/pt/dir/tts-pt-PT.xml b/modules/rhizo_base/files/etc/freeswitch/lang/pt/dir/tts-pt-PT.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/lang/pt/dir/tts-pt-PT.xml rename to modules/rhizo_base/files/etc/freeswitch/lang/pt/dir/tts-pt-PT.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/lang/pt/pt_BR.xml b/modules/rhizo_base/files/etc/freeswitch/lang/pt/pt_BR.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/lang/pt/pt_BR.xml rename to modules/rhizo_base/files/etc/freeswitch/lang/pt/pt_BR.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/lang/pt/pt_PT.xml b/modules/rhizo_base/files/etc/freeswitch/lang/pt/pt_PT.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/lang/pt/pt_PT.xml rename to modules/rhizo_base/files/etc/freeswitch/lang/pt/pt_PT.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/lang/pt/vm/sounds-pt-BR.xml b/modules/rhizo_base/files/etc/freeswitch/lang/pt/vm/sounds-pt-BR.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/lang/pt/vm/sounds-pt-BR.xml rename to modules/rhizo_base/files/etc/freeswitch/lang/pt/vm/sounds-pt-BR.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/lang/pt/vm/sounds-pt-PT.xml b/modules/rhizo_base/files/etc/freeswitch/lang/pt/vm/sounds-pt-PT.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/lang/pt/vm/sounds-pt-PT.xml rename to modules/rhizo_base/files/etc/freeswitch/lang/pt/vm/sounds-pt-PT.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/lang/pt/vm/tts-pt-BR.xml b/modules/rhizo_base/files/etc/freeswitch/lang/pt/vm/tts-pt-BR.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/lang/pt/vm/tts-pt-BR.xml rename to modules/rhizo_base/files/etc/freeswitch/lang/pt/vm/tts-pt-BR.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/lang/pt/vm/tts-pt-PT.xml b/modules/rhizo_base/files/etc/freeswitch/lang/pt/vm/tts-pt-PT.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/lang/pt/vm/tts-pt-PT.xml rename to modules/rhizo_base/files/etc/freeswitch/lang/pt/vm/tts-pt-PT.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/lang/ru/demo/demo-ivr.xml b/modules/rhizo_base/files/etc/freeswitch/lang/ru/demo/demo-ivr.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/lang/ru/demo/demo-ivr.xml rename to modules/rhizo_base/files/etc/freeswitch/lang/ru/demo/demo-ivr.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/lang/ru/demo/demo.xml b/modules/rhizo_base/files/etc/freeswitch/lang/ru/demo/demo.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/lang/ru/demo/demo.xml rename to modules/rhizo_base/files/etc/freeswitch/lang/ru/demo/demo.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/lang/ru/dir/sounds.xml b/modules/rhizo_base/files/etc/freeswitch/lang/ru/dir/sounds.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/lang/ru/dir/sounds.xml rename to modules/rhizo_base/files/etc/freeswitch/lang/ru/dir/sounds.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/lang/ru/dir/tts.xml b/modules/rhizo_base/files/etc/freeswitch/lang/ru/dir/tts.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/lang/ru/dir/tts.xml rename to modules/rhizo_base/files/etc/freeswitch/lang/ru/dir/tts.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/lang/ru/ru.xml b/modules/rhizo_base/files/etc/freeswitch/lang/ru/ru.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/lang/ru/ru.xml rename to modules/rhizo_base/files/etc/freeswitch/lang/ru/ru.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/lang/ru/vm/sounds.xml b/modules/rhizo_base/files/etc/freeswitch/lang/ru/vm/sounds.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/lang/ru/vm/sounds.xml rename to modules/rhizo_base/files/etc/freeswitch/lang/ru/vm/sounds.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/lang/ru/vm/tts.xml b/modules/rhizo_base/files/etc/freeswitch/lang/ru/vm/tts.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/lang/ru/vm/tts.xml rename to modules/rhizo_base/files/etc/freeswitch/lang/ru/vm/tts.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/mime.types b/modules/rhizo_base/files/etc/freeswitch/mime.types similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/mime.types rename to modules/rhizo_base/files/etc/freeswitch/mime.types diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/sip_profiles/external.xml b/modules/rhizo_base/files/etc/freeswitch/sip_profiles/external.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/sip_profiles/external.xml rename to modules/rhizo_base/files/etc/freeswitch/sip_profiles/external.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/sip_profiles/internal.xml b/modules/rhizo_base/files/etc/freeswitch/sip_profiles/internal.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/sip_profiles/internal.xml rename to modules/rhizo_base/files/etc/freeswitch/sip_profiles/internal.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/sip_profiles/internal/example.xml b/modules/rhizo_base/files/etc/freeswitch/sip_profiles/internal/example.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/sip_profiles/internal/example.xml rename to modules/rhizo_base/files/etc/freeswitch/sip_profiles/internal/example.xml diff --git a/modules/rhizomatica_base_system/files/etc/freeswitch/sip_profiles/internalvpn.xml b/modules/rhizo_base/files/etc/freeswitch/sip_profiles/internalvpn.xml similarity index 100% rename from modules/rhizomatica_base_system/files/etc/freeswitch/sip_profiles/internalvpn.xml rename to modules/rhizo_base/files/etc/freeswitch/sip_profiles/internalvpn.xml diff --git a/modules/rhizomatica_base_system/files/etc/php5/apache2/php.ini b/modules/rhizo_base/files/etc/php5/apache2/php.ini similarity index 100% rename from modules/rhizomatica_base_system/files/etc/php5/apache2/php.ini rename to modules/rhizo_base/files/etc/php5/apache2/php.ini diff --git a/modules/rhizomatica_base_system/files/etc/sv/freeswitch/log/run b/modules/rhizo_base/files/etc/sv/freeswitch/log/run similarity index 100% rename from modules/rhizomatica_base_system/files/etc/sv/freeswitch/log/run rename to modules/rhizo_base/files/etc/sv/freeswitch/log/run diff --git a/modules/rhizomatica_base_system/files/etc/sv/freeswitch/run b/modules/rhizo_base/files/etc/sv/freeswitch/run similarity index 100% rename from modules/rhizomatica_base_system/files/etc/sv/freeswitch/run rename to modules/rhizo_base/files/etc/sv/freeswitch/run diff --git a/modules/rhizomatica_base_system/files/etc/sv/osmo-nitb/log/run b/modules/rhizo_base/files/etc/sv/osmo-nitb/log/run similarity index 100% rename from modules/rhizomatica_base_system/files/etc/sv/osmo-nitb/log/run rename to modules/rhizo_base/files/etc/sv/osmo-nitb/log/run diff --git a/modules/rhizomatica_base_system/files/etc/sv/osmo-nitb/run b/modules/rhizo_base/files/etc/sv/osmo-nitb/run similarity index 100% rename from modules/rhizomatica_base_system/files/etc/sv/osmo-nitb/run rename to modules/rhizo_base/files/etc/sv/osmo-nitb/run diff --git a/modules/rhizomatica_base_system/files/etc/sv/rapi/log/run b/modules/rhizo_base/files/etc/sv/rapi/log/run similarity index 100% rename from modules/rhizomatica_base_system/files/etc/sv/rapi/log/run rename to modules/rhizo_base/files/etc/sv/rapi/log/run diff --git a/modules/rhizomatica_base_system/files/etc/sv/rapi/run b/modules/rhizo_base/files/etc/sv/rapi/run similarity index 100% rename from modules/rhizomatica_base_system/files/etc/sv/rapi/run rename to modules/rhizo_base/files/etc/sv/rapi/run diff --git a/modules/rhizomatica_base_system/files/mod_g729.so b/modules/rhizo_base/files/mod_g729.so similarity index 100% rename from modules/rhizomatica_base_system/files/mod_g729.so rename to modules/rhizo_base/files/mod_g729.so diff --git a/modules/rhizomatica_base_system/files/usr/etc/lcr/interface.conf b/modules/rhizo_base/files/usr/etc/lcr/interface.conf similarity index 100% rename from modules/rhizomatica_base_system/files/usr/etc/lcr/interface.conf rename to modules/rhizo_base/files/usr/etc/lcr/interface.conf diff --git a/modules/rhizomatica_base_system/files/usr/etc/lcr/options.conf b/modules/rhizo_base/files/usr/etc/lcr/options.conf similarity index 100% rename from modules/rhizomatica_base_system/files/usr/etc/lcr/options.conf rename to modules/rhizo_base/files/usr/etc/lcr/options.conf diff --git a/modules/rhizomatica_base_system/files/usr/etc/lcr/routing.conf b/modules/rhizo_base/files/usr/etc/lcr/routing.conf similarity index 100% rename from modules/rhizomatica_base_system/files/usr/etc/lcr/routing.conf rename to modules/rhizo_base/files/usr/etc/lcr/routing.conf diff --git a/modules/rhizomatica_base_system/files/usr/lib/python2.7/dist-packages/freeswitch.py b/modules/rhizo_base/files/usr/lib/python2.7/dist-packages/freeswitch.py similarity index 100% rename from modules/rhizomatica_base_system/files/usr/lib/python2.7/dist-packages/freeswitch.py rename to modules/rhizo_base/files/usr/lib/python2.7/dist-packages/freeswitch.py diff --git a/modules/rhizomatica_base_system/files/usr/lib/python2.7/dist-packages/obscvty.py b/modules/rhizo_base/files/usr/lib/python2.7/dist-packages/obscvty.py similarity index 100% rename from modules/rhizomatica_base_system/files/usr/lib/python2.7/dist-packages/obscvty.py rename to modules/rhizo_base/files/usr/lib/python2.7/dist-packages/obscvty.py diff --git a/modules/rhizomatica_base_system/files/var/lib/locales/supported.d/local b/modules/rhizo_base/files/var/lib/locales/supported.d/local similarity index 100% rename from modules/rhizomatica_base_system/files/var/lib/locales/supported.d/local rename to modules/rhizo_base/files/var/lib/locales/supported.d/local diff --git a/modules/rhizo_base/manifests/apt.pp b/modules/rhizo_base/manifests/apt.pp new file mode 100644 index 0000000..6120e11 --- /dev/null +++ b/modules/rhizo_base/manifests/apt.pp @@ -0,0 +1,28 @@ +# Class: rhizo_base::apt +# +# This module manages the apt repositories +# +# Parameters: none +# +# Actions: +# +# Requires: see Modulefile +# +# Sample Usage: +# +class rhizo_base::apt { + class { 'apt': } + apt::ppa { 'ppa:keithw/mosh': } + apt::ppa { 'ppa:ondrej/php5': } + file { '/etc/apt/apt.conf.d/90unsigned': + ensure => present, + content => 'APT::Get::AllowUnauthenticated "true";', + } + apt::source { 'rhizomatica': + location => 'http://dev.rhizomatica.org/ubuntu/', + release => 'precise', + repos => 'main', + include_src => false, + require => File['/etc/apt/apt.conf.d/90unsigned'], + } + } \ No newline at end of file diff --git a/modules/rhizo_base/manifests/fixes.pp b/modules/rhizo_base/manifests/fixes.pp new file mode 100644 index 0000000..ef01614 --- /dev/null +++ b/modules/rhizo_base/manifests/fixes.pp @@ -0,0 +1,31 @@ +# Class: rhizo_base::fixes +# +# This module manages various system fixes +# +# Parameters: none +# +# Actions: +# +# Requires: see Modulefile +# +# Sample Usage: +# +class rhizo_base::fixes { +#FSCK at boot + file { '/etc/default/rcS': + ensure => present, + source => 'puppet:///modules/rhizomatica_base_system/etc/default/rcS', + } + +#Grub fix + file { '/etc/default/grub': + ensure => present, + source => 'puppet:///modules/rhizomatica_base_system/etc/default/grub', + notify => Exec['update-grub'], + } + + exec { 'update-grub': + command => '/usr/sbin/update-grub', + refreshonly => true, + } + } diff --git a/modules/rhizo_base/manifests/freeswitch.pp b/modules/rhizo_base/manifests/freeswitch.pp new file mode 100644 index 0000000..78295ff --- /dev/null +++ b/modules/rhizo_base/manifests/freeswitch.pp @@ -0,0 +1,75 @@ +# Class: rhizo_base::freeswitch +# +# This module manages the FreeSWITCH system +# +# Parameters: none +# +# Actions: +# +# Requires: see Modulefile +# +# Sample Usage: +# +class rhizo_base::freeswitch { +#FreeSWITCH + package { + ['freeswitch', 'freeswitch-lang-en', + 'freeswitch-mod-amr', 'freeswitch-mod-amrwb', + 'freeswitch-mod-b64', 'freeswitch-mod-bv', + 'freeswitch-mod-cdr-pg-csv', 'freeswitch-mod-cluechoo', + 'freeswitch-mod-commands', 'freeswitch-mod-conference', + 'freeswitch-mod-console', 'freeswitch-mod-db', + 'freeswitch-mod-dialplan-asterisk', 'freeswitch-mod-dialplan-xml', + 'freeswitch-mod-dptools', 'freeswitch-mod-enum', + 'freeswitch-mod-esf', 'freeswitch-mod-event-socket', + 'freeswitch-mod-expr', 'freeswitch-mod-fifo', + 'freeswitch-mod-fsv', 'freeswitch-mod-g723-1', + 'freeswitch-mod-h26x', 'freeswitch-mod-hash', + 'freeswitch-mod-httapi', 'freeswitch-mod-local-stream', + 'freeswitch-mod-logfile', 'freeswitch-mod-loopback', + 'freeswitch-mod-lua', 'freeswitch-mod-native-file', + 'freeswitch-mod-python', 'freeswitch-mod-say-en', + 'freeswitch-mod-say-es', 'freeswitch-mod-sms', + 'freeswitch-mod-sndfile', 'freeswitch-mod-sofia', + 'freeswitch-mod-spandsp', 'freeswitch-mod-speex', + 'freeswitch-mod-syslog', 'freeswitch-mod-tone-stream', + 'freeswitch-mod-voicemail', 'freeswitch-mod-voicemail-ivr', + 'freeswitch-mod-vp8', 'freeswitch-mod-xml-cdr', + 'freeswitch-sysvinit', 'libfreeswitch1']: + ensure => installed, + require => Class['rhizo_base::apt'], + } + + file { '/usr/lib/freeswitch/mod/mod_g729.so': + source => 'puppet:///modules/rhizo_base/mod_g729.so', + require => Package['freeswitch'], + } + + file { '/etc/freeswitch': + ensure => directory, + source => 'puppet:///modules/rhizo_base/etc/freeswitch', + recurse => remote, + require => Package['freeswitch'], + } + + file { '/etc/freeswitch/vars.xml': + content => template('rhizo_base/vars.xml.erb'), + require => Package['freeswitch'], + } + + file {'/etc/freeswitch/sip_profiles/external': + ensure => directory, + } + + file { '/etc/freeswitch/sip_profiles/external/provider.xml': + content => template('rhizo_base/provider.xml.erb'), + require => + [ Package['freeswitch'], + File['/etc/freeswitch/sip_profiles/external'] ], + } + + file { '/etc/freeswitch/autoload_configs/cdr_pg_csv.conf.xml': + content => template('rhizo_base/cdr_pg_csv.conf.xml.erb'), + require => Package['freeswitch'], + } +} \ No newline at end of file diff --git a/modules/rhizo_base/manifests/init.pp b/modules/rhizo_base/manifests/init.pp new file mode 100644 index 0000000..2933a79 --- /dev/null +++ b/modules/rhizo_base/manifests/init.pp @@ -0,0 +1,242 @@ +# Class: rhizo_base +# +# This module manages the Rhizomatica base system +# +# Parameters: none +# +# Actions: +# +# Requires: see Modulefile +# +# Sample Usage: +# +class rhizo_base { + + $mail_admins = hiera('rhizo::mail_admins') + $smsc_password = hiera('rhizo::smsc_password') + $kannel_admin_password = hiera('rhizo::kannel_admin_password') + + # Configuration settings + $rhizomatica_dir = hiera('rhizo::rhizomatica_dir') + $sq_hlr_path = hiera('rhizo::sq_hlr_path') + + # database + $pgsql_db = hiera('rhizo::pgsql_db') + $pgsql_user = hiera('rhizo::pgsql_user') + $pgsql_pwd = hiera('rhizo::pgsql_pwd') + $pgsql_host = hiera('rhizo::pgsql_host') + + # SITE + $site_name = hiera('rhizo::site_name') + $postcode = hiera('rhizo::postcode') + $pbxcode = hiera('rhizo::pbxcode') + # network name + $network_name = hiera('rhizo::network_name') + $auth_policy = hiera('rhizo::auth_policy') + + #BTSs configuration + $bts1_ip_address = hiera('rhizo::bts1_ip_address') + $arfcn_A = hiera('rhizo::arfcn_A') + $arfcn_B = hiera('rhizo::arfcn_B') + + $bts2_ip_address = hiera('rhizo::bts2_ip_address', false) + $arfcn_C = hiera('rhizo::arfcn_C', false) + $arfcn_D = hiera('rhizo::arfcn_D', false) + + $bts3_ip_address = hiera('rhizo::bts3_ip_address', false) + $arfcn_E = hiera('rhizo::arfcn_E', false) + $arfcn_F = hiera('rhizo::arfcn_F', false) + + $max_power_red = hiera('rhizo::max_power_red') + + # VPN ip address + $vpn_ip_address = hiera('rhizo::vpn_ip_address') + $wan_ip_address = hiera('rhizo::wan_ip_address') + + # SITE settings + # rate type can be "call" or "min" + $limit_local_calls = hiera('rhizo::limit_local_calls') + $limit_local_minutes = hiera('rhizo::limit_local_minutes') + $charge_local_calls = hiera('rhizo::charge_local_calls') + $charge_local_rate = hiera('rhizo::charge_local_rate') + $charge_local_rate_type = hiera('rhizo::charge_local_rate_type') + $charge_internal_calls = hiera('rhizo::charge_internal_calls') + $charge_internal_rate = hiera('rhizo::charge_internal_rate') + $charge_internal_rate_type = hiera('rhizo::charge_internal_rate_type') + $charge_inbound_calls = hiera('rhizo::charge_inbound_calls') + $charge_inbound_rate = hiera('rhizo::charge_inbound_rate') + $charge_inbound_rate_type = hiera('rhizo::charge_inbound_rate_type') + $smsc_shortcode = hiera('rhizo::smsc_shortcode') + $sms_sender_unauthorized = hiera('rhizo::sms_sender_unauthorized') + $sms_destination_unauthorized = hiera('rhizo::sms_destination_unauthorized') + + $rai_admin_user = hiera('rhizo::rai_admin_user') + $rai_admin_pwd = hiera('rhizo::rai_admin_pwd') + + $kannel_server = hiera('rhizo::kannel_server') + $kannel_port = hiera('rhizo::kannel_port') + $kannel_username = hiera('rhizo::kannel_username') + $kannel_sendsms_password = hiera('rhizo::kannel_sendsms_password') + + # VOIP provider + $voip_provider_name = hiera('rhizo::voip_provider_name') + $voip_username = hiera('rhizo::voip_username') + $voip_fromuser = hiera('rhizo::voip_fromuser') + $voip_password = hiera('rhizo::voip_password') + $voip_proxy = hiera('rhizo::voip_proxy') + $voip_did = hiera('rhizo::voip_did') + $voip_cli = hiera('rhizo::voip_cli') + + # Subscription SMS notification + $notice_msg = hiera('rhizo::notice_msg') + $reminder_msg = hiera('rhizo::reminder_msg') + $deactivate_msg = hiera('rhizo::deactivate_msg') + $sms_credit_added = hiera('rhizo::sms_credit_added') + + #Roaming welcome SMS + $sms_welcome_roaming = hiera('rhizo::sms_welcome_roaming') + #Emergency number + $emergency_contact = hiera('rhizo::emergency_contact') + + include ntp + include kannel + include rhizo_base::fixes + include rhizo_base::apt + include rhizo_base::postgresql + include rhizo_base::riak + include rhizo_base::packages + include rhizo_base::freeswitch + include rhizo_base::runit + include rhizo_base::openbsc + include rhizo_base::lcr + +#Rizhomatica scripts + file { '/home/rhizomatica/bin': + ensure => directory, + source => 'puppet:///modules/rhizo_base/bin', + recurse => true, + purge => false, + } + + file { '/home/rhizomatica/bin/vars.sh': + ensure => present, + content => template('rhizo_base/vars.sh.erb'), + } + + file { '/var/rhizomatica': + ensure => directory, + } + + file { '/var/rhizo_backups': + ensure => directory, + } + + file { '/var/rhizo_backups/postgresql': + ensure => directory, + owner => 'postgres', + group => 'postgres', + require => File['/var/rhizo_backups'], + } + + file { '/var/rhizo_backups/sqlite': + ensure => directory, + require => File['/var/rhizo_backups'], + } + +# vcsrepo { '/var/rhizomatica': +# ensure => latest, +# provider => git, +# source => 'https://github.com/Rhizomatica/rccn.git', +# revision => 'master', +# require => [ File['/var/rhizomatica'], Package['git'] ], +# notify => [ Exec['install_rccn'], Exec['locale-gen'] ], +# } + + file { '/var/rhizomatica/rccn/config_values.py': + ensure => present, + content => template('rhizo_base/config_values.py.erb'), +# require => Vcsrepo['/var/rhizomatica'], + } + + file { '/var/rhizomatica/rai/include/database.php': + ensure => present, + content => template('rhizo_base/database.php.erb'), +# require => Vcsrepo['/var/rhizomatica'], + } + + exec { 'install_rccn': + command => '/usr/bin/python /var/rhizomatica/rccn/install.py', + require => [ File['/var/rhizomatica/rccn/config_values.py'], + Class['rhizo_base::postgresql'], Class['riak'], + Package['php5'] ], + refreshonly => true, + } + + exec { 'locale-gen': + command => '/usr/sbin/locale-gen', + require => [ File['/var/rhizomatica/rccn/config_values.py'], + File['/var/lib/locales/supported.d/local'] ], + refreshonly => true, + } + + file { '/var/lib/locales/supported.d/local': + ensure => present, + source => 'puppet:///modules/rhizo_base/var/lib/locales/supported.d/local', + } + + file { '/var/www/html/rai': + ensure => link, + target => '/var/rhizomatica/rai', + require => Package['apache2'], +# [ Vcsrepo['/var/rhizomatica'], ], + } + + file { '/var/www/html/rai/graphs': + ensure => link, + target => '/var/rhizomatica/rrd/graphs', +# require => Vcsrepo['/var/rhizomatica'], + } + + +#Python modules + class { 'python': + version => 'system', + pip => true, + dev => true, + } + + python::pip { 'riak': + ensure => '2.0.3', + pkgname => 'riak', + } + + file { '/usr/lib/python2.7/dist-packages': + ensure => directory, + source => 'puppet:///modules/rhizo_base/usr/lib/python2.7/dist-packages', + recurse => remote, + require => Class['python'], + } + +#Apache2 + PHP + Python + package { ['apache2','libapache2-mod-php5', + 'rrdtool', 'python-twisted-web', 'python-psycopg2', + 'python-pysqlite2', 'php5', 'php5-pgsql', + 'php5-curl', 'php5-cli', 'php5-gd', 'python-corepost', + 'python-yaml', 'python-formencode', 'python-unidecode', + 'python-dateutil']: + ensure => installed, + require => Class['rhizo_base::apt'], + } + + file { '/etc/php5/apache2/php.ini': + ensure => present, + source => 'puppet:///modules/rhizo_base/etc/php5/apache2/php.ini', + require => Package['libapache2-mod-php5'], + } + + + file { '/etc/cron.d/rhizomatica': + source => 'puppet:///modules/rhizo_base/etc/cron.d/rhizomatica', + } + + } diff --git a/modules/rhizo_base/manifests/lcr.pp b/modules/rhizo_base/manifests/lcr.pp new file mode 100644 index 0000000..06d3223 --- /dev/null +++ b/modules/rhizo_base/manifests/lcr.pp @@ -0,0 +1,33 @@ +# Class: rhizo_base::lcr +# +# This module manages the LCR system +# +# Parameters: none +# +# Actions: +# +# Requires: see Modulefile +# +# Sample Usage: +# +class rhizo_base::lcr { + package { 'lcr': + ensure => installed, + require => Class['rhizo_base::apt'], + } + + file { '/usr/etc/lcr': + ensure => directory, + source => 'puppet:///modules/rhizo_base/usr/etc/lcr', + recurse => remote, + purge => true, + require => Package['lcr'], + } + + file { '/etc/default/lcr': + ensure => present, + source => 'puppet:///modules/rhizo_base/etc/default/lcr', + require => Package['lcr'], + } + + } \ No newline at end of file diff --git a/modules/rhizo_base/manifests/openbsc.pp b/modules/rhizo_base/manifests/openbsc.pp new file mode 100644 index 0000000..7d2088a --- /dev/null +++ b/modules/rhizo_base/manifests/openbsc.pp @@ -0,0 +1,32 @@ +# Class: rhizo_base::openbsc +# +# This module manages the OpenBSC system +# +# Parameters: none +# +# Actions: +# +# Requires: see Modulefile +# +# Sample Usage: +# +class rhizo_base::openbsc { + package { ['osmocom-nitb', 'osmocom-nitb-dbg', + 'libdbd-sqlite3', 'libsmpp0']: + ensure => installed, + require => Class['rhizo_base::apt'], + notify => Exec['hlr_pragma_wal'], + } + + file { '/etc/osmocom/osmo-nitb.cfg': + content => template('rhizo_base/osmo-nitb.cfg.erb'), + require => Package['osmocom-nitb'], + } + + exec { 'hlr_pragma_wal': + command => + '/usr/bin/sqlite3 /var/lib/osmocom/hlr.sqlite3 "PRAGMA journal_mode=wal;"', + require => Class['rhizo_base::packages'], + refreshonly => true, + } + } diff --git a/modules/rhizo_base/manifests/packages.pp b/modules/rhizo_base/manifests/packages.pp new file mode 100644 index 0000000..415092e --- /dev/null +++ b/modules/rhizo_base/manifests/packages.pp @@ -0,0 +1,21 @@ +# Class: rhizo_base +# +# This module manages the packages not included in other modules +# +# Parameters: none +# +# Actions: +# +# Requires: see Modulefile +# +# Sample Usage: +# +class rhizo_base::packages { + + package { ['mosh', 'git', 'openvpn', 'lm-sensors', 'runit', 'sqlite3', + 'libffi-dev']: + ensure => installed, + require => Class['rhizo_base::apt'], + } + + } \ No newline at end of file diff --git a/modules/rhizo_base/manifests/postgresql.pp b/modules/rhizo_base/manifests/postgresql.pp new file mode 100644 index 0000000..f60e106 --- /dev/null +++ b/modules/rhizo_base/manifests/postgresql.pp @@ -0,0 +1,25 @@ +# Class: rhizo_base::postgresql +# +# This module manages the PostgreSQL database +# +# Parameters: none +# +# Actions: +# +# Requires: see Modulefile +# +# Sample Usage: +# +class rhizo_base::postgresql { + class { 'postgresql::globals': + manage_package_repo => true, + version => '9.3', + }-> + class { 'postgresql::server': + } + + postgresql::server::db { 'rhizomatica': + user => 'rhizomatica', + password => postgresql_password('rhizomatica', $pgsql_pwd), + } + } diff --git a/modules/rhizo_base/manifests/riak.pp b/modules/rhizo_base/manifests/riak.pp new file mode 100644 index 0000000..592cde7 --- /dev/null +++ b/modules/rhizo_base/manifests/riak.pp @@ -0,0 +1,19 @@ +# Class: rhizo_base::riak +# +# This module manages the Riak database +# +# Parameters: none +# +# Actions: +# +# Requires: see Modulefile +# +# Sample Usage: +# +class rhizo_base::riak { + class { 'riak': + version => '1.4.10-1', + template => 'rhizo_base/app.config.erb', + vmargs_template => 'rhizo_base/vm.args.erb', + } + } \ No newline at end of file diff --git a/modules/rhizo_base/manifests/runit.pp b/modules/rhizo_base/manifests/runit.pp new file mode 100644 index 0000000..cec458a --- /dev/null +++ b/modules/rhizo_base/manifests/runit.pp @@ -0,0 +1,41 @@ +# Class: rhizo_base::runit +# +# This module manages the Runit startup scripts +# +# Parameters: none +# +# Actions: +# +# Requires: see Modulefile +# +# Sample Usage: +# +class rhizo_base::runit { + file { '/etc/sv': + ensure => directory, + source => 'puppet:///modules/rhizo_base/etc/sv', + recurse => remote, + require => Class['rhizo_base::packages'], + } + + file { '/etc/service/osmo-nitb': + ensure => link, + target => '/etc/sv/osmo-nitb', + require => + [ File['/etc/sv'], Class['rhizo_base::openbsc'] ], + } + + file { '/etc/service/freeswitch': + ensure => link, + target => '/etc/sv/freeswitch', + require => + [ File['/etc/sv'], Class['rhizo_base::freeswitch'] ], + } + + file { '/etc/service/rapi': + ensure => link, + target => '/etc/sv/rapi', + require => File['/etc/sv'], + } + + } \ No newline at end of file diff --git a/modules/rhizomatica_base_system/metadata.json b/modules/rhizo_base/metadata.json similarity index 100% rename from modules/rhizomatica_base_system/metadata.json rename to modules/rhizo_base/metadata.json diff --git a/modules/rhizomatica_base_system/spec/spec.opts b/modules/rhizo_base/spec/spec.opts similarity index 100% rename from modules/rhizomatica_base_system/spec/spec.opts rename to modules/rhizo_base/spec/spec.opts diff --git a/modules/rhizomatica_base_system/spec/spec_helper.rb b/modules/rhizo_base/spec/spec_helper.rb similarity index 100% rename from modules/rhizomatica_base_system/spec/spec_helper.rb rename to modules/rhizo_base/spec/spec_helper.rb diff --git a/modules/rhizomatica_base_system/templates/app.config.erb b/modules/rhizo_base/templates/app.config.erb similarity index 100% rename from modules/rhizomatica_base_system/templates/app.config.erb rename to modules/rhizo_base/templates/app.config.erb diff --git a/modules/rhizomatica_base_system/templates/cdr_pg_csv.conf.xml.erb b/modules/rhizo_base/templates/cdr_pg_csv.conf.xml.erb similarity index 100% rename from modules/rhizomatica_base_system/templates/cdr_pg_csv.conf.xml.erb rename to modules/rhizo_base/templates/cdr_pg_csv.conf.xml.erb diff --git a/modules/rhizomatica_base_system/templates/config_values.py.erb b/modules/rhizo_base/templates/config_values.py.erb similarity index 100% rename from modules/rhizomatica_base_system/templates/config_values.py.erb rename to modules/rhizo_base/templates/config_values.py.erb diff --git a/modules/rhizomatica_base_system/templates/database.php.erb b/modules/rhizo_base/templates/database.php.erb similarity index 100% rename from modules/rhizomatica_base_system/templates/database.php.erb rename to modules/rhizo_base/templates/database.php.erb diff --git a/modules/rhizomatica_base_system/templates/osmo-nitb.cfg.erb b/modules/rhizo_base/templates/osmo-nitb.cfg.erb similarity index 100% rename from modules/rhizomatica_base_system/templates/osmo-nitb.cfg.erb rename to modules/rhizo_base/templates/osmo-nitb.cfg.erb diff --git a/modules/rhizomatica_base_system/templates/provider.xml.erb b/modules/rhizo_base/templates/provider.xml.erb similarity index 100% rename from modules/rhizomatica_base_system/templates/provider.xml.erb rename to modules/rhizo_base/templates/provider.xml.erb diff --git a/modules/rhizomatica_base_system/templates/vars.sh.erb b/modules/rhizo_base/templates/vars.sh.erb similarity index 100% rename from modules/rhizomatica_base_system/templates/vars.sh.erb rename to modules/rhizo_base/templates/vars.sh.erb diff --git a/modules/rhizomatica_base_system/templates/vars.xml.erb b/modules/rhizo_base/templates/vars.xml.erb similarity index 100% rename from modules/rhizomatica_base_system/templates/vars.xml.erb rename to modules/rhizo_base/templates/vars.xml.erb diff --git a/modules/rhizomatica_base_system/templates/vm.args.erb b/modules/rhizo_base/templates/vm.args.erb similarity index 100% rename from modules/rhizomatica_base_system/templates/vm.args.erb rename to modules/rhizo_base/templates/vm.args.erb diff --git a/modules/rhizomatica_base_system/tests/init.pp b/modules/rhizo_base/tests/init.pp similarity index 100% rename from modules/rhizomatica_base_system/tests/init.pp rename to modules/rhizo_base/tests/init.pp diff --git a/modules/rhizomatica_base_system/manifests/init.pp b/modules/rhizomatica_base_system/manifests/init.pp deleted file mode 100644 index 2446efa..0000000 --- a/modules/rhizomatica_base_system/manifests/init.pp +++ /dev/null @@ -1,430 +0,0 @@ -# Class: rhizomatica_base_system -# -# This module manages rhizomatica_base_system -# -# Parameters: none -# -# Actions: -# -# Requires: see Modulefile -# -# Sample Usage: -# -class rhizomatica_base_system { - - $mail_admins = hiera('rhizo::mail_admins') - $smsc_password = hiera('rhizo::smsc_password') - $kannel_admin_password = hiera('rhizo::kannel_admin_password') - - # Configuration settings - $rhizomatica_dir = hiera('rhizo::rhizomatica_dir') - $sq_hlr_path = hiera('rhizo::sq_hlr_path') - - # database - $pgsql_db = hiera('rhizo::pgsql_db') - $pgsql_user = hiera('rhizo::pgsql_user') - $pgsql_pwd = hiera('rhizo::pgsql_pwd') - $pgsql_host = hiera('rhizo::pgsql_host') - - # SITE - $site_name = hiera('rhizo::site_name') - $postcode = hiera('rhizo::postcode') - $pbxcode = hiera('rhizo::pbxcode') - # network name - $network_name = hiera('rhizo::network_name') - $auth_policy = hiera('rhizo::auth_policy') - - #BTSs configuration - $bts1_ip_address = hiera('rhizo::bts1_ip_address') - $arfcn_A = hiera('rhizo::arfcn_A') - $arfcn_B = hiera('rhizo::arfcn_B') - - $bts2_ip_address = hiera('rhizo::bts2_ip_address', false) - $arfcn_C = hiera('rhizo::arfcn_C', false) - $arfcn_D = hiera('rhizo::arfcn_D', false) - - $bts3_ip_address = hiera('rhizo::bts3_ip_address', false) - $arfcn_E = hiera('rhizo::arfcn_E', false) - $arfcn_F = hiera('rhizo::arfcn_F', false) - - $max_power_red = hiera('rhizo::max_power_red') - - # VPN ip address - $vpn_ip_address = hiera('rhizo::vpn_ip_address') - $wan_ip_address = hiera('rhizo::wan_ip_address') - - # SITE settings - # rate type can be "call" or "min" - $limit_local_calls = hiera('rhizo::limit_local_calls') - $limit_local_minutes = hiera('rhizo::limit_local_minutes') - $charge_local_calls = hiera('rhizo::charge_local_calls') - $charge_local_rate = hiera('rhizo::charge_local_rate') - $charge_local_rate_type = hiera('rhizo::charge_local_rate_type') - $charge_internal_calls = hiera('rhizo::charge_internal_calls') - $charge_internal_rate = hiera('rhizo::charge_internal_rate') - $charge_internal_rate_type = hiera('rhizo::charge_internal_rate_type') - $charge_inbound_calls = hiera('rhizo::charge_inbound_calls') - $charge_inbound_rate = hiera('rhizo::charge_inbound_rate') - $charge_inbound_rate_type = hiera('rhizo::charge_inbound_rate_type') - $smsc_shortcode = hiera('rhizo::smsc_shortcode') - $sms_sender_unauthorized = hiera('rhizo::sms_sender_unauthorized') - $sms_destination_unauthorized = hiera('rhizo::sms_destination_unauthorized') - - $rai_admin_user = hiera('rhizo::rai_admin_user') - $rai_admin_pwd = hiera('rhizo::rai_admin_pwd') - - $kannel_server = hiera('rhizo::kannel_server') - $kannel_port = hiera('rhizo::kannel_port') - $kannel_username = hiera('rhizo::kannel_username') - $kannel_sendsms_password = hiera('rhizo::kannel_sendsms_password') - - # VOIP provider - $voip_provider_name = hiera('rhizo::voip_provider_name') - $voip_username = hiera('rhizo::voip_username') - $voip_fromuser = hiera('rhizo::voip_fromuser') - $voip_password = hiera('rhizo::voip_password') - $voip_proxy = hiera('rhizo::voip_proxy') - $voip_did = hiera('rhizo::voip_did') - $voip_cli = hiera('rhizo::voip_cli') - - # Subscription SMS notification - $notice_msg = hiera('rhizo::notice_msg') - $reminder_msg = hiera('rhizo::reminder_msg') - $deactivate_msg = hiera('rhizo::deactivate_msg') - $sms_credit_added = hiera('rhizo::sms_credit_added') - - #Roaming welcome SMS - $sms_welcome_roaming = hiera('rhizo::sms_welcome_roaming') - #Emergency number - $emergency_contact = hiera('rhizo::emergency_contact') - - include ntp - include kannel - -#FSCK at boot - file { '/etc/default/rcS': - ensure => present, - source => 'puppet:///modules/rhizomatica_base_system/etc/default/rcS', - } - -#Grub fix - file { '/etc/default/grub': - ensure => present, - source => 'puppet:///modules/rhizomatica_base_system/etc/default/grub', - notify => Exec['update-grub'], - } - - exec { 'update-grub': - command => '/usr/sbin/update-grub', - refreshonly => true, - } - -#Rizhomatica scripts - file { '/home/rhizomatica/bin': - ensure => directory, - source => 'puppet:///modules/rhizomatica_base_system/bin', - recurse => true, - purge => false, - } - - file { '/home/rhizomatica/bin/vars.sh': - ensure => present, - content => template('rhizomatica_base_system/vars.sh.erb'), - } - -#APT + Repos - file { '/etc/apt/apt.conf.d/90unsigned': - ensure => present, - content => 'APT::Get::AllowUnauthenticated "true";', - } - - class { 'apt': } - - apt::source { 'rhizomatica': - location => 'http://dev.rhizomatica.org/ubuntu/', - release => 'precise', - repos => 'main', - include_src => false, - require => File['/etc/apt/apt.conf.d/90unsigned'], - } - - apt::ppa { 'ppa:keithw/mosh': } - apt::ppa { 'ppa:ondrej/php5': } - - - file { '/var/rhizomatica': - ensure => directory, - } - - file { '/var/rhizo_backups': - ensure => directory, - } - - file { '/var/rhizo_backups/postgresql': - ensure => directory, - owner => 'postgres', - group => 'postgres', - require => File['/var/rhizo_backups'], - } - - file { '/var/rhizo_backups/sqlite': - ensure => directory, - require => File['/var/rhizo_backups'], - } - - package { 'git': - ensure => present, - } - -# vcsrepo { '/var/rhizomatica': -# ensure => latest, -# provider => git, -# source => 'https://github.com/Rhizomatica/rccn.git', -# revision => 'master', -# require => [ File['/var/rhizomatica'], Package['git'] ], -# notify => [ Exec['install_rccn'], Exec['locale-gen'] ], -# } - - file { '/var/rhizomatica/rccn/config_values.py': - ensure => present, - content => template('rhizomatica_base_system/config_values.py.erb'), -# require => Vcsrepo['/var/rhizomatica'], - } - - file { '/var/rhizomatica/rai/include/database.php': - ensure => present, - content => template('rhizomatica_base_system/database.php.erb'), -# require => Vcsrepo['/var/rhizomatica'], - } - - exec { 'install_rccn': - command => '/usr/bin/python /var/rhizomatica/rccn/install.py', - require => [ File['/var/rhizomatica/rccn/config_values.py'], - Postgresql::Server::Db['rhizomatica'], Class['riak'], - Package['php5'] ], - refreshonly => true, - } - - exec { 'locale-gen': - command => '/usr/sbin/locale-gen', - require => [ File['/var/rhizomatica/rccn/config_values.py'], - File['/var/lib/locales/supported.d/local'] ], - refreshonly => true, - } - - file { '/var/lib/locales/supported.d/local': - ensure => present, - source => 'puppet:///modules/rhizomatica_base_system/var/lib/locales/supported.d/local', - } - - file { '/var/www/html/rai': - ensure => link, - target => '/var/rhizomatica/rai', - require => Package['apache2'], -# [ Vcsrepo['/var/rhizomatica'], ], - } - - file { '/var/www/html/rai/graphs': - ensure => link, - target => '/var/rhizomatica/rrd/graphs', -# require => Vcsrepo['/var/rhizomatica'], - } - -#PostgreSQL server - class { 'postgresql::globals': - manage_package_repo => true, - version => '9.3', - }-> - class { 'postgresql::server': - } - - postgresql::server::db { 'rhizomatica': - user => 'rhizomatica', - password => postgresql_password('rhizomatica', $pgsql_pwd), - } - -#Various packages - package { ['openvpn', 'lm-sensors', 'runit', 'sqlite3']: - ensure => installed, - } - -#Runit scripts - file { '/etc/sv': - ensure => directory, - source => 'puppet:///modules/rhizomatica_base_system/etc/sv', - recurse => remote, - require => Package['runit'], - } - - file { '/etc/service/osmo-nitb': - ensure => link, - target => '/etc/sv/osmo-nitb', - require => [ File['/etc/sv'], Package['osmocom-nitb'] ], - } - - file { '/etc/service/freeswitch': - ensure => link, - target => '/etc/sv/freeswitch', - require => [ File['/etc/sv'], Package['freeswitch'] ], - } - - file { '/etc/service/rapi': - ensure => link, - target => '/etc/sv/rapi', - require => File['/etc/sv'], - } - -#Mosh - package { 'mosh': - ensure => installed, - require => Apt::Ppa['ppa:keithw/mosh'], - } - -#Riak server - class { 'riak': - version => '1.4.10-1', - template => 'rhizomatica_base_system/app.config.erb', - vmargs_template => 'rhizomatica_base_system/vm.args.erb', - } - - package { 'libffi-dev': - ensure => installed, - } - -#Python modules - class { 'python': - version => 'system', - pip => true, - dev => true, - } - - python::pip { 'riak': - ensure => '2.0.3', - pkgname => 'riak', - } - - file { '/usr/lib/python2.7/dist-packages': - ensure => directory, - source => 'puppet:///modules/rhizomatica_base_system/usr/lib/python2.7/dist-packages', - recurse => remote, - require => Class['python'], - } - -#Apache2 + PHP + Python - package { ['apache2','libapache2-mod-php5', - 'rrdtool', 'python-twisted-web', 'python-psycopg2', - 'python-pysqlite2', 'php5', 'php5-pgsql', - 'php5-curl', 'php5-cli', 'php5-gd', 'python-corepost', - 'python-yaml', 'python-formencode', 'python-unidecode', - 'python-dateutil']: - ensure => installed, - require => Apt::Ppa['ppa:ondrej/php5'], - } - - file { '/etc/php5/apache2/php.ini': - ensure => present, - source => 'puppet:///modules/rhizomatica_base_system/etc/php5/apache2/php.ini', - require => Package['libapache2-mod-php5'], - } - -#FreeSWITCH - package { ['freeswitch', 'freeswitch-lang-en', - 'freeswitch-mod-amr', 'freeswitch-mod-amrwb', - 'freeswitch-mod-b64', 'freeswitch-mod-bv', - 'freeswitch-mod-cdr-pg-csv', 'freeswitch-mod-cluechoo', - 'freeswitch-mod-commands', 'freeswitch-mod-conference', - 'freeswitch-mod-console', 'freeswitch-mod-db', - 'freeswitch-mod-dialplan-asterisk', 'freeswitch-mod-dialplan-xml', - 'freeswitch-mod-dptools', 'freeswitch-mod-enum', 'freeswitch-mod-esf', - 'freeswitch-mod-event-socket','freeswitch-mod-expr', 'freeswitch-mod-fifo', - 'freeswitch-mod-fsv', 'freeswitch-mod-g723-1', 'freeswitch-mod-h26x', - 'freeswitch-mod-hash', 'freeswitch-mod-httapi', - 'freeswitch-mod-local-stream', 'freeswitch-mod-logfile', - 'freeswitch-mod-loopback', 'freeswitch-mod-lua', - 'freeswitch-mod-native-file', 'freeswitch-mod-python', - 'freeswitch-mod-say-en', 'freeswitch-mod-say-es', 'freeswitch-mod-sms', - 'freeswitch-mod-sndfile', 'freeswitch-mod-sofia', 'freeswitch-mod-spandsp', - 'freeswitch-mod-speex', 'freeswitch-mod-syslog', - 'freeswitch-mod-tone-stream', 'freeswitch-mod-voicemail', - 'freeswitch-mod-voicemail-ivr', 'freeswitch-mod-vp8', - 'freeswitch-mod-xml-cdr', 'freeswitch-sysvinit', 'libfreeswitch1']: - ensure => installed, - require => Apt::Source['rhizomatica'], - } - - file { '/usr/lib/freeswitch/mod/mod_g729.so': - source => 'puppet:///modules/rhizomatica_base_system/mod_g729.so', - require => Package['freeswitch'], - } - - file { '/etc/freeswitch': - ensure => directory, - source => 'puppet:///modules/rhizomatica_base_system/etc/freeswitch', - recurse => remote, - require => Package['freeswitch'], - } - - file { '/etc/freeswitch/vars.xml': - content => template('rhizomatica_base_system/vars.xml.erb'), - require => Package['freeswitch'], - } - - file {'/etc/freeswitch/sip_profiles/external': - ensure => directory, - } - - file { '/etc/freeswitch/sip_profiles/external/provider.xml': - content => template('rhizomatica_base_system/provider.xml.erb'), - require => [ Package['freeswitch'], - File['/etc/freeswitch/sip_profiles/external'] ], - } - - file { '/etc/freeswitch/autoload_configs/cdr_pg_csv.conf.xml': - content => template('rhizomatica_base_system/cdr_pg_csv.conf.xml.erb'), - require => Package['freeswitch'], - } - -#OpenBSC - package { ['osmocom-nitb', 'osmocom-nitb-dbg', - 'libdbd-sqlite3', 'libsmpp0']: - ensure => installed, - require => Apt::Source['rhizomatica'], - notify => Exec['hlr_pragma_wal'] - } - - file { '/etc/osmocom/osmo-nitb.cfg': - content => template('rhizomatica_base_system/osmo-nitb.cfg.erb'), - require => Package['osmocom-nitb'], - } - - exec { 'hlr_pragma_wal': - command => '/usr/bin/sqlite3 /var/lib/osmocom/hlr.sqlite3 "PRAGMA journal_mode=wal;"', - require => Package['sqlite3'], - refreshonly => true, - } - -#LCR - package { 'lcr': - ensure => installed, - require => Apt::Source['rhizomatica'], - } - - file { '/usr/etc/lcr': - ensure => directory, - source => 'puppet:///modules/rhizomatica_base_system/usr/etc/lcr', - recurse => remote, - purge => true, - require => Package['lcr'], - } - - file { '/etc/default/lcr': - ensure => present, - source => 'puppet:///modules/rhizomatica_base_system/etc/default/lcr', - require => Package['lcr'], - } - - file { '/etc/cron.d/rhizomatica': - source => 'puppet:///modules/rhizomatica_base_system/etc/cron.d/rhizomatica', - } - - }