Error: Could not find a suitable provider for dism

15 views
Skip to first unread message

Steve Tuttle

unread,
Apr 19, 2015, 10:34:49 PM4/19/15
to puppet...@googlegroups.com
So, I am wanting to ensure that the IIS-Webserver is present.  Seems like it should be easy enough.  I have installed https://forge.puppetlabs.com/puppetlabs/dism.  I have a class that looks something like this:

class someclass {
    dism {
                'IIS-Webserver': ensure => present,
     }
}

When I do puppet apply --noop tests/somefile.pp i get this error:

Error: Could not find a suitable provider for dism.


Obviously, I am missing something.  The dism module is installed, but it cannot be found when my class needs it.  If someone could enlighten me on how to sort this issue, i would be most appreciative.  It *should* work; but does not because my understanding is inadequate/incomplete.

Thank you.
Reply all
Reply to author
Forward
0 new messages