From 2c5ba99a88417e1f7482b03fd5f8deb890168873 Mon Sep 17 00:00:00 2001 From: varac Date: Wed, 4 Sep 2013 18:47:09 +0200 Subject: make curl silent --- manifests/document.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'manifests/document.pp') diff --git a/manifests/document.pp b/manifests/document.pp index 77296dc..be68983 100644 --- a/manifests/document.pp +++ b/manifests/document.pp @@ -28,7 +28,7 @@ define couchdb::document( cmd => 'PUT', host => $host, path => "${db}/${id}", - unless => "/usr/bin/curl --netrc-file /etc/couchdb/couchdb.netrc ${url}" + unless => "/usr/bin/curl -s --netrc-file /etc/couchdb/couchdb.netrc ${url}" } } @@ -37,7 +37,7 @@ define couchdb::document( cmd => 'DELETE', host => $host, path => "${db}/${id}", - onlyif => "/usr/bin/curl --netrc-file /etc/couchdb/couchdb.netrc ${url}" + onlyif => "/usr/bin/curl -s --netrc-file /etc/couchdb/couchdb.netrc ${url}" } } } -- cgit v1.2.3