Nico De Ranter
2007-Jul-09 15:55 UTC
how to make a package depend on 2 or more other packages
Hi, when using puppet to install extra rpm packages on centos: how can I make a package depend on 2 or more other packages. e.g. this works: class centos4_extra_packages { package { "test1" : ensure => installed, require => package["prereq"] } } but I can''t figure out how to make test1 require prereq1 and prere2. Any suggestions? Nico -- With kind regards, Nico De Ranter Senior System Administrator Sony Network and Software Technology Center Europe (NSCE) The Corporate Village - Da Vincilaan 7-D1 - B-1935 Zaventem - Belgium Phone: +32 (0)2 700 8611 Fax: +32 (0)2 700 8622 E-mail: nico.deranter@eu.sony.com Internet: www.sony-europe.com Sony Network and Software Technology Center Europe A division of Sony Service Centre (Europe) N.V. Registered office: Technologielaan 7 - B-1840 Londerzeel - Belgium VAT BE 0413.825.160 · RPR Brussels Fortis Bank Zaventem IBAN BE39 0013 8235 8619 GEBA-BE-B
Nico De Ranter
2007-Jul-09 15:57 UTC
how to make a package depend on 2 or more other packages
Hi, when using puppet to install extra rpm packages on centos: how can I make a package depend on 2 or more other packages. e.g. this works: class centos4_extra_packages { package { "test1" : ensure => installed, require => package["prereq"] } } but I can''t figure out how to make test1 require prereq1 and prere2. Any suggestions? Nico -- With kind regards, Nico De Ranter Senior System Administrator Sony Network and Software Technology Center Europe (NSCE) The Corporate Village - Da Vincilaan 7-D1 - B-1935 Zaventem - Belgium Phone: +32 (0)2 700 8611 Fax: +32 (0)2 700 8622 E-mail: nico.deranter@eu.sony.com Internet: www.sony-europe.com Sony Network and Software Technology Center Europe A division of Sony Service Centre (Europe) N.V. Registered office: Technologielaan 7 - B-1840 Londerzeel - Belgium VAT BE 0413.825.160 · RPR Brussels Fortis Bank Zaventem IBAN BE39 0013 8235 8619 GEBA-BE-B
Sébastien Prud''homme
2007-Jul-09 16:05 UTC
Re: how to make a package depend on 2 or more other packages
require => [Package["prereq1"], Package["prereq2"]] should work 2007/7/9, Nico De Ranter <nico@sonycom.com>:> > Hi, > > when using puppet to install extra rpm packages on centos: how can I > make a package depend on 2 or more other packages. > > e.g. this works: > > class centos4_extra_packages { > package { "test1" : > ensure => installed, > require => package["prereq"] > } > } > > but I can''t figure out how to make test1 require prereq1 and prere2. > Any suggestions? > > Nico > > > -- > With kind regards, > > Nico De Ranter > Senior System Administrator > > Sony Network and Software Technology Center Europe (NSCE) > The Corporate Village - Da Vincilaan 7-D1 - B-1935 Zaventem - Belgium > > Phone: +32 (0)2 700 8611 > Fax: +32 (0)2 700 8622 > E-mail: nico.deranter@eu.sony.com > Internet: www.sony-europe.com > > Sony Network and Software Technology Center Europe > A division of Sony Service Centre (Europe) N.V. > Registered office: Technologielaan 7 - B-1840 Londerzeel - Belgium > VAT BE 0413.825.160 · RPR Brussels > Fortis Bank Zaventem IBAN BE39 0013 8235 8619 GEBA-BE-B > > _______________________________________________ > Puppet-users mailing list > Puppet-users@madstop.com > https://mail.madstop.com/mailman/listinfo/puppet-users >
Nico De Ranter
2007-Jul-10 09:18 UTC
Re: how to make a package depend on 2 or more other packages
Yep, that did the trick. Thanks Nico On Mon, 2007-07-09 at 18:05 +0200, Sébastien Prud''homme wrote:> require => [Package["prereq1"], Package["prereq2"]] should work > > 2007/7/9, Nico De Ranter <nico@sonycom.com>: > > > > Hi, > > > > when using puppet to install extra rpm packages on centos: how can I > > make a package depend on 2 or more other packages. > > > > e.g. this works: > > > > class centos4_extra_packages { > > package { "test1" : > > ensure => installed, > > require => package["prereq"] > > } > > } > > > > but I can''t figure out how to make test1 require prereq1 and prere2. > > Any suggestions? > > > > Nico > > > > > > -- > > With kind regards, > > > > Nico De Ranter > > Senior System Administrator > > > > Sony Network and Software Technology Center Europe (NSCE) > > The Corporate Village - Da Vincilaan 7-D1 - B-1935 Zaventem - Belgium > > > > Phone: +32 (0)2 700 8611 > > Fax: +32 (0)2 700 8622 > > E-mail: nico.deranter@eu.sony.com > > Internet: www.sony-europe.com > > > > Sony Network and Software Technology Center Europe > > A division of Sony Service Centre (Europe) N.V. > > Registered office: Technologielaan 7 - B-1840 Londerzeel - Belgium > > VAT BE 0413.825.160 · RPR Brussels > > Fortis Bank Zaventem IBAN BE39 0013 8235 8619 GEBA-BE-B > > > > _______________________________________________ > > Puppet-users mailing list > > Puppet-users@madstop.com > > https://mail.madstop.com/mailman/listinfo/puppet-users > > > _______________________________________________ > Puppet-users mailing list > Puppet-users@madstop.com > https://mail.madstop.com/mailman/listinfo/puppet-users