Created
October 9, 2013 11:37
-
-
Save igalic/6899881 to your computer and use it in GitHub Desktop.
Can't convert string to Integer: The code can be found here: https://github.com/igalic/puppet-libvirt/blob/hiera/manifests/init.pp
https://github.com/igalic/puppet-libvirt/blob/hiera/manifests/network.pp
https://github.com/igalic/puppet-libvirt/blob/hiera/templates/network.xml.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
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 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 # |
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
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