Skip to content
This repository was archived by the owner on Aug 21, 2020. It is now read-only.
This repository was archived by the owner on Aug 21, 2020. It is now read-only.

Transport resource not being found #219

@willtome

Description

@willtome

When I install the module on a node and puppet apply the following code everything works fine.

transport{'vcenter':
	username => 'administrator@vsphere.local',
	password => $pass,
	server	 => 'vcenter.domain.local',
	options  => { 'insecure' => true },
}
vc_folder{'/DC1/Folder':
	ensure => present,
	transport => Transport['vcenter'],
}

When the code is moved to a master and a puppet agent -t is run, the following error is thrown.

Error: /Stage[main]/Profile::Vsphere/Vc_folder[/DC/Folder]: Could not evaluate: Invalid transport Transport[vcenter] provided for Vc_folder[/DC/Folder]

I'm unsure where to begin to troubleshoot this further. Is anyone else using this in a master, agent configuration? Has this error been seen before?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions