On Jun 24, 2011, at 10:42 AM, Nigel Kersten wrote:

> On Fri, Jun 24, 2011 at 10:38 AM, Craig White <craig.wh...@ttiltd.com> wrote:
>> Nevermind... under control - thanks for the fish
> 
> Heh. Great timing, I was just typing up a reply.
> 
> Craig, I'd appreciate it if we could try and work out what led you
> down the wrong path in terms of syntax so we can try to make sure it
> doesn't happen for other people learning Puppet in the future. I'd be
> more than happy to have an off-list chat if needed.
----
I don't think anything is wrong with the documentation - I probably bit off a 
very complicated use case before I had my understanding up to speed. This has 
taught me much though.

I am trying to make apache co-exist with nginx which is difficult enough 
(managing ports, virtual host conf) but we are also using gems for things like 
nginx which add to the complexity. I suspect that some may be interested in 
what I finally work out (and I'm maybe another 4-6 hours away from completing 
this).

What I didn't realize was that in my process of flailing for answers, I failed 
to preserve an intermediate configuration that semi-worked and so I reverted to 
the file that I posted to the list yesterday which failed to account for ruby 
being in /usr/local (ruby-enterprise) and so I was getting failures because it 
couldn't find the command. This was clearly my issue and it had me going for a 
while.

Anyway, I've only been at this since Monday and I am quite pleased. I have 
managed to add some custom 'facts', get some pretty complicated chaining of 
package installations, work through some reasonably sophisticated templates so 
that things like apache & nginx config files, sysv initscripts, virtual hosts 
are all delivered with a high enough level of flexibility for mods, rewrite 
rules, etc. for each vhost.

Thanks again

Craig

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to