On Tue, Jun 7, 2016 at 12:15 PM, Andrew <tisb...@gmail.com> wrote: > I have encountered a problem when running puppet on Windows. My > environment is as follows: > > Puppet master: > CentOS 6.5 > puppetserver 2.3.1 > > Client: > Windows 2012 R2 > Puppet 3.8.7 > > What happens: > > I provision a machine with razor and wait for the first Puppet run to > complete. After puppet is finished, most resources from the manifests have > been applied, but not all. I have looked in the local catalog, and the > unapplied resources are present in the catalog. I can let Puppet run > automatically as many times as I wish, and the resources will not be > applied. However, if I open PowerShell or cmd and run "puppet agent -t" the > remaining resources get applied as I would expect. There are some Puppet > errors in the Windows event viewer, but they are not errors for the > unapplied resources, and I do not do anything to address these errors > before I run Puppet manually, so they seem unrelated. >
It would be good to get what you can provide for examples of things not applied and what the output of --debug --trace --verbose into a log (minus any sensitive data of course). Some general things to consider: - The Puppet service by default runs under SYSTEM, and puppet agent -t is running under the context of the user. - The Puppet service is running with administrative permissions by default. You should also be running cmd.exe/PowerShell in an administrative (elevated) shell. > > Any help would be greatly appreciated. > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to puppet-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/puppet-users/7658784c-5e04-4eb3-8c8c-e10d02de613e%40googlegroups.com > <https://groups.google.com/d/msgid/puppet-users/7658784c-5e04-4eb3-8c8c-e10d02de613e%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Rob Reynolds Developer, Puppet PuppetConf 2016 <http://2016.puppetconf.com/>, October 17-21, San Diego, California *Early Birds save $350* <https://www.eventbrite.com/e/puppetconf-2016-october-17-21-tickets-18750712887?discount=EarlyBird> - Register by June 30th -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAMJiBK6adBP9S6%3DgGeK1%2BnKqcaz-w8doCg1hqRBb1HHOu8K99A%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.