duritong / puppet-trocla

puppet integration for trocla
11 stars 18 forks source link

how to use this module? #1

Closed kyanh closed 12 years ago

kyanh commented 12 years ago

Hi,

how to use this module? I download it but I don't know where to start. Can you give an example?

Thanks.

duritong commented 12 years ago

https://tech.immerda.ch/2011/12/trocla-get-hashed-passwords-out-of-puppet-manifests/

icy commented 12 years ago

Thank you. I figured it out:

I have to clean up some code in trocla/manifests/master.pp, as in my environment, puppet master and pupet client on the master node use different ruby/rvm setup and the puppet daemon can't install any rubygems.

duritong commented 12 years ago

If you have your modulepath properly setup and named the checked out module also trocla, you don't need to do the imports. Generally I advice you to not use import, it should be seen as deprecated and everything within puppet should work with the autoloading feature. See http://docs.puppetlabs.com/guides/language_guide.html#importing-manifests

All the other steps are fine.

icy commented 12 years ago

Thank you for the tips :) I am a Puppet's old man :P

voidzero commented 12 years ago

Hi,

I am still in kindergarten, well not really, although my puppet skill level is.. :)

So I might have installed everything correctly, yet I do get the following error:

Failed to parse template mysql/root/my.cnf.erb: can't convert false into Hash at /etc/puppet/modules/mysql/manifests/server/base.pp

Can you lend me a hand with this?

icy commented 12 years ago

You seem to have a problem with your template "mysql.root.my.cnf.erb". Sharing your template would help /me to know what is your error.

Btw, you would create new ticket and/or find support in puppet channels -- which are often faster...