(#20787) Do not generate NetBIOS name service requests

Previously, we were constructing an ADSI connection uri using the local
computer name, e.g. 'WinNT://hostname/Administrator,user'. However, Windows
performs a NetBIOS name service request (NBNS), one request for each ADSI
connection, which is very slow when enumerating users and groups.

Simply using '.' to denote the local computer eliminates all NBNS
requests. This reduces the time to run `puppet resource user` from 198
seconds to 3.1 seconds for 39 users, and from 98 seconds to 2.8 seconds for
16 groups.

Note we still have to use the fully qualified uri when adding/removing
users from a group, though it does not result in NBNS requests.
Merge pull request #1663 from joshcooper/ticket/stable/20787-adsi-performance

(#20787) Do not generate NetBIOS name service requests
extend the zypper provider with install_options feature

With this patch you can now define a unsigned rpm repository like this:
package { "special-mysql":
  ensure => "present",
  install_options => ['--no-gpg-check', {'-p' => '/vagrant/files/localrepo/'}]
}
Merge branch 'pull-1668'

This closes GH-1668
(#17827) Properly format SMTP HELO when sending tagmail

Previously, the tagmail report sending code did not initialize
Net::SMTP.start with a 'helo' option, which causes securely-
configured SMTP servers to reject the mail.

This commit adds settings to control the destination SMTP port
and the value for SMTP HELO, which default to 25 and our fqdn,
respectively.

Report and original patch from Jim Pirzyk.
Merge branch 'pull-1351'

This closes GH-1351
(maint) Minor cleanup to mailalias

A recent commit removed a workaround for a ruby 1.8.1 GC bug, but missed the
extra variable assignment in this file.
(Maint) Simplify search for init scripts
Merge pull request #1672 from dalen/simplify_search

(Maint) Simplify search for init scripts
Set HOME environment for eix/portage provider

Lack of this variable causes "No $HOME found in environment." message in
stderr of eix command, which is misleading in a situation when a package
is not found or some other error occurred.
Merge pull request #1673 from vzctl/fix-eix-error

Set HOME environment for eix/portage provider
Revert "Merge branch 'cprice-puppet-bug/3.0rc/15187-log-fatal-errors-to-console'"

This reverts commit 8d99bcbe6ebe6ca15868334bb52349911b58598c, reversing
changes made to 7d6515f076715c1feab0addc99312c42fb8b578c.

This change had two unintended side effects:

1) 20900 tagmail from 'puppet agent --onetime' run as a cron job begins
sending additional emails of verbose logs.

2) 20919 cron job of 'puppet agent --onetime --no-daemonize' produces
additional verbose logs to both console and syslog.

Issue #1 occured because the 15187 patch caused agent log level to
switch to info by default.

Issue #2 was due to the above log level issue, and the fact that by
default a console logger was also opened for all agents, which does not
get closed if --no-daemonize is specified.

Reverting fixes both of these unintended logging issues by returning to
the logging behavior seen in 3.1.1.
Merge branch 'ticket/stable/20900-revert-agent-console-logging' into stable

* ticket/stable/20900-revert-agent-console-logging:
  Revert "Merge branch 'cprice-puppet-bug/3.0rc/15187-log-fatal-errors-to-console'"
Merge branch 'stable'

* stable:
  Revert "Merge branch 'cprice-puppet-bug/3.0rc/15187-log-fatal-errors-to-console'"
  (#20787) Do not generate NetBIOS name service requests
Merge branch 'master' of https://github.com/puppetlabs/puppet