91530187f0
Change-Id: Iee9b4550504a8918824f3260e7622788e5feb098
10 lines
416 B
Plaintext
10 lines
416 B
Plaintext
#if $str($getVar('anamon_enabled','')) == "1"
|
|
#if $getVar("compass_server", "") != ""
|
|
wget -O /tmp/anamon "http://$compass_server:$http_port/cobbler/aux/anamon"
|
|
python /tmp/anamon --name "$name" --server "$compass_server" --port "$http_port"
|
|
#else
|
|
wget -O /tmp/anamon "http://$server:$http_port/cobbler/aux/anamon"
|
|
python /tmp/anamon --name "$name" --server "$server" --port "$http_port"
|
|
#end if
|
|
#end if
|