Hi, I'm trying to categorize our Puppet agent nodes via custom facts. To do this, I've placed a simple text file "custom_facts.txt" into C:\ProgramData\PuppetLabs\facter\facts.d with content [facts] role = PuppetDev When I call facter on the agent node, I can see the new fact. On the server, I've added a line - "role/%{::role}" into /etc/hiera.yaml, below the :hierarchy: line and restarted the master. Finally, I've added /etc/puppet/hiera/role/PuppetDev.yaml with content --- puppet_agent::version: 3.4.3 while /etc/puppet/hiera/common.yaml has puppet_agent::version: 3.4.2 To verify that the correct version is delivered, I run hiera puppet_agent::version ::role=PuppetDev and get the correct version (3.4.3) back. However, when I run the puppet agent on the node, it has role unset and thus it doesn't try to update the puppet agent. What am I doing wrong here? Master is 3.4.3, agents are 3.4.2. Thanks... Dirk -- *Dirk Heinrichs*, Senior Systems Engineer, Engineering Solutions *Recommind GmbH*, Von-Liebig-Straße 1, 53359 Rheinbach *Tel*: +49 2226 1596666 (Ansage) 1149 *Email*: dhs@recommind.com <mailto:dhs@recommind.com> *Skype*: dirk.heinrichs.recommind www.recommind.com <http://www.recommind.com> http://www.recommind.com -- 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+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/531ED4B8.5060001%40recommind.com. For more options, visit https://groups.google.com/d/optout.