Re: [Puppet Users] Double quotes within an exec statement

2012-07-05 Thread Mike Zupan
escape your inner quotes \" \" exec { "/opt/pbis/bin/config UserDomainPrefix \"\" " : } On Thu, Jul 5, 2012 at 1:23 PM, Mike Reed wrote: > Hello all, > > I've been trying to run this exec statement (which to my peril was initially > thought to be something simple): > > exec { "/opt/pbis/bin/con

Re: [Puppet Users] Double quotes within an exec statement

2012-07-05 Thread Christopher Wood
On Thu, Jul 05, 2012 at 01:23:47PM -0700, Mike Reed wrote: >Hello all, > >I've been trying to run this exec statement (which to my peril was >initially thought to be something simple): > >exec { "/opt/pbis/bin/config UserDomainPrefix "" " :  } Escape the inside double quotes: $

[Puppet Users] Double quotes within an exec statement

2012-07-05 Thread Mike Reed
Hello all, I've been trying to run this exec statement (which to my peril was initially thought to be something simple): exec { "/opt/pbis/bin/config UserDomainPrefix "" " : } After the command is run I'm getting the following error: err: Could not retrieve catalog from remote server: Error 4