diff --git a/hooks/templates/inc_projects_config.php.erb b/hooks/templates/inc_projects_config.php.erb
index 4859bde4daa15efb5ff717db78c88f988b4cf072..d0f78af5b19b3bfe2123219b661c8b39fb087f42 100644
--- a/hooks/templates/inc_projects_config.php.erb
+++ b/hooks/templates/inc_projects_config.php.erb
@@ -33,7 +33,9 @@ $aConfig = array(
         
         // puppet agent liefert 0 oder 2 zurueck, wenn OK
         // http://docs.puppetlabs.com/references/3.4.0/man/apply.html
-        'command' => 'sudo puppet agent -t --detailed-exitcodes ; rc=$?; if [ $rc -eq 2 ]; then rc=0; fi ; exit $rc',
+        // 'command' => 'sudo puppet agent -t --detailed-exitcodes ; rc=$?; if [ $rc -eq 2 ]; then rc=0; fi ; exit $rc',
+        // task#38890 replace direct puppet call with a shell script
+        'command' => '/usr/local/bin/puppetrun.sh',
     ),
     'phases' => array(
         "preview" => array(