Adding support for configuring External Authentication

- New menu entry "Configure External Authentication (httpd)"
- Checks for pre-requisites
- Validates the IPA Server is reachable
- Uninstalls/Re-Installs and configures the IPA Client
- Configures ipa/pam/sssd/httpd/SELinux
- Restarts sssd and httpd
Looks like for my use, using LinuxAdmin::Service is more appropriate.  I’ll make the necessary changes.

Alberto Bellotti
abellott@redhat.com





On Jul 2, 2014, at 3:36 PM, Keenan Brock <notifications@github.com> wrote:

> In lib/appliance_console/external_httpd_authentication.rb:
> 
> > +        configure_pam
> > +        configure_sssd
> > +        configure_httpd_external_auth
> > +        configure_httpd
> > +        configure_selinux
> > +      rescue => e
> > +        say("Failed to Configure External Authentication - #{e}")
> > +        return false
> > +      end
> > +      true
> > +    end
> > +
> > +    def post_activation
> > +      say("\nRestarting sssd and httpd ...")
> > +      AwesomeSpawn.run!("#{SERVICE_COMMAND} sssd restart")
> > +      AwesomeSpawn.run!("#{SERVICE_COMMAND} httpd restart")
> 
> there is some service group stuff. not sure if we can leverage them @jrafanie ?
> 
> —
> Reply to this email directly or view it on GitHub.
>