Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provider not working on Ubuntu 14.04 LTS ? #88

Closed
mvisonneau opened this issue Oct 20, 2014 · 4 comments
Closed

Provider not working on Ubuntu 14.04 LTS ? #88

mvisonneau opened this issue Oct 20, 2014 · 4 comments

Comments

@mvisonneau
Copy link

I am unable to get it working on an Ubuntu 14.04 LTS :

puppet resource network_route ensure=present netmask=16 interface=eth0 network=10.2.0.0 gateway=10.1.0.1

Error: Could not find a suitable provider for network_route
Error: Could not run: No ability to determine if network_route exists

Forcing the provider :
puppet resource network_route ensure=present netmask=24 interface=eth0 network=10.2.0.0 gateway=10.1.0.1 provider=routes

Error: /Network_route[ensure=present]: Provider routes is not functional on this host
Error: Could not run: Provider routes is not functional on this host

Does someone face the same issue ?

@bountin
Copy link

bountin commented Nov 2, 2014

Same issue on Ubuntu 12.04.5 :(

root@foo:~# puppet resource network_route 10.0.13.0 ensure=present netmask=24 interface=eth1 gateway=10.0.0.1 provider=routes
Error: /Network_route[10.0.13.0]: Provider routes is not functional on this host
Error: Could not run: Provider routes is not functional on this host

@adrienthebo
Copy link
Member

have you installed the ifupdown-extra package?

@mvisonneau
Copy link
Author

Thank you that was it..! Next time I'll RTFM

puppet resource network_route ensure=present netmask=16 interface=eth0 network=10.2.0.0 gateway=10.1.0.1

Notice: /Network_route[ensure=present]/ensure: created
network_route { 'ensure=present':
  ensure    => 'present',
  gateway   => '10.1.0.1',
  interface => 'eth0',
  netmask   => '255.255.0.0',
  network   => '10.2.0.0',
}

@bountin
Copy link

bountin commented Nov 5, 2014

Thanks! I really didn't see the dependency on the page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants