windowfeature - unknown resource type

asked 2018-02-14 09:37:02 -0500

updated 2018-02-15 07:39:55 -0500

DarylW gravatar image

I'm getting 'unknown resource type: 'windowsfeature' while applying a mainfest file to setup iis. I can confirm that I've installed the relevant modules as given below.

    amazon-ebs: C:\Users\WinrmUser>cmd /c puppet module list
    amazon-ebs: C:/ProgramData/PuppetLabs/code/environments/production/modules
    amazon-ebs: ├── puppet-windowsfeature (←[0;36mv3.1.0←[0m)
    amazon-ebs: └── puppetlabs-iis (←[0;36mv4.3.0←[0m)
    amazon-ebs: C:/ProgramData/PuppetLabs/code/modules (no modules installed)
    amazon-ebs: C:\Users\WinrmUser>cmd /c puppet apply --verbose --modulepath C:\Aviva\puppet\modules C:\Aviva\puppet\manifests\site.pp  1>>C:\Aviva\puppet\puppetapply1.log
    amazon-ebs: ←[1;31mError: Evaluation Error: Error while evaluating a Resource Statement, Unknown resource type: 'windowsfeature' (file: C:/Aviva/puppet/manifests/site.pp, line: 25
, column: 1) on node win-ousfu4876f7.eu-west-1.compute.internal←[0m
    amazon-ebs: ←[1;31mError: Evaluation Error: Error while evaluating a Resource Statement, Unknown resource type: 'windowsfeature' (file: C:/Aviva/puppet/manifests/site.pp, line: 25
, column: 1) on node win-ousfu4876f7.eu-west-1.compute.internal←[0m
edit retag flag offensive close merge delete