puppet 4 foo
[mirror/dsa-puppet.git] / modules / bacula / templates / bacula-idle-restart.erb
index a19101d..a99ff80 100644 (file)
 set -e
 
 if [ "$1" = "fd" ];then
-    PORT=<%= bacula_client_port %>
+    PORT=<%= @bacula_client_port %>
     DIR="bacula-fd"
 elif [ "$1" = "sd" ]; then
-    PORT=<%= bacula_storage_port %>
+    PORT=<%= @bacula_storage_port %>
     DIR="bacula-sd"
 else
     # Usage