Everything else aside, you have a semicolon after ensure => present instead of a comma in your physical_volume resource. I'm not certain that it's causing the problem but it might be confusing the parser.
-Eric -- Eric Shamow Professional Services http://puppetlabs.com/ (c)631.871.6441 Join us for PuppetConf 2012 at the Mission Bay Convention Center in San Francisco, California on September 27th and 28th --> http://bit.ly/pcsig12 On Tuesday, August 14, 2012 at 4:39 PM, Douglas Garstang wrote: > 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 (http://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] > (mailto:[email protected]). > To unsubscribe from this group, send email to > [email protected] > (mailto:[email protected]). > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. -- 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.
