Running puppet node exports --resources haproxy::balancermember returned no rows. Changing capitalizations to Haproxy::Balancermember or Haproxy::balancermember did not return rows either.
By not capitalizing the resource, the caller is responsible for the correct capitalization, but also ensures we can find any resource. For example:
Running
puppet node exports --resources haproxy::balancermember
returned no rows. Changing capitalizations toHaproxy::Balancermember
orHaproxy::balancermember
did not return rows either.By not capitalizing the resource, the caller is responsible for the correct capitalization, but also ensures we can find any resource. For example:
But trying to find the resource using
--resources
did not work:But resources with a single word work just fine:
After removing the call to
#capitalize
, one can find any resource: