jtopjian / puppet-puppet

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Various directory paths as params

shishirsharma opened this issue · comments

@jtopjian I am using puppet-puppet in a Master-Server arch on AWS, I want to use Capistrano to deploy code on master. I need to change directory structure of puppet to some thing like /etc/puppet/current/puppet.conf also i need two module directories like /etc/puppet/shared/modules and /etc/puppet/current/modules/

I don't think your module takes these as params, or if I am missing something.

Since you're changing the default location of puppet.conf, you're right, that's not possible with this module. I think you'll have to edit either the Puppet init scripts or specify the non-standard puppet.conf location on the command line for each invocation of the puppet command.

Once puppet has been executed and looks at the right configuration file, then you can add any other setting you want using this module. For example, the confdir setting... but that's rather moot since Puppet needs to know this setting prior to accessing the file. :)

But specifying your two module settings should indeed be possible.

Ensuring the actual directories exist is outside of the scope of this module.

I hope that helps.