dev/provisioning/modules/drush/manifests/cacheclear.pp
author Chloe Laisne <chloe.laisne@gmail.com>
Thu, 20 Oct 2016 12:54:07 +0530
changeset 373 e952c8a31a2b
parent 353 bf1bc6b08c46
child 410 240ca282331d
permissions -rw-r--r--
Transcript design + Fix video display and filter component font

class drush::cacheclear {

  #private()
  if $caller_module_name != $module_name {
    warning("${name} is not part of the public API of the ${module_name} \
module and should not be directly included in the manifest.")
  }

  # Clear drush cache on demand.
  exec { 'drush-cc-drush':
    command     => "${drush::drush_exe_default} cc drush",
    require     => File[$drush::drush_exe_default],
    refreshonly => true,
  }

}