Ask Your Question
0

How to declare my defined class in puppet..!?

asked 2017-06-16 01:06:25 -0600

rohithmn03 gravatar image

Hi Team,

I have the below splunk_install.pp under .../aoa_agent_installation/manifests/splunk_install.pp

class aoa_agent_installation::splunk_install {
    file {
    }
    exec {
    }
    ...
}

Now, where i have to declare it and How..!? Please help here..!

Regards, Rohith

edit retag flag offensive close merge delete

Comments

i think we can have `include aoa_agent_installation` statement in site.pp right..!?

rohithmn03 gravatar imagerohithmn03 ( 2017-06-16 03:58:30 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2017-06-16 06:29:24 -0600

rajeevsharma gravatar image

Hi Rohit, we expect you to go through the documentation first [here]. Note that you should also refer your manifest along with your module name if you have any other that init.

edit flag offensive delete link more

Comments

You also can find good information here.. https://docs.puppet.com/puppet/4.10/bgtm.html

DarylW gravatar imageDarylW ( 2017-06-16 08:12:14 -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

Stats

Asked: 2017-06-16 01:06:25 -0600

Seen: 35 times

Last updated: Jun 16