Chris, Already have the pluginsync directive in the [agent] section of my puppet.conf - thanks for covering that off anyway. I've included the relevant Puppet manifest snippets below as I could be doing something very very silly at a code level that someone could identify:
Firstly I have declared a class called 'websphere' which resides in /etc/puppet/modules/websphere and my class code is in the init.pp file located at /etc/puppet/modules/websphere/manifests. The code for this is as follows: */etc/puppet/modules/websphere/manifests/init.pp* class websphere::deploy { include lvm::filesystem file { "/opt/wasadmin/backup/build_NdmBase.tar": source => "puppet:///files/build/websphere/build_NdmBase.tar", mode => 0640, owner => "wasadmin", group => "wasgrp", require => Filesystem[ "/dev/mapper/root_vg-WebSphere" ], } } The second component is my node definition which occurs on the nodes.pp file, as follows: */etc/puppet/manifests/nodes.pp* node websphereNode inherits base { include websphere::deploy } The third component is actually specifying an instance of the above node, as follows: */etc/puppet/manifests/nodes.pp* node "node.foo.com" inherits websphereNode { } I also have the puppetlabs/lvm module installed in the /etc/puppet/modules directory. Hope the code I have included in this response is of assistance to someone to help me resolve this issue. Thanks On Friday, August 23, 2013 4:20:32 PM UTC+1, mcd wrote: > > I'm kind of guessing, but it might be that you need to push out the custom > providers to the client. Try putting "pluginsync = true" in the [agent] > section of your puppet.conf on that client, and try again. > > Chris > > > On Fri, Aug 23, 2013 at 8:07 AM, Andy Stevens <ant....@gmail.com<javascript:> > > wrote: > >> Hi, >> >> I'm struggling to make use of the resources and types provided by >> puppetlabs/lvm. >> >> If I attempt to make use of the various resource types i.e. filesystem, >> lvm etc. from within my nodes.pp then I have no problem at all. However if >> I attempt to reference them from a class I have created, when i invoke >> puppet agent --test I get the output below: >> >> *Error: Failed to apply catalog: Could not find dependency >> Filesystem[/dev/mapper/root_vg-WebSphere] for File*......... >> >> I'm guessing that my custom class can't see within it's scope the various >> resources and types provided by puppetlabs/lvm? So how do I resolve this? >> the puppetlabs/lvm isn't a class so I can't include it. >> >> Any assistance would be greatly appreciated >> >> >> >> Thanks >> >> Andy >> >> -- >> 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 puppet-users...@googlegroups.com <javascript:>. >> To post to this group, send email to puppet...@googlegroups.com<javascript:> >> . >> Visit this group at http://groups.google.com/group/puppet-users. >> For more options, visit https://groups.google.com/groups/opt_out. >> > > -- 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 puppet-users+unsubscr...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.