Commits

Arthur Clune  committed 08e4672

add template dir to commit

  • Participants
  • Parent commits 30fba35

Comments (0)

Files changed (1)

File vagrant/puppet/modules/backend/templates/create-hbbackend-domain.erb

+#!/bin/sh -e
+
+PATH="/opt/glassfish3/bin:$PATH"
+export PATH
+
+if [ ! -f ~/_hbbackend_domain_created ]
+then
+
+asadmin create-domain --nopassword=true --portbase 9900 hbbackend
+chown -R <%= targetuser %> /opt/glassfish3/glassfish/domains/hbbackend
+
+touch ~/_hbbackend_domain_created
+
+fi
+