On 21/07/17 08:39, Vikram Varma wrote:
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.


Can you run that with a --trace
you will then get the full stack trace which will reveal more about what is going on.

Best,
- henrik

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 [email protected] <mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/de9264fb-d083-41f5-af61-ff846c0fafe9%40googlegroups.com <https://groups.google.com/d/msgid/puppet-users/de9264fb-d083-41f5-af61-ff846c0fafe9%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.


--

Visit my Blog "Puppet on the Edge"
http://puppet-on-the-edge.blogspot.se/

--
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/olaehn%24smp%242%40blaine.gmane.org.
For more options, visit https://groups.google.com/d/optout.

Reply via email to