Ask Your Question

How to replace a file except few line ?

asked 2016-01-05 05:41:20 -0600

yoga gravatar image

updated 2016-01-05 05:55:23 -0600

I want to replace the file from master to agent except some lines which may be different from each other. Explain me.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2016-01-05 06:00:40 -0600

maybe you need this ?

edit flag offensive delete link more


Thank you. without template can we write this one using puppet resources?

yoga gravatar imageyoga ( 2016-01-05 06:42:33 -0600 )edit

You'll need to explain in more detail what it is that you're trying to do.

Alex Harvey gravatar imageAlex Harvey ( 2016-01-05 09:36:42 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2016-01-05 05:41:20 -0600

Seen: 58 times

Last updated: Jan 05 '16