Attempt to assign to a reserved variable name: 'trusted'
After upgrading to puppet 4 my master can no longer perform a puppet run for itself ( neither a puppet apply )
It gives the following error:
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Attempt to assign to a reserved variable name: 'trusted' on node xxxxxxxxxx Warning: Not using cache on failed catalog Error: Could not retrieve catalog; skipping run
I tried many things but i found that since puppet 4 the option "trustednodedata" is now on by default and cannot be turned off either.
the strange thing is that in my classes i do not use that $trusted variable anywhere. I do however see that puppet added a fact for this node called trusted in the fact yaml ( however.. when i run facter i cannot find this variable)
all other nodes using this master don't have this fact and also have no problem doing their puppet runs. they also share the same modules with the master ( small starter setup so not alot of modules yet..)
anyone has a clue what i'm doing wrong?