Bug 1086402 - mcollective client.cfg should be only be readable by apache
Add a sample gear-placement plugin

Add a sample gear-placement plugin from abhgupta to use as a template.
Merge pull request #338 from Miciah/enterprise-2.1-add-sample-gear-placement-plugin

 Add a sample gear-placement plugin
Install script updates

- Apply sysctl settings after configuring
- Support setting gear_profile name
- Restart Services and run oo-diagnostics after install
- add post_deploy action
- move run_diagnostics action to post_deploy
- support for configuring districts
- Update valid gear sizes on broker in post_deploy
- Fix register host dns, other cleanup
- Improve output to be parsed by oo-install
- update openshift-facts after restarting services
<oo-install>Support for gear profiles/districts

- Add restart_services to configure steps for a host
- add post_deploy step for broker/nodes
- Initial support for setting gear_profile
- add support for valid gear sizes and district mappings
- Run host dns configuration every time installer is run
- make URLs configurable based on version
- Prompt for district/node questions when adding the node role to an
  existing host.
- only ask district/node questions if context is :ose
- Set ose-2.1 as the default for the ose context
- update for github raw URL change
<oo-install>Update openshift.sh for testing
<oo-install>turning oo-install openshift.sh into a symlink
- add target file to sed calls missing target file
- actually make use of CONF_HOSTS_DOMAIN_KEYFILE if set
- pipe stderr along with stdout where appropriate
- use bash regex substitution instead of messing with IFS
- switch oo-mco call to use server identity instead of public_hostname
- when multiple nodes belong to a district, only verify profile on first
  and then call oo-admin-ctl-district once for all nodes in that
  district.
install script fixes

- grammar fix
- use sed pattern deletion instead of substution
<oo-install> Update package rake task support using local ose script

- add an environment variable to use local openshift.sh script
- make sure to dereference links when copying oo-install directory to
  tmp directory
- use working_branch for base build
more install script fixes

- fix spelling
- use parameter substitution for extracting district/nodes from district
  mapping instead of a subshell
- use extended brace expansion instead of seq
group broker post_deploy steps under a single conditional
<oo-install> remove debug output that was left in
<oo-install> cleanup some district/profile code

- Use map to build up district mapping string
- Use map clean up gear profile and district retrieval
- do not execute post_deploy step unless a host is completed or
  validated
remove run_diagnostics action from post_deploy
<oo-install> add new run_diagnostics step, remove run_diagnostics from post_deploy
<oo-install> Remove comment about rebooting systems
More gear configuration on broker

- Add support for setting DEFAULT_GEAR_CAPABILITIES
- Add support for setting DEFAULT_GEAR_SIZE
<oo-install> add support for setting default_gear_capabilities and default_gear_size on broker
Support scrambled passwords by default with install scripts

- CONF_NO_SCRAMBLE added (default to false) to revert to old behavior of
  setting insecure passwords.
- Added output at the end of the script to display the
  usernames/passwords set by the install script