I am trying to install .net framework 4.5.2 using puppet module using exec resource instead of using Package resource due to some reason. I want to write a test case to check if it is installed or not. The only way I could find to check if it is installed or not is checking registry key.
I would like to know if I could write a test in rspec-puppet to check if registry exists or not?