Created
July 14, 2014 20:41
-
-
Save stack72/9d216e0251bab3bb8956 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class powershell::params { | |
case downcase($::osfamily) { | |
'windows': { | |
case $::kernelmajversion { | |
'6.0': { | |
case $architecture { | |
'x64': { | |
} | |
'x86': { | |
} | |
default: { | |
fail("${::osfamily} ${::operatingsystem} ${::architecture} not supported") | |
} | |
} | |
} | |
'6.1': { | |
case $architecture { | |
'x64': { | |
} | |
'x86': { | |
} | |
default: {- | |
fail("${::osfamily} ${::operatingsystem} ${::architecture} not supported") | |
} | |
} | |
'6.3': { | |
case $architecture { | |
'x64': { | |
} | |
'x86': { | |
} | |
default: { | |
fail("${::osfamily} ${::operatingsystem} ${::architecture} not supported") | |
} | |
} | |
} | |
default: { | |
fail("${::osfamily} ${::operatingsystem} not supported") | |
} | |
} | |
} | |
default: { | |
fail("${::osfamily} not supported") | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment