dev/provisioning/modules/drush/manifests/cacheclear.pp
changeset 357 e3b168fa7513
parent 353 bf1bc6b08c46
child 410 240ca282331d
equal deleted inserted replaced
356:139bf74b9374 357:e3b168fa7513
       
     1 class drush::cacheclear {
       
     2 
       
     3   #private()
       
     4   if $caller_module_name != $module_name {
       
     5     warning("${name} is not part of the public API of the ${module_name} \
       
     6 module and should not be directly included in the manifest.")
       
     7   }
       
     8 
       
     9   # Clear drush cache on demand.
       
    10   exec { 'drush-cc-drush':
       
    11     command     => "${drush::drush_exe_default} cc drush",
       
    12     require     => File[$drush::drush_exe_default],
       
    13     refreshonly => true,
       
    14   }
       
    15 
       
    16 }
       
    17