included class is tagged by only one including class

asked 2015-04-24 09:38:55 -0600

HBlock gravatar image

updated 2015-04-24 09:39:17 -0600

Hi there.

I've got some profiles classes that include the same classes. Sometimes I only want to update one of the profiles so I run puppet with --tags profileX. Recently I discovered that classes that are included by more than one profile are not tagged with all the profile classes' names but only with one of them. I did not find anything specific in the documentation ( ) so I thought I might ask here. It seems to me like a bug. Any suggestions?

We're running puppet 3.7 btw.

Thank you very much. Henning

edit retag flag offensive close merge delete


I can't help you, but I'm interested in the resolution of this, so I'll follow...

JohnsonEarls gravatar imageJohnsonEarls ( 2015-04-24 09:50:28 -0600 )edit

HBlock, can you post a link to a pastebin of a code sample that illustrates the problem? If I use the tag() function in a class, then include another class into that class, running puppet with the --tags option seems to work as expected.

GregLarkin gravatar imageGregLarkin ( 2015-04-24 16:39:54 -0600 )edit