hosting.feature.package.inc

Expose the package feature to hostmaster.

Functions

File

package/hosting.feature.package.inc
View source
  1. <?php
  2. /**
  3. * @file
  4. * Expose the package feature to hostmaster.
  5. */
  6. /**
  7. * Implements hook_hosting_feature().
  8. */
  9. function hosting_package_hosting_feature() {
  10. $features['package'] = array(
  11. 'title' => t('Package management'),
  12. 'description' => t('Keep track of which packages have been installed, and their versions.'),
  13. 'status' => HOSTING_FEATURE_REQUIRED,
  14. 'module' => 'hosting_package',
  15. 'node' => 'package',
  16. 'group' => 'required',
  17. 'role_permissions' => array(
  18. 'aegir platform manager' => array(
  19. 'view package',
  20. ),
  21. 'aegir client' => array(
  22. 'view package',
  23. ),
  24. ),
  25. );
  26. return $features;
  27. }