title: Puppet : How to execute a single class?
body: <p>I use Puppet in a master -> agent model. My manifests are stored on the master and as a quick test I execute <code>puppet agent -t</code> on my agent to trigger a Puppet run.  </p>
  
  <p>Over time, my manifests have grown quite large and I am looking for the ability to only execute a single class say <code>mycompany.someclass.class</code></p>
  
  <p>I have attempted a number of variations based on google searches but none have worked</p>
  
  <pre>
  puppet agent --tags mycompany.someclass.class
  puppet agent --tags "mycompany.someclass.class"
  
  puppet agent --tags Mycompany.Someclass.Class
  puppet agent -t --tags "Mycompany.Someclass.Class"
  
  puppet agent -t --tags Mycompany.Someclass.Class
  puppet agent --tags Mycompany.Someclass.Class
  
  puppet apply --tags mycompany.someclass.class
  puppet apply --tags Mycompany.Someclass.Class
  
  </pre>