Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(PDK-895) basic array support #59

Merged
merged 4 commits into from
Apr 10, 2018

Conversation

DavidS
Copy link
Contributor

@DavidS DavidS commented Apr 9, 2018

No description provided.

@DavidS DavidS changed the title Pdk 895 basic array support (PDK-895) basic array support Apr 9, 2018
@DavidS DavidS force-pushed the pdk-895-basic-array-support branch from f36a7ea to 3e052ae Compare April 9, 2018 11:00
This is not needed anymore
@DavidS DavidS force-pushed the pdk-895-basic-array-support branch from 3e052ae to 770310f Compare April 9, 2018 11:14
@DavidS
Copy link
Contributor Author

DavidS commented Apr 9, 2018

The openssl change improves test times on appveyor by approximately a minute out of six and a half.

@DavidS DavidS force-pushed the pdk-895-basic-array-support branch from 770310f to 6d3ed67 Compare April 9, 2018 16:13
Use the new `mungify` function to replace the entire validate/munge
cycle on Parameters and Properties.

This includes a couple of hacks to not break other parts of puppet.

Also includes some fixes were test data for the patterns did not actually
match the expectations (either Integers instead of Strings, or only seven
digits, instead of eight).
@DavidS DavidS force-pushed the pdk-895-basic-array-support branch from 6d3ed67 to e6ce04d Compare April 10, 2018 14:17
@DavidS DavidS merged commit c04a5bf into puppetlabs:master Apr 10, 2018
@DavidS DavidS deleted the pdk-895-basic-array-support branch April 10, 2018 14:39
DavidS added a commit to DavidS/puppet-resource_api that referenced this pull request Apr 10, 2018
Most of the work for this has been done in puppetlabs#59. This adds some tests
to verify the functionality.
DavidS added a commit to DavidS/puppet-resource_api that referenced this pull request Apr 10, 2018
All the work for this has been done in puppetlabs#59. This adds some tests
to verify the functionality.
DavidS added a commit to DavidS/puppet-resource_api that referenced this pull request Apr 10, 2018
All the work for this has been done in puppetlabs#59. This adds some tests
to verify the functionality.
DavidS added a commit to DavidS/puppet-resource_api that referenced this pull request May 22, 2018
The mungify introduced in puppetlabs#59 would also affect strings passed in as
parameters through manifests (e.g. using `puppet apply` or the agent),
masking input type errors. This change fixes the behaviour so that
munging is only happening when the runtime environment is actually
puppet resource.

Of course, long-term it would be better to have the CLI itself mungify
inputs from the CLI. Such an implementation could provider more specific
error messages, and reduce code complexity here. For now, this solution
works across all puppet versions, and provides the same functionality.
versions.
DavidS added a commit to DavidS/puppet-resource_api that referenced this pull request May 22, 2018
The mungify introduced in puppetlabs#59 would also affect strings passed in as
parameters through manifests (e.g. using `puppet apply` or the agent),
masking input type errors. This change fixes the behaviour so that
munging is only happening when the runtime environment is actually
puppet resource.

Of course, long-term it would be better to have the CLI itself mungify
inputs from the CLI. Such an implementation could provider more specific
error messages, and reduce code complexity here. For now, this solution
works across all puppet versions, and provides the same functionality.
versions.
DavidS added a commit to DavidS/puppet-resource_api that referenced this pull request May 22, 2018
The mungify introduced in puppetlabs#59 would also affect strings passed in as
parameters through manifests (e.g. using `puppet apply` or the agent),
masking input type errors. This change fixes the behaviour so that
munging is only happening when the runtime environment is actually
puppet resource.

Of course, long-term it would be better to have the CLI itself mungify
inputs from the CLI. Such an implementation could provider more specific
error messages, and reduce code complexity here. For now, this solution
works across all puppet versions, and provides the same functionality.
versions.
DavidS added a commit to DavidS/puppet-resource_api that referenced this pull request May 22, 2018
The mungify introduced in puppetlabs#59 would also affect strings passed in as
parameters through manifests (e.g. using `puppet apply` or the agent),
masking input type errors. This change fixes the behaviour so that
munging is only happening when the runtime environment is actually
puppet resource.

Of course, long-term it would be better to have the CLI itself mungify
inputs from the CLI. Such an implementation could provide more specific
error messages, and reduce code complexity here. For now, this solution
works across all puppet versions, and provides the same functionality.
versions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant