Look into templates.

https://docs.puppetlabs.com/guides/templating.html

https://docs.puppetlabs.com/puppet/latest/reference/lang_template.html

On Thu, Jul 23, 2015 at 12:27:03AM -0700, Ayyanar wrote:
>    1."       sed -i 's/\$\$HISTORY\$\$/puppet/'                    
>    /etc/system.com      "
> 
>    I want to replace a word $$HISTORY$$ with puppet text into /etc/system.com
>    file.
> 
>    Thanks for your commands.
>    Ayyanar.
> 
>    --
>    You received this message because you are subscribed to the Google Groups
>    "Puppet Users" group.
>    To unsubscribe from this group and stop receiving emails from it, send an
>    email to [1][email protected].
>    To view this discussion on the web visit
>    
> [2]https://groups.google.com/d/msgid/puppet-users/5ba5c95e-b91b-43a6-84bb-26c3f9c030d9%40googlegroups.com.
>    For more options, visit [3]https://groups.google.com/d/optout.
> 
> References
> 
>    Visible links
>    1. mailto:[email protected]
>    2. 
> https://groups.google.com/d/msgid/puppet-users/5ba5c95e-b91b-43a6-84bb-26c3f9c030d9%40googlegroups.com?utm_medium=email&utm_source=footer
>    3. https://groups.google.com/d/optout

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" 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-users/20150723125219.GA9958%40iniquitous.heresiarch.ca.
For more options, visit https://groups.google.com/d/optout.

Reply via email to