(#20121) Invoke chkconfig with --check on SuSE

On SuSE the `chkconfig` command needs to be passed the `--check` flag in order
to get exit codes that indicate if a service is enabled or not. Previously, we
were applying a regex to stderr but this was missing the case where the service
did not exist.

Ref: [#20121](https://projects.puppetlabs.com/issues/20121)
(#11276) Tarball entries should be relative to the `pkg` directory

Commit 94f2f0a9 removed the call to `Dir.chdir`, which is necessary so
that entries in the tarball are relative to the `pkg` directory, i.e.
each entry starts with the metadata release_name, which is of the form:

    myuser-mydir-X.Y.Z/

This issue was caught by the `loadable_from_modules` acceptance test as
the newly installed module did not install its metadata in the expected
locations.

This commit restores the `Dir.chdir` behavior and updates the test.
Merge branch 'joshcooper-ticket/stable/11276-chdir-fix' into stable

* joshcooper-ticket/stable/11276-chdir-fix:
  (#11276) Tarball entries should be relative to the `pkg` directory
(maint) Fix puppet module build empty tar issue on Solaris

Without this patch `puppet module build` produces an empty tar file when
run on Solaris.  This is obviously a problem.  The root cause is that
tar defaults to writing the archive to the tape device instead of STDOUT
as was expected.

This patch fixes the problem by explicitly using `tar cf - ...` to write
the archive to STDOUT.

Paired-with: Andrew Parker <andy@puppetlabs.com>
Merge branch 'fix_solaris_module_pack'

* fix_solaris_module_pack:
  (maint) Fix puppet module build empty tar issue on Solaris
  (#11276) Tarball entries should be relative to the `pkg` directory
(maint) Fix failing puppet module build test

cd4d720 fixed the issue with `puppet module build` on Solaris, but did
not update the spec test to reflect the new command being executed.

This patch updates the spec test.
Merge branch 'fix_pmt_build'

* fix_pmt_build:
  (maint) Fix failing puppet module build test
Merge pull request #1602 from Sharpie/20121-fix-suse-chkconfig

(#20121) Invoke chkconfig with --check on SuSE