Oh right - for the code compression syntax…I don't use it and so I tend to
forget it exists. Sorry about that.
Is line 29 specifically this?
absent: {
It would be helpful to see in context with line numbers, such as in a gist.
-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:43 PM, Douglas Garstang wrote:
> 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 <[email protected]
> (mailto:[email protected])> 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 [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]
> > (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.
>
>
>
>
>
> --
> Regards,
>
> Douglas Garstang
> http://www.linkedin.com/in/garstang
> Email: [email protected] (mailto:[email protected])
> 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 [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.