When I run puppet test on my manifests using puppet-python:
puppet apply --noop --modulepath=modules manifests\default.pp
I just need to verify that puppet builds the correct catalog etc. but instead I get a Module is not compatible with windows error.
This is a common scenerio when using vagrant+puppet on windows to provision a virtual linux machine.
The problem comes from this code in init.pp:
$compatible = [ 'Debian', 'Ubuntu', 'CentOS', 'RedHat' ]
if ! ($::operatingsystem in $compatible) {
fail("Module is not compatible with ${::operatingsystem}")
}
Let me make my self clear This is a complete valid failure when running puppet apply on windows without the --noop flag.
But this shouldn't fail on a test scenerio. Maybe when --noop is on puppet arguments the module should notify but not fail.
When I run puppet test on my manifests using puppet-python:
puppet apply --noop --modulepath=modules manifests\default.ppI just need to verify that puppet builds the correct catalog etc. but instead I get a
Module is not compatible with windowserror.This is a common scenerio when using vagrant+puppet on windows to provision a virtual linux machine.
The problem comes from this code in init.pp:
Let me make my self clear This is a complete valid failure when running puppet apply on windows without the
--noopflag.But this shouldn't fail on a test scenerio. Maybe when --noop is on puppet arguments the module should
notifybut not fail.