Q:

On MacOS X, can I configure Wifi from Puppet or the command line?

I would like to create entries for the company's Wifi in every Mac via Puppet.   Is this possible?  (or if it is possible from the command line, I can figure out how to do it in Puppet)

A:

You can also use profiles via CLI. This is totally unattended and if your profile requires any user input it will fail to install.
I've successfully deployed WiFi networks via Puppet using this method.
The command to install a profile is:
sudo profiles -I -F /path/to/profile.mobileconfig
Running as sudo/root will install the profile as a Device Profile and affects all users while installing as the current user will just install it as a User profile thus just affecting the User which ran the command.
Further information here

