So here's a strange one....we rebooted the server and the problem has stopped. I think some of the puppetserver instances were not running properly....which is why it was intermittent....but hey all OK now. Thanks.
On Thursday, July 16, 2020 at 3:55:54 PM UTC+1, Becca Robinson wrote: > > Hi Andy, > > I haven’t seen this before, but I have a thought. > Have you tried removing the new line at the end so the closing of the > package resource collector isn’t on a new line? > > Similar to this? > > > if("${rhsmtrue}" and $::operatingsystem == 'RedHat'){ > Rhsm_register <| |> > -> Yumrepo <| |> > -> Package <| provider != ‘rpm' |> > } > else{ > Yumrepo <| |> -> Package <| provider != 'rpm' |> > } > > -- > *Becca Robinson* > > > > > On Jul 16, 2020, at 2:14 AM, Andy Hall <andyjo...@gmail.com <javascript:>> > wrote: > > if("${rhsmtrue}" and $::operatingsystem == 'RedHat'){ > Rhsm_register <| |> -> Yumrepo <| |> -> Package <| provider != 'rpm' > |> <-- THIS IS THE LINE IN QUESTION > } > else{ > Yumrepo <| |> -> Package <| provider != 'rpm' |> > } > > > -- 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/cf1b9844-6912-4c8a-a2b2-b56bd8822e32o%40googlegroups.com.