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.
 
 
 

34 lines
918 B

  1. # == Class: megacli::params
  2. #
  3. class megacli::params {
  4. case $::osfamily {
  5. 'Debian': {
  6. if $::operatingsystem == 'Debian' {
  7. # Repository
  8. $repo_ensure = present
  9. $repo_url = 'http://hwraid.le-vert.net/debian/'
  10. $repo_suite = $::lsbdistcodename
  11. $repo_key = '23B3D3B4'
  12. $repo_key_server = 'keyserver.ubuntu.com'
  13. $repo_include_src = false
  14. $repos = 'main'
  15. # Packages
  16. $pkg_ensure = present
  17. $pkg_name = [ 'megacli' ]
  18. }
  19. }
  20. default: {
  21. 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.")
  22. }
  23. }
  24. } # Private class: megacli::params