Trying to setup a volume group with puppet lvm and this:-
    volume_group { "my_vg":
       ensure => present,
       physical_volumes => "/dev/sdb /dev/sdc /dev/sdd",
       require => [ Physical_volume["/dev/sdb"],
           Physical_volume["/dev/sdc"],
           Physical_volume["/dev/sdd"]
       ]
    }

Fails with this in the debug output:-
debug: volume_group provider lvm: Executing '/usr/sbin/vgcreate my_vg /
dev/sdb /dev/sdc /dev/sdd'
/usr/lib/ruby/site_ruby/1.8/puppet/provider.rb:133:in `vgcreate'
/usr/lib/ruby/site_ruby/1.8/puppet/provider.rb:140:in `vgcreate'
err: //myvg::setup/myvg::disks/Volume_group[my_vg]/ensure: change from
absent to present failed: Execution of '/usr/sbin/vgcreate my_vg /dev/
sdb /dev/sdc /dev/sdd' returned 1280: File descriptor 8 (/tmp/puppet.
15759.0) leaked on vgcreate invocation. Parent PID 15759: /usr/bin/
ruby

If I do it with a single physical volume it's fine, and if I run the
command from the command line it's fine also.

Any ideas ?

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to