[cobbler-devel] Certificate-based RHN registration snippet

2012-02-13 Thread Jim Nachlin
Hi List, Red Hat is moving to a new, "certificate-based" registration system. They are doing away with rhn_register and moving to subscription-manager. Here is a trivial but possibly useful snippet which we have saved as /var/lib/cobbler/snippets/install-puppet: # Subscribe (register) the syste

Re: [cobbler-devel] Certificate-based RHN registration snippet

2012-02-13 Thread Michael DeHaan
Thanks… Probably some existence check to see if subscription-manager is present and then falling back to the old way rhn_register way if that's installed instead sounds reasonable. Cobbler should already be laying out the yum.repos.d files ok and shouldn't need to do the channel enablement

Re: [cobbler-devel] Certificate-based RHN registration snippet

2012-02-13 Thread Jim Nachlin
On Mon, Feb 13, 2012 at 2:37 PM, Michael DeHaan wrote: > Thanks… > > Probably some existence check to see if subscription-manager is present and > then falling back to the old way rhn_register way if that's installed > instead sounds reasonable. Hi Michael, It makes a lot of sense to ensure that

Re: [cobbler-devel] Certificate-based RHN registration snippet

2012-02-13 Thread Michael DeHaan
On Monday, February 13, 2012 at 3:11 PM, Jim Nachlin wrote: > On Mon, Feb 13, 2012 at 2:37 PM, Michael DeHaan > mailto:michael.deh...@gmail.com)> wrote: > > Thanks… > > > > Probably some existence check to see if subscription-manager is present and > > then falling back to the old way rhn_regi

[cobbler-devel] Cobbler 2.3.1 Profiles vanish on rename via webui

2012-02-13 Thread Ronald J. Yacketta
Hello all! We just upgraded to Cobbler 2.3.1 last week, playing around this afternoon and noticed that if one goes to the profile list, clicks a 'check box' next to a profile, clicks rename, enters a new name and then clicks OK the profile disappears. Repeat the s

Re: [cobbler-devel] Certificate-based RHN registration snippet

2012-02-13 Thread Jim Nachlin
Pull request submitted. Maybe someone else will chime in as to the logic of trying different reg systems. I am a bit of a novice at certificate-based RHN, so please bear with me. It's my impression that not many people are using it yet, anyway. Regards, Jim On Mon, Feb 13, 2012 at 3:15 PM, Mic

Re: [cobbler-devel] Cobbler 2.3.1 Profiles vanish on rename via webui

2012-02-13 Thread Jörgen Maas
On Mon, Feb 13, 2012 at 9:19 PM, Ronald J. Yacketta wrote: > Hello all! > > We just upgraded to Cobbler 2.3.1 last week, > playing around this afternoon and noticed that if one goes to the profile > list, clicks a 'check box' next to a profile, clicks rename, enters a

Re: [cobbler-devel] Certificate-based RHN registration snippet

2012-02-13 Thread Michael DeHaan
Basically, it should/could still source the same variables as before, right? On Monday, February 13, 2012 at 3:25 PM, Jim Nachlin wrote: > Pull request submitted. > > Maybe someone else will chime in as to the logic of trying different > reg systems. I am a bit of a novice at certificate-b

Re: [cobbler-devel] Cobbler 2.3.1 Profiles vanish on rename via webui

2012-02-13 Thread Jörgen Maas
On Mon, Feb 13, 2012 at 9:27 PM, Jörgen Maas wrote: also, the object re-appear after restarting cobblerd -- Grtz, Jörgen Maas ___ cobbler-devel mailing list cobbler-devel@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/cobbler-devel

Re: [cobbler-devel] Certificate-based RHN registration snippet

2012-02-13 Thread Michael DeHaan
Never mind, I see this in the second patch. Anyone else want to offer thoughts (and testing?) before I pull this? https://github.com/cobbler/cobbler/pull/66 --Michael On Monday, February 13, 2012 at 3:28 PM, Michael DeHaan wrote: > Basically, it should/could still source the same variable

Re: [cobbler-devel] Cobbler 2.3.1 Profiles vanish on rename via webui

2012-02-13 Thread Ronald J. Yacketta
On 2/13/2012 3:29 PM, Jörgen Maas wrote: On Mon, Feb 13, 2012 at 9:27 PM, Jörgen Maas > wrote: also, the object re-appear after restarting cobblerd -- Grtz, Jörgen Maas ___ cobbler-devel mailing list cobbler-devel@lists

Re: [cobbler-devel] Cobbler 2.3.1 Profiles vanish on rename via webui

2012-02-13 Thread Ronald J. Yacketta
On 2/13/2012 3:35 PM, Ronald J. Yacketta wrote: On 2/13/2012 3:29 PM, Jörgen Maas wrote: On Mon, Feb 13, 2012 at 9:27 PM, Jörgen Maas > wrote: also, the object re-appear after restarting cobblerd -- Grtz, Jörgen Maas _

Re: [cobbler-devel] Cobbler 2.3.1 Profiles vanish on rename via webui

2012-02-13 Thread Michael DeHaan
yay! ok, 200 imaginary cobbler points to the fixer :) there's probably a save=True or something not being sent to one of the add methods, at least when it gets out of the XMLRPC layer. perhaps. On Monday, February 13, 2012 at 3:35 PM, Ronald J. Yacketta wrote: > On 2/13/2012 3:29 PM, Jörge