]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-cm-ansible.git/commitdiff
Don't hit the post-install trigger multiple times 36/head
authorZack Cerza <zack@redhat.com>
Thu, 21 May 2015 18:01:44 +0000 (12:01 -0600)
committerZack Cerza <zack@redhat.com>
Thu, 21 May 2015 18:02:59 +0000 (12:02 -0600)
Signed-off-by: Zack Cerza <zack@redhat.com>
roles/cobbler/templates/snippets/cephlab_rc_local

index 80e4d2efddc995fed08e1d1dd52894234aad7680..c05a5f9a690666cc8a06b4cbe25b5be77819636f 100644 (file)
@@ -17,7 +17,7 @@ fi
 # Wait just a bit for the network to come up
 sleep 15
 # Run the post-install trigger a second time
-wget -O /dev/null "http://$http_server:$http_port/cblr/svc/op/trig/mode/post/system/$system_name"
+wget -t1 -O /dev/null "http://$http_server:$http_port/cblr/svc/op/trig/mode/post/system/$system_name" || true
 touch $lockfile
 EOF