I've got a number of systems with a standard/minimal install of opensuse 10.1. I need to make a significant number of minor modifications, create userids, install other packages, edit syslog-ng.conf, create directories, edit postfix config files etc. I need to repeat this exercise both now and quite likely in the future when new systems are added to this farm. Would building an RPM package be the right/easiest way to have all these various changes done in one fell swoop? /Per Jessen, Zürich -- http://www.spamchek.com/ - managed email security. Starting at CHF5.00/month/user.
I've got a number of systems with a standard/minimal install of opensuse 10.1. I need to make a significant number of minor modifications, create userids, install other packages, edit syslog-ng.conf, create directories, edit postfix config files etc.
I need to repeat this exercise both now and quite likely in the future when new systems are added to this farm.
What about making a bash script? I personally use it to perform the same hardening&customisation steps on all the servers (skeletron, ssh configuration, alias, rpms removal...). Kind regards, Gaël
Gaël Lams wrote:
I've got a number of systems with a standard/minimal install of opensuse 10.1. I need to make a significant number of minor modifications, create userids, install other packages, edit syslog-ng.conf, create directories, edit postfix config files etc.
I need to repeat this exercise both now and quite likely in the future when new systems are added to this farm.
What about making a bash script? I personally use it to perform the same hardening&customisation steps on all the servers (skeletron, ssh configuration, alias, rpms removal...).
Yeah, that had occurred to me too, but then I thought of rpm as a possible alternative. It's probably the same amount of work. /Per Jessen, Zürich
Per Jessen wrote:
I've got a number of systems with a standard/minimal install of opensuse 10.1. I need to make a significant number of minor modifications, create userids, install other packages, edit syslog-ng.conf, create directories, edit postfix config files etc.
I need to repeat this exercise both now and quite likely in the future when new systems are added to this farm.
Would building an RPM package be the right/easiest way to have all these various changes done in one fell swoop?
I would look at cfengine, this seems to be the better tool for big parts of that job, maybe all except the installation of additional packages -- not suprisingly, as it was made for netwide system configuration. It also enables you to do changes to the already installed systems later on, what rpm does not support. http://www.cfengine.org/ Joachim -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Joachim Schrod Email: jschrod@acm.org Roedermark, Germany
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Tuesday 2006-10-17 at 12:52 +0200, Per Jessen wrote:
I've got a number of systems with a standard/minimal install of opensuse 10.1. I need to make a significant number of minor modifications, create userids, install other packages, edit syslog-ng.conf, create directories, edit postfix config files etc.
I need to repeat this exercise both now and quite likely in the future when new systems are added to this farm.
What about autoyast? If they are new installs... - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFFNM+/tTMYHG2NR9URAlObAJ9ivYk3AjgR5WYfW2XT3pjvUZbe8wCfWEqR sqjPRTbkmT1zVwvigDaAY8g= =FowG -----END PGP SIGNATURE-----
On Tuesday 17 October 2006 14:42, Carlos E. R. wrote:
The Tuesday 2006-10-17 at 12:52 +0200, Per Jessen wrote:
I've got a number of systems with a standard/minimal install of opensuse 10.1. I need to make a significant number of minor modifications, create userids, install other packages, edit syslog-ng.conf, create directories, edit postfix config files etc.
I need to repeat this exercise both now and quite likely in the future when new systems are added to this farm.
What about autoyast? If they are new installs...
I was thinking of this too. Per should really give this some consideration. Install autoyast, and have a look in the /usr/share/doc/packages/autoyast/ directory. On the GRUB prompt one could do: install=http://www.example.com/path/to/opensuse/10.1 autoyast=http://ay.example.com/path/to/autoyast-files/ or install=http://www.example.com/path/to/opensuse/10.1 autoyast=http://ay.example.com/path/to/autoyast-file.xml Cheers, Leen
Leendert Meyer wrote:
What about autoyast? If they are new installs...
I was thinking of this too. Per should really give this some consideration. Install autoyast, and have a look in the /usr/share/doc/packages/autoyast/ directory. On the GRUB prompt one could do:
I have had a look at autoyast, but my requirement is to start with a default system, then run a script/something and do a whole of things to create the environment I need. Typically the system will be installed with a default image by a provider. Ian Marlier did suggest it might be worth looking into if I could install these systems using autoyast, but I'm leaning towards cfengine as suggested by others - looks like more of a long-term management system. /Per Jessen, Zürich
On Tuesday 17 October 2006 20:42, Per Jessen wrote:
Leendert Meyer wrote:
What about autoyast? If they are new installs...
I was thinking of this too. Per should really give this some consideration. Install autoyast, and have a look in the /usr/share/doc/packages/autoyast/ directory. On the GRUB prompt one could do:
I have had a look at autoyast, but my requirement is to start with a default system, then run a script/something and do a whole of things to create the environment I need. Typically the system will be installed with a default image by a provider.
Aha, seems you need some kind of run-once script?
Ian Marlier did suggest it might be worth looking into if I could install these systems using autoyast, but I'm leaning towards cfengine as suggested by others - looks like more of a long-term management system.
www.cfengine.org? (I'm not familiar with cfengine.) There is a mailinglist for autoyast: suse-autoinstall. Anas Nashif was working on this, before he moved to Intel. How about posting on either suse-autoinstall or the cfengine mailinglist? Cheers, Leen
Leendert Meyer wrote:
On Tuesday 17 October 2006 20:42, Per Jessen wrote:
Leendert Meyer wrote:
What about autoyast? If they are new installs...
I was thinking of this too. Per should really give this some consideration. Install autoyast, and have a look in the /usr/share/doc/packages/autoyast/ directory. On the GRUB prompt one could do:
I have had a look at autoyast, but my requirement is to start with a default system, then run a script/something and do a whole of things to create the environment I need. Typically the system will be installed with a default image by a provider.
Aha, seems you need some kind of run-once script?
Exactly - that is what I'm mostly after for the moment.
How about posting on either suse-autoinstall or the cfengine mailinglist?
Absolutely - although I'll probably be lurking for a while :-) Per Jessen, Zurich -- http://www.spamchek.com/ - managed email security. Starting at SFr5/month/user.
On Tue, 17 Oct 2006, Per Jessen wrote:
I've got a number of systems with a standard/minimal install of opensuse 10.1. I need to make a significant number of minor modifications, create userids, install other packages, edit syslog-ng.conf, create directories, edit postfix config files etc.
I need to repeat this exercise both now and quite likely in the future when new systems are added to this farm.
Would building an RPM package be the right/easiest way to have all these various changes done in one fell swoop?
Possibly. However, consider looking into cfengine - this can help not
only with the initial changes but the ones that may need to be farther
down the road.
Hi from fellow JFS lister.
--
Carpe diem - Seize the day.
Carp in denim - There's a fish in my pants!
Jon Nelson
Jon Nelson wrote:
On Tue, 17 Oct 2006, Per Jessen wrote:
I've got a number of systems with a standard/minimal install of opensuse 10.1. I need to make a significant number of minor modifications, create userids, install other packages, edit syslog-ng.conf, create directories, edit postfix config files etc.
I need to repeat this exercise both now and quite likely in the future when new systems are added to this farm.
Would building an RPM package be the right/easiest way to have all these various changes done in one fell swoop?
Possibly. However, consider looking into cfengine - this can help not only with the initial changes but the ones that may need to be farther down the road.
Hi from fellow JFS lister.
Thanks Jon and others who've mentioned cfengine - looks like a big gun, but that very well could come in handy later on. /Per Jessen, Zürich
participants (6)
-
Carlos E. R.
-
Gaël Lams
-
Joachim Schrod
-
Jon Nelson
-
Leendert Meyer
-
Per Jessen