I've always used semicolons at the end of resources.... never caused a problem before, and puppet-lint doesn't complain about them.
On Tue, Aug 14, 2012 at 1:42 PM, Eric Shamow <e...@puppetlabs.com> wrote: > 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 puppet-users@googlegroups.com >> (mailto:puppet-users@googlegroups.com). >> To unsubscribe from this group, send email to >> puppet-users+unsubscr...@googlegroups.com >> (mailto:puppet-users+unsubscr...@googlegroups.com). >> 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 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. > -- Regards, Douglas Garstang http://www.linkedin.com/in/garstang Email: doug.garst...@gmail.com Cell: +1-805-340-5627 -- 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.