You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by is...@apache.org on 2013/12/25 18:41:50 UTC

git commit: added '/sbin', '/usr/sbin/' to path of update-apt and put a log output on a failure

Updated Branches:
  refs/heads/master 22882d6f9 -> 90236a71a


added '/sbin', '/usr/sbin/' to path of update-apt and put a log output on a failure


Project: http://git-wip-us.apache.org/repos/asf/incubator-stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-stratos/commit/90236a71
Tree: http://git-wip-us.apache.org/repos/asf/incubator-stratos/tree/90236a71
Diff: http://git-wip-us.apache.org/repos/asf/incubator-stratos/diff/90236a71

Branch: refs/heads/master
Commit: 90236a71a5e87beed2841addd30c0d08fa5719a7
Parents: 22882d6
Author: Isuru <is...@wso2.com>
Authored: Wed Dec 25 23:11:31 2013 +0530
Committer: Isuru <is...@wso2.com>
Committed: Wed Dec 25 23:11:31 2013 +0530

----------------------------------------------------------------------
 tools/puppet/manifests/classes/php_cartridge.pp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/90236a71/tools/puppet/manifests/classes/php_cartridge.pp
----------------------------------------------------------------------
diff --git a/tools/puppet/manifests/classes/php_cartridge.pp b/tools/puppet/manifests/classes/php_cartridge.pp
index 351b4b7..2f5d85e 100755
--- a/tools/puppet/manifests/classes/php_cartridge.pp
+++ b/tools/puppet/manifests/classes/php_cartridge.pp
@@ -30,9 +30,10 @@ class php_cartridge (syslog,docroot,samlalias,serverport,mb_ip,mb_port,cep_ip,ce
         }
 
         exec { "update-apt":
-                path    => ['/bin', '/usr/bin'],
+                path    => ['/bin', '/usr/bin', '/sbin', '/usr/sbin/'],
                 command => "apt-get update > /dev/null 2>&1 ",
                 require => File["/etc/apt/apt.conf.d/90forceyes"],
+		logoutput => on_failure,
         }
 
         package { $packages: