Skip to content

Instantly share code, notes, and snippets.

@igalic
Created October 9, 2013 11:37
Show Gist options
  • Save igalic/6899881 to your computer and use it in GitHub Desktop.
Save igalic/6899881 to your computer and use it in GitHub Desktop.
---
libvirt::networks_defaults:
autostart: true
libvirt::networks:
pxe:
forward_mode: nat
ip:
address: 192.168.122.1
prefix: 24
dhcp:
start: 192.168.122.2
end: 192.168.122.254
bootp_file: pxelinux.0
host-bridge:
forward_mode: bridge
bridge: virbr1
Debug: template[/etc/puppet/environment/testing/bricks/libvirt/templates/network.xml.erb]: Bound template variables for /etc/puppet/environment/testing/bricks/libvirt/templates/network.xml.erb in 0.00 seconds
Error: Failed to parse template libvirt/network.xml.erb:
Filepath: /etc/puppet/environment/testing/bricks/libvirt/templates/network.xml.erb
Line: 20
Detail: can't convert String into Integer
at /etc/puppet/environment/testing/bricks/libvirt/manifests/network.pp:90 on node steak.esat
Error: Failed to parse template libvirt/network.xml.erb:
Filepath: /etc/puppet/environment/testing/bricks/libvirt/templates/network.xml.erb
Line: 20
Detail: can't convert String into Integer
at /etc/puppet/environment/testing/bricks/libvirt/manifests/network.pp:90 on node steak.esat
root@steak /etc/puppet #
@juasiepo
Copy link

Hi @igalic,

I am facing the same problem. Did you find a way to workaround this? Or even better, a permanent solution?

Thanks for your time

@juasiepo
Copy link

Hi,

I have found your fix on:
http://irc-logs.puppetlabs.com/puppet/%23puppet-2013-10-09.log.html
thias/puppet-libvirt#9

Big brother is watching you 😄

Regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment