Issue #6683 has been updated by James Turnbull.

Priority changed from Normal to High


----------------------------------------
Bug #6683: Default provider still called even if provider specified
https://projects.puppetlabs.com/issues/6683#change-60160

Author: Brian Simons
Status: Accepted
Priority: High
Assignee: 
Category: provider
Target version: 2.7.x
Affected Puppet version: 
Keywords: apache puppetlabs-apache module
Branch: 


I'm using puppetlabs-apache 0.0.3 available at 
http://forge.puppetlabs.com/puppetlabs/apache.

I can create the following config:
<pre>
   /etc/puppet/manifests/nodes.pp:
          
         node 'ubuntu-testing.verite.com' {
                 include apache
          
                 @a2mod { 'ssl': ensure => present; }
                 realize A2mod['ssl']
          
         }
</pre>
And on a new ubuntu server install with only ssh and puppet installed, if I try 
to run that manifest with "puppetd --test" I get:
<pre>
root@ubuntu-testing:~# puppetd --test
info: Retrieving plugin
info: Caching catalog for ubuntu-testing.verite.com
err: Could not run Puppet configuration client: Could not find a default 
provider for a2mod
</pre>
If I manually install apache2, I do not get this error, and everything works 
just great. For some reason, puppet isn't seeing that apache2 needs to be 
installed before it tries to look for a2enmod and a2dismod.

Help?


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to