Now, it just enables Hyper-V (and tools, make it optional?) and restart the computer if it's required.
Also, I've done some refactoring in commands.pp, I've extracted the add_windows_feature/remove_windows_feature to its own define file base\windows_feature.pp. With this modification, the features are defined according to the followin structure:
Hi,
I've created a new hyper_v.pp to install & configure Hyper-V, my idea is to use this new class as the init.pp of the future Hyper-V module.
Now, it just enables Hyper-V (and tools, make it optional?) and restart the computer if it's required.
Also, I've done some refactoring in commands.pp, I've extracted the add_windows_feature/remove_windows_feature to its own define file base\windows_feature.pp. With this modification, the features are defined according to the followin structure:
It follows the rules mentioned here: http://docs.puppetlabs.com/puppet/3/reference/lang_defined_types.html
Is it ok for you?