DIST := "ubuntu:latest" FACTS_YAML := global/overlay/etc/puppet/static-cosmos-facts.yaml cosmos: fab all cosmos upgrade: fab upgrade tag: ./bump-tag test_in_docker: docker run --rm -it \ -v ${CURDIR}:/multiverse:ro \ \ $(DIST) /multiverse/scripts/test-in-docker.sh static-facts: @echo @echo Facts: @echo "-------------------------------------------------------------------------------" mkdir -p $(dir ${FACTS_YAML}) ./scripts/cosmos-facts \ --dirs .komreg.net \ --classesfile cosmos-rules.yaml \ --ignore_nonexistent \ --roles metadata/roles-in.yaml \ --outfile ${FACTS_YAML} git add ${FACTS_YAML} metadata/roles-in.yaml git diff --cached ${FACTS_YAML} metadata/roles-in.yaml