I am attempting to do the following in puppet:
package { 'bower':
ensure => present,
provider => 'npm',
require => Class['nodejs'],
before => [ Exec['npm_install'], Exec['grunt_build'] ],
}
This gives me the error:
err: Failed to apply catalog: Parameter provider failed on Package[bower]: Invalid package provider 'npm' at
I have tried using both puppetlabs-nodejs and willdurand-nodejs without success and have also manually installed npm then tried to apply the above.