[Mageia-sysadm] [505] rpm-build is required for repsys to rebuild src rpm on submit

Michael Scherer misc at zarb.org
Mon Dec 6 13:33:24 CET 2010


Le lundi 06 décembre 2010 à 13:09 +0100, Olivier Blin a écrit :
> Michael Scherer <misc at zarb.org> writes:
> 
> > Le lundi 06 décembre 2010 à 12:45 +0100, root at mageia.org a écrit :
> >> Revision: 505
> >> Author:   blino
> >> Date:     2010-12-06 12:45:29 +0100 (Mon, 06 Dec 2010)
> >> Log Message:
> >> -----------
> >> rpm-build is required for repsys to rebuild src rpm on submit
> >> 
> >> Modified Paths:
> >> --------------
> >>     puppet/modules/buildsystem/manifests/init.pp
> >> 
> >> Modified: puppet/modules/buildsystem/manifests/init.pp
> >> ===================================================================
> >> --- puppet/modules/buildsystem/manifests/init.pp	2010-12-05 23:28:12 UTC (rev 504)
> >> +++ puppet/modules/buildsystem/manifests/init.pp	2010-12-06 11:45:29 UTC (rev 505)
> >> @@ -70,6 +70,9 @@
> >>  
> >>          }
> >>  
> >> +        package { 'rpm-build':
> >> +        }
> >> +
> >
> > Am I missing something quite subtle, or the line :
> >             ensure => installed;
> > was forgotten ?
> 
> I just repeated what was above for repsys, and it installed the package
> fine.
> Maybe ensure => installed is the default for packages?

After testing and reading source code, it seems so. 

      defaultto :installed

-- 
Michael Scherer



More information about the Mageia-sysadm mailing list