Ask Your Question
0

managing through web console or by files on disk

asked 2014-12-08 05:48:18 -0600

So I am slightly confused whether I should manage my nodes and there assigned classes by using the web console or by manipulating files on disk or a mixture of both.

If for example I add a node to the site.pp and assign a class to it this is not reflected in the web interface and so another user logging in their will not be aware of that assignment.

This also causes me a follow on question re: version control, now of course if I manipulate files on disk directly version control is easy I can just add these files to git/subversion and I am done. However what about if I decide that I want to do my node/group management within the web console how do I do version control in that case? Does editing the nodes in the web interface cause writes to files on disk somewhere os is this all in the DB?

Sorry I am missing something fundamental here but the two different interfaces not being synced together is I think rather confusing.

Thanks

Brett

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-12-10 01:35:34 -0600

GregLarkin gravatar image

Hi Brett, have a look at this page that goes into great detail about the different ways to classify nodes and the pros/cons of each: https://docs.puppetlabs.com/pe/latest/puppetassignconfigurations.html.

To answer your questions about version control and site.pp/PE console sync - the actions performed in the PE console are not version controlled anywhere in the file system. Also, there is no sync between classes assigned to nodes in site.pp and what appears in PE console and vice-versa. In fact, the classes from each data source are merged together to classify the node. See this page for more info: https://docs.puppetlabs.com/guides/external_nodes.html#what-is-an-enc

Hope that helps, Greg

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2014-12-08 05:48:18 -0600

Seen: 86 times

Last updated: Dec 10 '14