Ack,
Not sure the last Ack I sent, actually got send
----- Original Message -----
From: "Mo Morsi" <mmorsi(a)redhat.com>
To: aeolus-devel(a)lists.fedorahosted.org
Cc: "Mo Morsi" <mmorsi(a)redhat.com>
Sent: Tuesday, 28 June, 2011 8:36:50 PM
Subject: [PATCH configure] BZ #688719 - disable curl http proxy when making aeolus
requests
---
recipes/aeolus/manifests/iwhd.pp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/recipes/aeolus/manifests/iwhd.pp b/recipes/aeolus/manifests/iwhd.pp
index d012258..ea8bccf 100644
--- a/recipes/aeolus/manifests/iwhd.pp
+++ b/recipes/aeolus/manifests/iwhd.pp
@@ -29,7 +29,7 @@ class aeolus::iwhd inherits aeolus {
# XXX ugly hack but iwhd might take some time to come up
exec{"iwhd_startup_pause":
command => "/bin/sleep 2",
- unless => '/usr/bin/curl
http://localhost:9090';,
+ unless => "/usr/bin/curl --proxy ''
http://localhost:9090",
logoutput => true,
require => Service['iwhd']}
}
@@ -50,7 +50,7 @@ class aeolus::iwhd::disabled {
# Create a named bucket in iwhd
define aeolus::create_bucket(){
exec{"create-bucket-${name}":
- command => "/usr/bin/curl -X PUT
http://localhost:9090/templates",
+ command => "/usr/bin/curl --proxy '' -X PUT
http://localhost:9090/templates",
logoutput => true,
require => [Exec['iwhd_startup_pause'], Package[curl]] }
}
--
1.7.5.4
_______________________________________________
aeolus-devel mailing list
aeolus-devel(a)lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/aeolus-devel