Ask Your Question
0

Puppet master configuration separate file from client

asked 2015-02-24 16:23:10 -0500

Joseph Carlos gravatar image

We are running Puppet 3.7. Our Puppet Masters have [master] configurations. The Puppet Masters are also puppet clients of themselves so they have [agent] settings.

Is it possible to put the [master] configuration directives in one file and the [agent] directives in a different file and still have the both the master and client portions find them?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-02-24 22:06:27 -0500

GregLarkin gravatar image

Unfortunately, I don't see anything in the documentation indicating that you can do that in the default configuration, c.f.:

I suppose you could add the following to your /etc/sysconfig/pe-puppet file (assuming PE on RHEL-flavored system):

PUPPET_EXTRA_OPTS=--confdir /etc/puppetlabs/puppet/agent-confdir

and then place your agent-specific config directives in /etc/puppetlabs/puppet/agent-confdir/puppet.conf.

Is there a specific reason that you want to do that? If you can supply more details, perhaps there is another way to achieve what you are trying to do.

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

Stats

Asked: 2015-02-24 16:23:10 -0500

Seen: 103 times

Last updated: Feb 24 '15