Peter,
Thanks for the response.
I understand about Windows and quoting. I've tried a number of quoting options, all with the same result. When I applied your suggestion about escaping the backslashes, then ran the manifest, here's what I got:
Info: Caching catalog for
1pointmailer.netatlantic.comInfo: Applying configuration version '1438202725'
Notice: /Stage[main]/Win_autodiskclean/Exec[sageset.bat]/returns: The operation
completed successfully.
Notice: /Stage[main]/Win_autodiskclean/Exec[sageset.bat]/returns: The operation
completed successfully.
Notice: /Stage[main]/Win_autodiskclean/Exec[sageset.bat]/returns: The operation
completed successfully.
Notice: /Stage[main]/Win_autodiskclean/Exec[sageset.bat]/returns: The operation
completed successfully.
Notice: /Stage[main]/Win_autodiskclean/Exec[sageset.bat]/returns: The operation
completed successfully.
Notice: /Stage[main]/Win_autodiskclean/Exec[sageset.bat]/returns: The operation
completed successfully.
Notice: /Stage[main]/Win_autodiskclean/Exec[sageset.bat]/returns: The operation
completed successfully.
Notice: /Stage[main]/Win_autodiskclean/Exec[sageset.bat]/returns: The operation
completed successfully.
Notice: /Stage[main]/Win_autodiskclean/Exec[sageset.bat]/returns: The operation
completed successfully.
Notice: /Stage[main]/Win_autodiskclean/Exec[sageset.bat]/returns: The operation
completed successfully.
Notice: /Stage[main]/Win_autodiskclean/Exec[sageset.bat]/returns: The operation
completed successfully.
Notice: /Stage[main]/Win_autodiskclean/Exec[sageset.bat]/returns: The operation
completed successfully.
Notice: /Stage[main]/Win_autodiskclean/Exec[sageset.bat]/returns: The operation
completed successfully.
Notice: /Stage[main]/Win_autodiskclean/Exec[sageset.bat]/returns: The operation
completed successfully.
Notice: /Stage[main]/Win_autodiskclean/Exec[sageset.bat]/returns: The operation
completed successfully.
Notice: /Stage[main]/Win_autodiskclean/Exec[sageset.bat]/returns: The operation
completed successfully.
Notice: /Stage[main]/Win_autodiskclean/Exec[sageset.bat]/returns: The operation
completed successfully.
Notice: /Stage[main]/Win_autodiskclean/Exec[sageset.bat]/returns: The operation
completed successfully.
Notice: /Stage[main]/Win_autodiskclean/Exec[sageset.bat]/returns: The operation
completed successfully.
Notice: /Stage[main]/Win_autodiskclean/Exec[sageset.bat]/returns: The operation
completed successfully.
Notice: /Stage[main]/Win_autodiskclean/Exec[sageset.bat]/returns: The operation
completed successfully.
Notice: /Stage[main]/Win_autodiskclean/Exec[sageset.bat]/returns: The operation
completed successfully.
Notice: /Stage[main]/Win_autodiskclean/Exec[sageset.bat]/returns: The operation
completed successfully.
Notice: /Stage[main]/Win_autodiskclean/Exec[sageset.bat]/returns: The operation
completed successfully.
Notice: /Stage[main]/Win_autodiskclean/Exec[sageset.bat]/returns: The operation
completed successfully.
Notice: /Stage[main]/Win_autodiskclean/Exec[sageset.bat]/returns: The operation
completed successfully.
Notice: /Stage[main]/Win_autodiskclean/Exec[sageset.bat]/returns: The operation
completed successfully.
Notice: /Stage[main]/Win_autodiskclean/Exec[sageset.bat]/returns: The operation
completed successfully.
Notice: /Stage[main]/Win_autodiskclean/Exec[sageset.bat]/returns: The operation
completed successfully.
Notice: /Stage[main]/Win_autodiskclean/Exec[sageset.bat]/returns: The operation
completed successfully.
Notice: /Stage[main]/Win_autodiskclean/Exec[sageset.bat]/returns: executed succe
ssfully
Notice: Finished catalog run in 1.51 seconds
That's a success for each registry change in the batch file. Nonetheless, "cleanmgr /d c: /sageset:100" still shows none of the boxes checked. I've gotten the same results regardless of how I've used quotes (really misused quotes produce errors where flattening is very obvious).
I appreciate the suggestion about using the registry module, but it seems to me that being able to run simple, quickly created, batch files via Puppet should be easy to do. Â It's as much a matter of getting batch files to run as it is making this particular Disk Cleanup solution working.
Any other ideas?
Dimitri