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 <andyjohnh...@gmail.com> 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/0D2F8D49-E750-42D7-8E8A-F50B7D0260B2%40puppet.com.

Reply via email to