Ask Your Question
0

Attempt to assign to a reserved variable name: 'trusted' on node

asked 2016-04-29 09:08:19 -0500

sigmike gravatar image

I enabled trusted_node_data on a working server to get structured facts and now the clients raise this error when I run the agent:

Attempt to assign to a reserved variable name: 'trusted' on node xxx

I read PDB-949, PDB-2628 and this similar question but none of the suggested solutions work. My routes.yaml seems good, and the time on my servers is synchronized.

The problem also happens when I try to compile the catalog with puppet master --compile.

I understand from the above tickets this probably happens because the master gets the facts from PuppetDB whereas it should never do that. But how can I figure out why it does that? Running the compilation with --debug doesn't give much information.

I'm using PuppetDB but the trusted values are also stored in /var/lib/puppet/yaml/node/xxx.yaml and /var/lib/puppet/yaml/facts/xxx.yaml. Is this normal?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-05-01 08:37:15 -0500

kylo gravatar image

If the puppet version is < 4.3.0, you may be running into PUP-5441.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2016-04-29 09:08:19 -0500

Seen: 236 times

Last updated: Apr 29 '16