I'm getting the above error on a fresh install of a puppet master when trying to configure the replica master High Availability.
puppet version is 2019.1
[root@puppetmaster modules]# puppet infrastructure help
Error: Unknown Puppet subcommand 'infrastructure'
i've seen this question asked a couple of times by others now but can't find a solution