The parameters go in the variables section of the mgmt class, not in ksmeta (I will do variable substitutions from ksmeta in the future, but for now it doesn't).On Sat, Jul 27, 2013 at 11:42 AM, Greg Chavez <greg.chavez@gmail.com> wrote:
_______________________________________________
I suspect I am being obtuse here. I'm trying to use the arusso/vnc module from puppet forge which is declared like this:
class { 'vnc':
refresh => true,
servers => [ 'user' => 'pete',
'args' => '-geometry 1920x1200 -depth 16' ],service_ensure => true,
xstartup_template => 'myclass/xstartup.erb',
}
Via the Web console, I did the following:--------------------(1) Created management class "vnc":**** name: vnc**** class name: vnc**** parameters/variables: service_ensure xstartup_template refresh servers
(2) In system object:
**** selected class "vnc"**** Added yaml to management parameters which was converted to:{ service_ensure: True, xstartup_template: vnc/xstartup.erb, refresh: True, servers: [{'user': 'pete'}, {'args': '-geometry 1920x1200 -depth 16'}] }
--------------------However, this is what cobbler-ext-node returns for the system:~> cobbler-ext-nodes pete.localclasses:site: {}vnc:refresh: '~'servers: '~'service_ensure: '~'xstartup_template: '~'environment: productionparameters:from_cobbler: 1refresh: trueservers:- user: pete- args: -geometry 1920x1200 -depth 16service_ensure: truetree: http://@@http_server@@/cblr/links/centos-6.4-x86_64xstartup_template: vnc/xstartup.erb
I didn't think that this would work the way I did it, but I was hoping the resultant breakage would give me a clue as to how to fix. No such luck. I am stumped.Can anyone tell me what I'm doing wrong? Mahalo in advance.--
\*..+.-
--Greg Chavez
+//..;};
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler
_______________________________________________
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler