I have the same problem.

Am Sonntag, 24. Juni 2012 01:06:17 UTC+2 schrieb treydock:
>
> Setting up a HA iSCSI / NFS target using this document, 
> http://www.linbit.com/fileadmin/tech-guides/ha-iscsi.pdf, and I am unable 
> to find a way to use the puppetlabs-corosync module to emulate this command
>
> crm(live)configure# primitive p_drbd_coraid23 ocf:linbit:drbd \
>  params drbd_resource=coraid23 \
>  op monitor interval=29 role=Master \
>  op monitor interval=31 role=Slave
> crm(live)configure# ms ms_drbd_coraid23 p_drbd_coraid23 \
>  meta master-max=1 master-node-max=1 \ 
>  clone-max=2 clone-node-max=1 notify=true
>
> I defined the cs_primitive type like this...
>
>
>   cs_primitive {
>     'p_drbd_coraid23':
>       ensure            => present,
>       primitive_class => 'ocf',
>       primitive_type  => 'drbd',
>       provided_by     => 'linbit',
>       promotable      => true,
>       parameters      => {
>         'drbd_resource' => 'coraid23'
>       },
>       operations      => {
>         'monitor' => {
>           'interval'  => '29',
>           'role'      => 'Master',
>         },
>         'monitor' => {
>           'interval'  => '31',
>           'role'      => 'Slave',
>         }
>       },
>       metadata        => {
>         'master-max'      => '1',
>         'master-node-max' => '1',
>         'clone-max'       => '2',
>         'clone-node-max'  => '1',
>         'notify'          => 'true',
>       };
>
>
> What results is only 1 of the 2 operations being defined, and my guess is 
> that this is because of logic like this...
>
> operations = {}
> operations['monitor'] = a
> operations['monitor'] = b
>
> puts operations['monitor']
> => b
>
> Any suggestions? 
>
> Thanks
> - Trey
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/8065d250-39f4-4ede-a3e9-4926fd738a2c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to