/opt/puppetlabs/puppet/cache/state/classes.txt and duplicate entries !
perhaps someone stumbled upon the problem of double classes in classes.txt.
I searched for a possibility to list all classes that have been applied on a node.
So i read the manpage and found the config print option very useful.
puppet config print classfile gave me this:
Using cat and sort then printed all applied classes but all duplicates for my classes (not the default one !):
So i did a uniq.
Two questions arose:
1.) Is this an expected bahaviour ?
2.) Does the classfile show me only successfully applied classes or simply all classes defined for the host which is member of a group ?
Perhaps someone can shed a little light on this ?