I just grabbed the puppet labs lvm module from Puppet forge.

Attempting to use...

    physical_volume {
        ['/dev/xvdb1', '/dev/xvdc1']:
            ensure => present;
    }

results in:

err: Could not retrieve catalog from remote server: Error 400 on
SERVER: Syntax error at ':'; expected '}' at
/truth/sauce/env/prod/modules/lvm/manifests/init.pp:29 on node
testweb10.us1.xxx.com

Line 29 of init.pp is:

    #
    # Just clean up the logical volume
    #
    absent: {
      logical_volume { $name: ensure => absent, volume_group => $vg,
size => $size }
    }

I don't get it.... what am I missing????

Doug.

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

Reply via email to