Foreman 1.1 installer notes on Ubuntu 12.04 svr

Ron, thanks for going through this so thoroughly! I've added some comments
inline.

> I just tried to enrole in Redmine so I could put in a ticket on the new
> version of the Foreman 1.1 installer, just a few things I noticed while
> installing on Ubuntu 12.04 server. It's been over an hour, I assume I
> fat-fingered something while enrolling, I'll have to deal with that, but
> meanwhile, I thought I would post my findings here:
>
> This was not on a "real" machine, but in a VM (virtualbox if it matters).
>
> 1. the package rubygems needs to be installed for the generate_answers.rb
> script to successfully run, but this was not part of the instructions.
> IMHO, this should be installed as a required package.
>

+1, this will be fixed in the package that's going out today or tomorrow.

>
> 2. Script, generate_answers.rb must be run after "cd
> /usr/share/foreman-installer", or it won't run. Not running from this
> directory results in an error message:
>
> /usr/share/foreman-installer/generate_answers.rb:91:in initialize': No > such file or directory - foreman_installer/answers.yaml (Errno::ENOENT) > from /usr/share/foreman-installer/generate_answers.rb:91:inopen'
> from /usr/share/foreman-installer/generate_answers.rb:91:in
> parting_message' > from /usr/share/foreman-installer/generate_answers.rb:84:in >save_or_run_and_exit'
> from /usr/share/foreman-installer/generate_answers.rb:164
>

This is also fixed in the 1.1-2 package.

>
>
> 3. During run of puppet, as part of running generate_answers.rb, install
> fails with message:
>
> "err: Removing mount files: /etc/puppet/files does not exist or is
> not a directory."
>
> It's a minor issue, but could be confusing. Doesn't cause failure
> downstream.
>
> 4. During run of puppet, as part of running generate_answers.rb, install
> fails with message:
>
> "err:
> /Stage[main]/Puppet::Server::Config/File[/usr/share/puppet/modules]/ensure:
> change from absent to directory failed: Cannot create
> /usr/share/puppet/modules; parent directory /usr/share/puppet does not
> exist"
>
> This is a result of /usr/share/puppet directory not existing. It
> causes several other issues down stream.
>
>
I'll looking into this now since I haven't seen it before and will get the
fix into the upcoming release.

··· On Tue, Feb 12, 2013 at 1:03 PM, Ronald Wolf wrote:

Thanks,

Ron


You received this message because you are subscribed to the Google Groups
"foreman-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to foreman-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Thank you, guys, for the improved installation. Great work! I'm glad I
could help in some small way.

Ron

··· On Tuesday, February 12, 2013 12:31:36 PM UTC-6, Sam Kottler wrote: > > Ron, thanks for going through this so thoroughly! I've added some comments > inline. > > >> >> > >