You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"err: Could not retrieve catalog from remote server: Error 400 on SERVER: Duplicate declaration: Service[undef] is already declared in file /etc/puppet/modules/virt/manifests/init.pp at line 18; cannot redeclare at /etc/puppet/modules/virt/manifests/init.pp:23 on node example.com"
I solve this by changing "service { $servicename:" to "service { $virt::params::servicename:" in file /etc/puppet/modules/virt/manifests/init.pp.
Almost forgot, thnx for the work :)
The text was updated successfully, but these errors were encountered:
On ubuntu 12.04 LTS the init script is called libvirt-bin.
I do not know how the change params.pp correct. So my workaround (I have only ubuntu systems on puppet) is changing
"/^physical|^kvm/: {
$servicename = 'libvirtd'"
Hi,
puppet: 2.7.18
ubuntu: 12.04 LTS
puppet-virt: git, today
I had a issue with virt/manifests/init.pp
"err: Could not retrieve catalog from remote server: Error 400 on SERVER: Duplicate declaration: Service[undef] is already declared in file /etc/puppet/modules/virt/manifests/init.pp at line 18; cannot redeclare at /etc/puppet/modules/virt/manifests/init.pp:23 on node example.com"
I solve this by changing "service { $servicename:" to "service { $virt::params::servicename:" in file /etc/puppet/modules/virt/manifests/init.pp.
Almost forgot, thnx for the work :)
The text was updated successfully, but these errors were encountered: