I was creating a masterless puppet agent on a fresh Windows 8 installation, so I installed the Puppet agent with the following command line;
Then I tried to run a Puppet Apply with the following command line;
However i received an error that it could not created resources.dot. It was trying to create it in C:\ProgramData\PuppetLabs\puppet\var\state\graphs which looks like the expected place, however the directory structure was incomplete. Only C:\ProgramData\PuppetLabs\puppet\var existed. If I manually created this directory (MD C:\ProgramData\PuppetLabs\puppet\var\state\graphs) and then ran Puppet Apply it executed fine.
It seems like that the code that creates the resources.dot file does not check for the existence of the dependent directory structure first.