New templating language and support for EL4

2010-12-22 Thread Scott Henson

I'm considering a move off of Cheetah as the templating language for
Cobbler.  I am personally leaning towards django or jinja(1 or 2
depending on the EL4 discussion).  I would like to know opinions people
have on if we should move and what we should move to.

Additionally, I'm considering if we should continue to explicitly
support EL4 for running Cobbler on.  This would be due to the fact that
many of the really nice templating languages are just not supported on
the version of python that EL4 runs.  We would continue to support
running koan on EL4 (in fact I think we will still run all the way back
to AS2.1).  Are there people that are still running Cobbler on EL4?

Thanks.

-- 
Scott Henson
Red Hat CIS Operator
WVU Alum BSAE/BSME


pgpP7b8R1Rm43.pgp
Description: PGP signature
___
cobbler-devel mailing list
cobbler-devel@lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler-devel


Re: New templating language and support for EL4

2010-12-22 Thread Pablo Iranzo Gómez
Hi


- Mensaje original -
 De: Scott Henson shen...@redhat.com
 Para: cobb...@lists.fedorahosted.org, cobbler-devel@lists.fedorahosted.org
 Enviados: Miércoles, 22 de Diciembre 2010 17:52:38
 Asunto: New templating language and support for EL4
 I'm considering a move off of Cheetah as the templating language for
 Cobbler. I am personally leaning towards django or jinja(1 or 2
 depending on the EL4 discussion). I would like to know opinions people
 have on if we should move and what we should move to.
 
 Additionally, I'm considering if we should continue to explicitly
 support EL4 for running Cobbler on. This would be due to the fact that
 many of the really nice templating languages are just not supported on
 the version of python that EL4 runs. We would continue to support
 running koan on EL4 (in fact I think we will still run all the way
 back
 to AS2.1). Are there people that are still running Cobbler on EL4?

I plan to run cobbler on EL4 while we migrate over EL5, but it depends on being 
able to get RH's httpd instead of user provided apache 1.3.1.  Not sure about 
deadline, but if finally proceed, we'll be migrating over EL5 during next year.

One of the problems we've is the templating part of pxelocal.template which 
doesn't uses pxe_menu_items to render file (on cobbler list).

Regards
Pablo



-- 

Pablo Iranzo Gómez (pablo.ira...@redhat.com)
Senior Global Profesional Services Consultant (RHCA, RHCSS, RHCDS, RHCVA, RHCE, 
RHCSP) #804006196923216
Phone: +34 645 01 01 49 (CET/CEST)
GnuPG KeyID: 0xFAD3CF0D

___
cobbler-devel mailing list
cobbler-devel@lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler-devel


RE: New templating language and support for EL4

2010-12-22 Thread Scott Henson
On Wed, 22 Dec 2010 11:00:26 -0600, marek.doho...@thomsonreuters.com wrote:
 Actually yes I still am running EL4.  
 Out of curiosity what do you find is a problem with Cheetah?
 

Cheetah recently broke on F14 and has had various and other problems
with its security.  It has generally just been a pain in my back side
for some time.  I'm not saying I'm going to make a change, just trying
to get a general feeling on the subject at this place.


-- 
Scott Henson
Red Hat CIS Operator
WVU Alum BSAE/BSME


pgpjkvsQX0zx0.pgp
Description: PGP signature
___
cobbler-devel mailing list
cobbler-devel@lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler-devel


Re: New templating language and support for EL4

2010-12-22 Thread Philippe Eveque
2010/12/22 brett lentz brett.le...@gmail.com

 On Wed, Dec 22, 2010 at 9:19 AM, Scott Henson shen...@redhat.com wrote:

 On Wed, 22 Dec 2010 11:00:26 -0600, marek.doho...@thomsonreuters.com
 wrote:
  Actually yes I still am running EL4.
  Out of curiosity what do you find is a problem with Cheetah?
 

 Cheetah recently broke on F14 and has had various and other problems
 with its security.  It has generally just been a pain in my back side
 for some time.  I'm not saying I'm going to make a change, just trying
 to get a general feeling on the subject at this place.



 Support for EL4 should be maintained until EL4 is EOL. It's only got 2
 years left. I believe it's EOL in 2012.

 As for templating, I agree that there needs to be specific reasons for the
 change. The various and other problems should be detailed. It's possible
 that there are less drastic solutions to those problems.

 I'm not personally invested too heavily in Cheetah. I like Genshi for a
 number of reasons, but would be open to adapting to other options. I'm not
 opposed to learning something new. :-) There's been a few blog posts going
 around Planet Python in the last month about good and bad uses of templating
 engines.

 With cobbler-web having moved to Django for cobbler 2.0 (IIRC), it sort of
 makes sense to move the rest of the app in that direction as well. However,
 if this happens, I think it should incur another big version bump to 2.5 or
 3.0, so that it's clear that this isn't just a minor update.


sharing the same view.

Phil
___
cobbler-devel mailing list
cobbler-devel@lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler-devel


Re: New templating language and support for EL4

2010-12-22 Thread Jonathan Sabo
+1 for dropping cheetah moving to django and not having to support
Cobbler running on EL4.

On Wed, Dec 22, 2010 at 12:19 PM, Scott Henson shen...@redhat.com wrote:
 On Wed, 22 Dec 2010 11:00:26 -0600, marek.doho...@thomsonreuters.com wrote:
 Actually yes I still am running EL4.
 Out of curiosity what do you find is a problem with Cheetah?


 Cheetah recently broke on F14 and has had various and other problems
 with its security.  It has generally just been a pain in my back side
 for some time.  I'm not saying I'm going to make a change, just trying
 to get a general feeling on the subject at this place.


 --
 Scott Henson
 Red Hat CIS Operator
 WVU Alum BSAE/BSME

 ___
 cobbler-devel mailing list
 cobbler-devel@lists.fedorahosted.org
 https://fedorahosted.org/mailman/listinfo/cobbler-devel


___
cobbler-devel mailing list
cobbler-devel@lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler-devel


Re: Hello from Ubuntu land

2010-12-22 Thread Javier Palacios
 The problem with the debian imports (ubuntu also if I'm right), is
 that the media import cannot perform all tasks that a redhat does.
 The media is built (was at least) for device attached installs, so
 kernel+initrd are no network aware. The ones required for pxe booting
 must be downloaded separately. Some of the possible workflows were

 Recent Ubuntu Server CD's (the one below is 10.04.1) come with
 everything you need to netboot:

I didn't know that. It's good for ubuntu and probably also for derived
distros, but not for debian.

 And this gets more complicated as debian does not care very much about
 the released vs. updates structure, so either you move your
 imported packages into your repository-mirror directory or you will
 download again all the media contents into your local mirror.

 Can you explain exactly what this means for users?

 The way I understand it.. one imports the contents of a CD, and then one
 can also import packages from a repository for, say, updates. Right?

 How would the debian/ubuntu way of specifying packages inhibit this?

 One can feed multiple sources for an install into debian-installer with
 preseed files with

 d-i apt-setup/local0/repository http://cobblerbox/ubuntu lucid main 
 restricted
 d-i apt-setup/local1/repository http://cobblerbox/ubuntu lucid universe
 d-i apt-setup/local2/repository http://cobblerbox/ubuntu lucid-updates main

Maybe this is also a change on new ubuntu versions, but previous
versions (and current debians) do not have a lucid-updates repository.
Updated packages are mixed with those initially released in the same
tree.
So, when importing a media the contents must not go to an install
tree but to a repository. Or the repository must live wherever you
have your install tree.

Javier Palacios
___
cobbler-devel mailing list
cobbler-devel@lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler-devel


Re: New templating language and support for EL4

2010-12-22 Thread James Cammarata
On Wed, Dec 22, 2010 at 12:12 PM, Philippe Eveque
philippe.eve...@gmail.com wrote:
 2010/12/22 brett lentz brett.le...@gmail.com

 On Wed, Dec 22, 2010 at 9:19 AM, Scott Henson shen...@redhat.com wrote:

 On Wed, 22 Dec 2010 11:00:26 -0600, marek.doho...@thomsonreuters.com
 wrote:
  Actually yes I still am running EL4.
  Out of curiosity what do you find is a problem with Cheetah?
 

 Cheetah recently broke on F14 and has had various and other problems
 with its security.  It has generally just been a pain in my back side
 for some time.  I'm not saying I'm going to make a change, just trying
 to get a general feeling on the subject at this place.



 Support for EL4 should be maintained until EL4 is EOL. It's only got 2
 years left. I believe it's EOL in 2012.
 As for templating, I agree that there needs to be specific reasons for the
 change. The various and other problems should be detailed. It's possible
 that there are less drastic solutions to those problems.
 I'm not personally invested too heavily in Cheetah. I like Genshi for a
 number of reasons, but would be open to adapting to other options. I'm not
 opposed to learning something new. :-) There's been a few blog posts going
 around Planet Python in the last month about good and bad uses of templating
 engines.
 With cobbler-web having moved to Django for cobbler 2.0 (IIRC), it sort of
 makes sense to move the rest of the app in that direction as well. However,
 if this happens, I think it should incur another big version bump to 2.5 or
 3.0, so that it's clear that this isn't just a minor update.

 sharing the same view.

Thirded, but with the caveat that setting up some transition now would
be good too. We could start moving templates over and still support
cheetah, but eventually all of the templates that ship with cobbler
would be in the new templating language.  The only difficulty would be
identifying which kind of template a file is ahead of time.
___
cobbler-devel mailing list
cobbler-devel@lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler-devel