do i need a site.pp if im using hiera?

asked 2018-03-22 12:33:01 -0500

kmhuntly gravatar image

do i still need a manifests/site.pp if i'm using hiera? for example, if i have production/data/nodes/nodename.yaml, an appropriately configured hiera.yaml in production/, do i still need to define nodes in production/manifest/site.pp?

edit retag flag offensive close merge delete


Are you using the console as the enc? Hiera is used for data. You have to classify the nodes configuration somewhere so puppet knows what to enforce. You can put all the configurations in hiera, but you still have to call that somewhere. For example doing a lookup in site.pp

ffalor gravatar imageffalor ( 2018-04-01 17:32:12 -0500 )edit