Skip to content

Duplicate declaration: Service[undef] is already declared in file virt/manifests/init.pp. #11

@wica128

Description

@wica128

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 :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions