Hi All,

I am getting the following error wheile running "puppet apply -v 
d:\default.pp" 

Error: Could not autoload puppet/type/dism: Attempt to redefine method 
set_present with block
Error: Evaluation Error: Error while evaluating a Resource Statement, Could 
not autoload puppet/type/dism: Attempt to re
define method set_present with block at 
C:/ProgramData/PuppetLabs/code/modules/chocoserver/manifests/init.pp:8:3 on 
node
 server.com

The piece of code where my error is referring is at: 

  dism { 'IIS-WebServerRole':
    ensure => present,
  }

I am using puppet opensource 4.10 on Windows server 2012 server.

Any quick response would be appreciated.

Thanks,
Vikram

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/de9264fb-d083-41f5-af61-ff846c0fafe9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to