Import a puppet manifest from the node itself?

Posted by bobinabottle on Server Fault See other posts from Server Fault or by bobinabottle
Published on 2011-11-30T07:50:18Z Indexed on 2011/11/30 10:04 UTC
Read the original article Hit count: 368

Filed under:

I have a somewhat unique situation. Our systems team manages our main puppet master, and the development team is fine with everything however they are thinking of using it to control some elements on their desktop machines, whilst still being connected to our central puppet master.

Since we don't want the changes they make to go into our puppet master.. is there a way of puppet importing a manifest from the node directly?

As in.. on the developer machine, they put a file "/root/development.pp" or something, and then on our puppet master we put something like

node { "developermachine":
  # Do the majority of normal things
  # import "/root/development.pp"
}

We have a few different options we can take about security of write access to the puppet manifests, but if puppet were to support something like this it would probably be the cleanest for us.

Any help is appreciated :)

© Server Fault or respective owner

Related posts about puppet