Node properties are not being synchronized on the node itself until promises are created/modified
As specified in the documentation, node properties are synchronized on the node (in /var/rudder/cfengine-community/inputs/properties.d) when the promises are being generated/updated.
However if node properties are changed, and no other promises are being created or modified, the node properties won't get updated, even when trying to force updating the agent promises (rudder agent update -f && rudder agent run).
This is an issue when node properties are being used in current promises, as they will still map to the old values.
Updated by François ARMAND over 4 years ago
Thanks for the detailed report, it is much appreciated.
Node properties should start a promise generation, because as of http://www.rudder-project.org/redmine/issues/6733, they may be used in directive. As you discovred, it is the policy generation process that is responsible for creating/updating values in inputs/properties.d.
The problem will be corrected in next minors. As of their release, you can force a regeneration by going to Administration -> settings and "clear cache".