search for: physical_volum

Displaying 8 results from an estimated 8 matches for "physical_volum".

Did you mean: physical_volume
2013 Aug 14
1
Can't remove a physical_volume from a volume_group
Hello, I have this bit of code that tries to remove a physical volume from the VG (which consists of /dev/sda5 amd /dev/sdb1): volume_group { "system": ensure => absent, physical_volumes => "/dev/sdb1", } But I get this error: Error: Execution of ''/sbin/vgremove system'' returned 5: Do you really want to remove volume group "system" containing 2 logical volumes? [y/n]: Volume group "system" not removed Error:...
2012 Aug 11
8
Pass array to a define
How can I pass an array to a define? It''s not documented in the puppet language guide. I''ve got: define lvm::create_vg ( $pvdisks ) { exec { ''pvcreate'': command => "/sbin/pvcreate -yf $pvdisks", unless => "/sbin/pvdisplay $pvdisks", ... } } class someclass { lvm::create_vg {
2010 Oct 15
2
puppet-lvm and volume group issues
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: Ex...
2012 Aug 14
8
Custom Providers and Environmemts.
...the puppet labs lvm module. After fixing the missing "}" at line 20 in init.pp (really?!?!), I''m getting this:'' err: Could not retrieve catalog from remote server: Error 400 on SERVER: Puppet::Parser::AST::Resource failed with error ArgumentError: Invalid resource type physical_volume at /truth/sauce/env/prod/modules/role/manifests/common.pp:43 on node testweb10.us1.xxx.com Seems related to: http://projects.puppetlabs.com/issues/4409 I''m using environments. Is this fixed? Doug -- You received this message because you are subscribed to the Google Groups "Puppe...
2011 Mar 14
1
configsync requires 2nd puppet run for plugin loading to work
...#39;' notice: /File[/var/lib/puppet/lib/puppet/provider/logical_volume]/ensure: created notice: /File[/var/lib/puppet/lib/puppet/provider/logical_volume/lvm.rb]/ensure: defined content as ''{md5}f5fe6a036d4f41ea8d67e01ee1a3e80a'' notice: /File[/var/lib/puppet/lib/puppet/provider/physical_volume]/ensure: created notice: /File[/var/lib/puppet/lib/puppet/provider/physical_volume/lvm.rb]/ensure: defined content as ''{md5}ceb7fd1c60ef79a3375da30f27e1df2e'' notice: /File[/var/lib/puppet/lib/puppet/provider/volume_group]/ensure: created notice: /File[/var/lib/puppet/lib/puppet/p...
2012 Jan 17
29
pass values to puppet-lvm
i would like to use the module puppet-lvm and would like to pass values to it. I have it setup properly as a module but I can''t for the lfe of me get it to take any values that I put in my baseconfig.pp in my home folder. like shouldn''t something like this work?? puppet-lvm {''setvolume'': vg => ''myvg'', pv =>
2011 Nov 15
10
Adding a parameter to a custom Puppet type/provider
Hi All, I''ve downloaded a Puppet module and I''m trying to add a parameter to it by editing lib/puppet/type/<resource>.rb. I simply added: newproperty(:pcfree) do desc "My description here" end In the corresponding file in lib/puppet/provider, I do something with :pcfree. Whenever I call the resource from Puppet with my new parameter, it keeps
2013 Jan 08
3
Puppet LVM create volume maximum size
Hello, Using the LVM module/providers from the forge I want to create a logical volume at the maximum size and I cannot work out how to do this. physical_volume -> volume_group -> logical_volume -> filesystem -> mount All works fine but you have to hard code the size for the logical volume. Anyone know if this is possible ? Thanks Paul -- You received this message because you are subscribed to the Google Groups "Puppet Users"...