Ask Your Question

configure init.pp to deploy software to different OS versions

asked 2018-01-17 15:10:54 -0600

ck12986 gravatar image

I need to deploy two versions of repo files to servers with two RH versions, RH6 and RH7, how do I configure init.pp to accomplish this task

edit retag flag offensive close merge delete


You can use resource-like class declarations defining its parameters via conditionally evaluated variables.

Kai Burghardt gravatar imageKai Burghardt ( 2018-01-18 05:02:25 -0600 )edit

This is fine if it was an rpm to deploy, but the files I am trying to deploy are simple ASCII files where each file corresponds to their respective operating system.

ck12986 gravatar imageck12986 ( 2018-01-18 14:34:13 -0600 )edit

So? A little more details would be perfect, you know. Till this day I have no idea what `init.pp` you're talking about, yeah.

Kai Burghardt gravatar imageKai Burghardt ( 2018-01-19 08:24:35 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2018-01-22 00:49:26 -0600

Mr_Sharma gravatar image

I guess this is the duplicate question which is answered here with few examples:

In case, this question expecting a different answer which is explained above please edit your question to add more details.

edit flag offensive delete link more

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: 2018-01-17 15:10:54 -0600

Seen: 33 times

Last updated: Jan 22