Hey Rob, Sorry I have officially taken over the puppet management that Andrew used to do. Some examples of things not being applied are applications such as git, also registry changes are not getting applied, like pinning various applications to the task bar.
With the general things to consider: - When we run puppet agent -t we run it under the Administrator user, so could that be the issue?? - We do use PowerShell in an elevated shell. On Friday, June 17, 2016 at 1:42:21 PM UTC-6, Rob Reynolds wrote: > > > > On Tue, Jun 7, 2016 at 12:15 PM, Andrew <tis...@gmail.com <javascript:>> > 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...@googlegroups.com <javascript:>. >> 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/6b3884c6-be0f-4d0c-8ec8-441d8764f449%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.