Dnia sobota, 19 stycznia 2013 14:55:17 Alex Naumov pisze:
On Sat, Jan 19, 2013 at 12:38 PM, Dimstar / Dominique Leuenberger
<dimstar@opensuse.org> wrote:
On Sat, 2013-01-19 at 12:26 +0100, Alex Naumov wrote:
The problem is that I need to run curl and check configuration of some components in the system. I want to automate the configuration process: package will configure itself after installation. I know how to do this, but OBS should ignore (don't run) this piece of code.>> > Why?
For example, I want to configure USB printer via CUPS. In this case device should be there in this time. If not, build process will be just froze.
And if the package is being installed while the printer is not there on the end machine, the install process will just freeze?
Sounds like a very bad usecase and not resilient enough to go into any prod environment... That script likely should be 'smarter'.
Dominique
Yes, but it should work exactly like this.
Imagine such situation: you have 100 (or more) machines and they have the same printers. You just install this package and it configure the system (via CUPS) to use these printers. Yes, for "home-desktop-users" it will be redundant (they can configure it manually), but for industrial use that's exactly what we need.
RPM is for installing software packages, not for (remotely) configuring workstations in an enterprise environment. I suppose Novell has a product that better suits your needs in their enterprise portfolio. Chris -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org