Permalink
Browse files

Add oacd configs to puppet

  • Loading branch information...
1 parent 7d0ce19 commit bceadd09ff91acbd75a4f452b31c8230809d0244 @jvliwanag jvliwanag committed Oct 10, 2012
Showing with 40 additions and 0 deletions.
  1. +5 −0 conf/oacd/oacd.cfg
  2. +25 −0 conf/oacd/sys.config
  3. +10 −0 manifests/base.pp
View
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+#NAMETYPE="-name"
+NAME="openacd@oacddev.ezuce.com"
+COOKIE="ClueCon"
View
@@ -0,0 +1,25 @@
+[{oacd_core, [
+ {nodes, ['openacd@oacddev.ezuce.com']}
+ , {console_loglevel, info}
+ , {logfiles, [{"/tmp/openacd.log", info}]}
+ %% Add plugins here
+ , {plugins, [oacd_freeswitch, oacd_web, oacd_ouc, sipxplugin]}
+ , {agent_auth_storage, spx_agent_auth}
+ , {call_queue_config_storage, spx_call_queue_config}
+]},
+%% Application-specific configuration here
+{oacd_freeswitch, [
+ {freeswitch_node, 'freeswitch@127.0.0.1'},
+ {cpx_managed, true}
+]},
+{oacd_web, [
+ {cpx_managed, false}
+]},
+{oacd_tcp, [
+ {cpx_managed, false}
+]},
+{sipxplugin, [
+ % {mongo_hostport, "127.0.0.1:27017"}
+]}
+
+].
View
@@ -60,6 +60,16 @@
group => 'vagrant',
}
+# oacd conf
+file { '/home/vagrant/workspace/oacd/conf/sys.config':
+ ensure => 'link',
+ target => '/home/vagrant/conf/oacd/sys.config'
+}
+file { '/home/vagrant/workspace/oacd/conf/oacd.cfg':
+ ensure => 'link',
+ target => '/home/vagrant/conf/oacd/oacd.cfg'
+}
+
# Etc
file { '/etc/hosts':

0 comments on commit bceadd0

Please sign in to comment.