[Mageia-sysadm] [1267] update init.pp to split script in different classes

Damien Lallement mageia at damsweb.net
Tue Mar 8 19:21:24 CET 2011


Le 04/03/2011 12:24, Michael Scherer a écrit :
> Le jeudi 03 mars 2011 à 19:01 +0100, root at mageia.org a écrit :
>> Revision: 1267
>> Author:   dams
>> Date:     2011-03-03 19:01:31 +0100 (Thu, 03 Mar 2011)
>> Log Message:
>> -----------
>> update init.pp to split script in different classes
>
>
>> +    class champagne inherits base {
>> +        package { ['wget','php-mysql']:
>> +            ensure =>  installed
>> +        }
>
> IMHO, a better class name that "champagne" can be found. Is it used for
> test, production ?

It's in production.
I called it "champagne" as this is the "blog" part for this machine. The 
"user" class is for both "krampouezh" and "champagne". And if needed I 
was thinking about creating a class "krampouezh".
I don't see a better name for it. I thought it was clear enough. :-)
Any proposals?
-- 
Damien Lallement
aka "damsweb" or "coincoin" on IRC and twitter

http://www.mageia.org


More information about the Mageia-sysadm mailing list