On Thursday, 16 July 2015 23:57:39 UTC+5:30, Joachim Thuau wrote:
>
>
>
> On Thursday, July 16, 2015, <[email protected] <javascript:>> wrote:
>
>> exec { file1:
>>                   command => "/bin/echo "export 
>> JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk.x86_64"; >> /home/haas/.bashrc",
>>         }
>> } 
>>
>
> As-is, you have a quoting problem (the 'command' value set ends just 
> before export.
>
> That being said, I would use a 'file_line' resource to manage that rather 
> than an exec.
>
> Jok
>
>
Thanks Jok. I am using file_line resource 

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-dev/3df16470-6b34-482c-b304-10217fa33056%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to