First, create the appropriate directories like
The text file,
hardware_tag.txt can have any metadata you'd like, as long as it's in a format that facter will read.
# hardware_tag.txt role=labmac building=nh room=101 dualboot=true
Then make the package
# creates the pkg according to the makefile build instruction make ROLE=some_role # imports the out/puppet-tag-some_role.pkg into munki make munki