Skip to content

Ticket/2.7.x/10940 deprecate apply for catalog#231

Merged
ccaum merged 1 commit intopuppetlabs:2.7.xfrom
kelseyhightower:ticket/2.7.x/10940_deprecate_apply_for_catalog
Dec 8, 2011
Merged

Ticket/2.7.x/10940 deprecate apply for catalog#231
ccaum merged 1 commit intopuppetlabs:2.7.xfrom
kelseyhightower:ticket/2.7.x/10940_deprecate_apply_for_catalog

Conversation

@kelseyhightower
Copy link

Without this patch, the puppet apply command uses the --apply option
to reference a Puppet catalog. This can cause a bit of confusion as both
the subcommand and option have the same name.

This patch improves the usability of the puppet apply command by
adding a new --catalog option. This patch also adds a deprecation
warning whenever the --apply option is used, which advises end-users
to use the --catalog option instead.

This patch updates the in-line help documentation by adding help output
for the new --catalog option, and adding a deprecation warning for the
--apply option.

The plan is to deprecate the --apply option in the next 2.7.x release,
and removal in the future. External documentation should be updated to
reflect the new preference towards using the --catalog option in-place
of --apply.

Preferred method of applying a Puppet catalog using puppet apply:

$ puppet apply --catalog <catalog>

This patch also includes the spec tests covering the changes in
behavior.

Without this patch, the `puppet apply` command uses the `--apply` option
to reference a Puppet catalog. This can cause a bit of confusion as both
the subcommand and option have the same name.

This patch improves the usability of the `puppet apply` command by
adding a new `--catalog` option. This patch also adds a deprecation
warning whenever the `--apply` option is used, which advises end-users
to use the `--catalog` option instead.

This patch updates the in-line help documentation by adding help output
for the new `--catalog` option, and adding a deprecation warning for the
`--apply` option.

The plan is to deprecate the `--apply` option in the next 2.7.x release,
and removal in the future. External documentation should be updated to
reflect the new preference towards using the `--catalog` option in-place
of `--apply`.

Preferred method of applying a Puppet catalog using `puppet apply`:

    $ puppet apply --catalog <catalog>

This patch also includes the spec tests covering the changes in
behavior.
ccaum added a commit that referenced this pull request Dec 8, 2011
…cate_apply_for_catalog

Ticket/2.7.x/10940 deprecate apply for catalog

Reviewed by Carl Caum <carl@puppetlabs.com>
@ccaum ccaum merged commit eae2c9d into puppetlabs:2.7.x Dec 8, 2011
melissa pushed a commit to melissa/puppet that referenced this pull request Mar 30, 2018
(maint) Improve output if SSL config test fails
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants