Hmmm that is what I have been doing but for some reason it keeps
messing up. Do I have to do an include or something for the puppet-lvm
module? I mean I already have an import statement for it in my
sites.pp.

On Feb 2, 4:51 pm, jcbollinger <john.bollin...@stjude.org> wrote:
> On Feb 2, 1:53 pm, Luke <lutay...@gmail.com> wrote:
>
>
>
>
>
>
>
>
>
> > Thank you for your help.
>
> > I am pretty new to puppet but am making some progress.
>
> > One question how do I get the:
>
> > lvm::volume {'setvolume':
> >          vg => 'myvg',
> >          pv => '/dev/sdb',
> >          fstype => 'ext3',
> >          name => 'mylv',
> >          size =>'8G',
> >          ensure => 'present',
> >          }
>
> > To work within a node? I can pass variables to classes easy enough
> > within nodes but I can't seem to be able to get the nodes to do
> > anything with  defined resource types.
>
> > Thanks again for the help.
>
> If you are writing node definitions by hand, for example in a nodes.pp
> manifest, then you should be able to just put that code snippet inside
> one or more of them:
>
> node 'mynode' {
>     lvm::volume {'setvolume':
>          vg => 'myvg',
>          pv => '/dev/sdb',
>          fstype => 'ext3',
>          name => 'mylv',
>          size =>'8G',
>          ensure => 'present',
>      }
>
> }
>
> If you are using an external node classifier (ENC) such as Foreman or
> the Puppet Dashboard, however, then you need to know that the ENC
> interface does not support assigning ordinary resources to nodes.
> With an ENC, everything has to be bundled into classes.
>
> John

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@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