Skip to content

(#22557) Validate that a package name is a string#1980

Merged
jpartlow merged 1 commit intopuppetlabs:masterfrom
zaphod42:jpartlow-issue/master/22557-array-of-package-names-not-allowed
Oct 8, 2013
Merged

(#22557) Validate that a package name is a string#1980
jpartlow merged 1 commit intopuppetlabs:masterfrom
zaphod42:jpartlow-issue/master/22557-array-of-package-names-not-allowed

Conversation

@zaphod42
Copy link
Contributor

@zaphod42 zaphod42 commented Oct 8, 2013

The package providers assume that the name of a package resource is a string,
but the type allowed the name to be anything. This caused some manifests to
pass several different names in and rely on an accident of the provider
implementation that allowed that to work in some situations. Since the
providers were never intended to work with multiple names, this changes the
type to validate that the name is simply a string.

The package providers assume that the name of a package resource is a
string, but the type allowed the name to be anything. This caused some
manifests to pass several different names in and rely on an accident of
the provider implementation that allowed that to work in some
situations. Since the providers were never intended to work with
multiple names, this changes the type to validate that the name is
simply a string.
@puppetcla
Copy link

CLA signed by all contributors.

jpartlow added a commit that referenced this pull request Oct 8, 2013
…ray-of-package-names-not-allowed

(#22557) Validate that a package name is a string
@jpartlow jpartlow merged commit 1fa46f5 into puppetlabs:master Oct 8, 2013
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.

3 participants