Sharing setup and script between machines

Kernels & Hardware, configuring network, installing services

Sharing setup and script between machines

Postby kjetilk » 2017-09-05 13:35

So, I'm sure there is a pretty standard solution for this, since it is common in large office environments, but my google-fu is failing me.

The situation is simple: I have a few boxes in a relatively homogeneous enviroment, mostly Debian Stretch, but I have Mint install and a MythBuntu box, but I'd like a few things to behave the same on all and have a single point to update. That is, it'll be a few scripts, the emacs setup, the bash profile, etc.

I've been thinking that I put it on my fileserver as a separate share (possibly rsyncing to the laptop and the DMZ), and add a simple script to add the share to
Code: Select all
$PATH
in
Code: Select all
/etc/profile.d/
, and similarly create a
Code: Select all
/usr/local/share/emacs/site-lisp/site-start.el
, or something like that.

Does this sound reasonable?
kjetilk
 
Posts: 8
Joined: 2014-11-13 15:00

Re: Sharing setup and script between machines

Postby cronoik » 2017-09-05 14:03

Have you already considered a config management system like salt [1] or all the others (Ansible, Puppet, Chef...) where I'm not aware of the features.

[1] https://saltstack.com/
Have a nice day!
cronoik
 
Posts: 223
Joined: 2015-05-20 21:17

Re: Sharing setup and script between machines

Postby kjetilk » 2017-09-05 20:08

Many thanks for the quick reply!

I have to admit that I haven't considered them, but they sound like massive overkill. I'm the only real user, though the rest of the family may benefit somewhat...
kjetilk
 
Posts: 8
Joined: 2014-11-13 15:00


Return to System configuration

Who is online

Users browsing this forum: No registered users and 6 guests

fashionable