Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

puppetlabs-f5 module: Could not autoload puppet/type/f5_node

I installed puppetlabs-f5 module and try to create node in site.pp (follow the sample in Puppet forge), but I encounter below error when executing puppet agent --test in proxy agent node:

Could not autoload puppet/type/f5_node: no such file to load -- puppet/parameter/f5_name

I have already classified the proxy agent node with class f5::site, under environment group F5. Also, I tried to restart the VM and the problem is still here.

Below please find the f5::site class:

class f5::site {

  f5_node { '/Common/puppet_master_node':
    ensure                          => 'present',
    address                         => '172.16.226.10',
    description                     => 'Local POC Puppet Master 1',
    availability_requirement        => 'all',
    health_monitors                 => ['/Common/icmp'],
  }->
  f5_pool { '/Common/puppet_master_pool':
    ensure                          => 'present',
    members                         => [
    { name => '/Common/puppet_master_1', port => '443', },
    ],
    availability_requirement        => 'all',
  }->
  f5_virtualserver { '/Common/puppet_master_vs':
    ensure                          => 'present',
    provider                        => 'standard',
    default_pool                    => '/Common/puppet_master_pool',
    destination_address             => '192.168.80.100',
    destination_mask                => '255.255.255.255',
    service_port                    => '443',
    protocol                        => 'tcp',
    source                          => '0.0.0.0/0',
  }

}

Do I miss anything in f5::site class?

Thanks.

Regards, Jessie Yeung