Puppet module to install Megacli
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

25 lines
737 B

  1. # == Class: megacli::repo
  2. #
  3. # Add a repository to install Megacli
  4. #
  5. class megacli::repo {
  6. case $::osfamily {
  7. 'Debian': {
  8. apt::source {'megacli':
  9. ensure => $megacli::repo_ensure,
  10. location => $megacli::repo_url,
  11. release => $megacli::repo_suite,
  12. repos => $megacli::repos,
  13. include_src => $megacli::repo_include_src,
  14. key => $megacli::repo_key,
  15. key_server => $megacli::repo_key_server,
  16. }
  17. }
  18. default: {
  19. fail("Osfamily (${::osfamily}) or lsbdistid (${::lsbdistid}) is not yet unsupported. Please send a mail or check https://git.101010.fr/puppet/megacli/issues if you want a support.")
  20. }
  21. }
  22. } # Private class: megacli::repo