Displaying 9 results from an estimated 9 matches for "logical_volume".
2012 Aug 15
7
Custom types in environments working .... yes/no/maybe ?
...s require loading into master''s libdir"
However, now I''m not so sure, This was working previously with a given
client. However, after trying on a fresh client, it''s failing with:
err: Could not run Puppet configuration client: Could not find a
default provider for logical_volume
The server seems to have the files:
/var/lib/puppet/lib/puppet/provider/logical_volume
/var/lib/puppet/lib/puppet/type/logical_volume.rb
And so does the client:
/var/lib/puppet/lib/puppet/type/logical_volume.rb
/var/lib/puppet/lib/puppet/provider/logical_volume
pluginsync=true in /etc/puppet/pup...
2011 Mar 14
1
configsync requires 2nd puppet run for plugin loading to work
...gsync and an attempt to load the
downloaded plugins, the provider fails to be found by puppet in this
first run, another re-run of puppet is needed for the provider to
work, see debug output below.
Is this a bug or am I missing something you think?
The error in short:
err: /Stage[main]/Ibe::Slave/Logical_volume[mysql]: Could not
evaluate: No ability to determine if logical_volume exists
1st run:
The longer version:
[root@data04 ~]# puppet agent --test --verbose
[69/4012]
info: Retrieving plugin
notice: /File[/var/lib/puppet/lib/puppet/provider]/ensure: created
notice: /File[/var/lib/puppet/li...
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
2012 Aug 14
8
Custom Providers and Environmemts.
I''ve installed 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
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 =>
2012 Oct 29
0
help with creating self.instances for puppetlabs-lvm providers
...utput.
https://github.com/logicminds/puppetlabs-lvm/commit/deb258231f5a4dc6da7c0d65a7153846b8766b3e
example:
def self.instances
filesystems.map { | fs |
new(:name => fs[0], :fs_type => fs[1], :options => fs[2], :ensure => :present ) }
end
[root@puppet2 logical_volume]# puppet resource filesystem
filesystem { ''/dev/mapper/vg_puppet2-lv_root'':
ensure => ''present'',
}
filesystem { ''/dev/sda1'':
ensure => ''present'',
}
The output should detail the fstype and options but I don'...
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" group.
To view this discussion on the web...
2013 May 13
1
samba 3 - smb2 cpu usage
...k
into? (Or should we just stick to smb1, because smb2 isn't worth the
trouble?)
Some hardware specs:
IBM 3650 M3 - Xeon 2.13Ghz 4 cores (2 cores per VM)
4GB RAM (per VM)
Smartraid 5015 + bbu (4 sas disks / raid10)
1 GB network.
HP Z400 workstation + Windows 7
mount options:
/dev/mapper/vg-logical_volume on /data type ext4
(rw,nodiratime,relatime,acl,data=ordered,barrier=0,grpquota,errors=remount-ro)
smb.conf:
[global]
workgroup = OURDOMAIN
realm = OURDOMAIN.EU
server string = %h server
security = ADS
log file = /var/log/samba/log.%m
max log size = 1000
max protocol = SMB2
client signing...
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 {