dev/provisioning/modules/drush/manifests/cacheclear.pp
author ymh <ymh.work@gmail.com>
Fri, 21 Oct 2016 09:26:28 +0200
changeset 379 0b14f178ca53
parent 353 bf1bc6b08c46
child 410 240ca282331d
permissions -rw-r--r--
No limitation on the number of item at this level. It has already been checked when preparing the query parameters

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,
  }

}