Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/voxpupuli/puppet-syntax

Syntax checks for Puppet manifests and templates
https://github.com/voxpupuli/puppet-syntax

Merge pull request #45 from trlinkin/epp_templates

Puppet 4 updates and EPP template support

24254bb40ac4394512237335f1ef5c046912cb6f authored about 9 years ago by Matt Bostock <[email protected]>
Refactor manifests unit tests further

This commit further refactors the unit tests in the `manifests_spec.rb`
file. It converts the us...

93e7b2a7f868ee82bb1affb7e01da2acbe9c7add authored about 9 years ago by Thomas Linkin <[email protected]>
Extend testing for EPP parsing

This commit extends the testing for EPP parsing to ensure that it works
at the right times and t...

a1b12909c4c3d4e0f8213a245b98d811896ae9c2 authored about 9 years ago by Thomas Linkin <[email protected]>
Refactor template logic and add tests

Without this commit, there was no validation that puppet-syntax would
terminate as expected when...

e3b1d8335dc71d92fdab2b7478c5c82cc291f214 authored about 9 years ago by Thomas Linkin <[email protected]>
Update Puppet 4 related test

The spec tests contain some tests that should not run unless the testing
suite is run against Pu...

b82a5dacc251f785b21f406422091a74024b2ae1 authored about 9 years ago by Thomas Linkin <[email protected]>
Use more readable regex in manifests spec

The regex used to test the project's ability to catch syntax errors in
Puppet code was too speci...

c442af297749667f6aee38ae5e87d4774d642dd7 authored about 9 years ago by Thomas Linkin <[email protected]>
Ignore future_parser in Puppet 4

This commit follows up on b7c2b1c in making it so that the future parser
setting is ignored when...

bdd75066c8b964b2fa351afe52f47c31ea5365e4 authored about 9 years ago by Thomas Linkin <[email protected]>
Refactor `manifests_spec.rb` for readability

Without this commit, there is a nested if structure controlling how
deprecation warning tests wi...

f89bdc3b0ebd54627027685b829b0934ca51264e authored about 9 years ago by Thomas Linkin <[email protected]>
Add Puppet 3.2.0 to the Ruby 2 excludes

This commit adds an exclusion for TravisCI testing of Puppet 3.2.0
against Ruby 2.1 as it seems ...

177fd6a20492f60cdff488878e6a20e6860ea80c authored about 9 years ago by Thomas Linkin <[email protected]>
Sort requires in `lib/puppet-syntax/templates.rb`

e49204162bd3aa6dea0ae1dfa96b33636bf670dd authored about 9 years ago by Thomas Linkin <[email protected]>
Add Puppet 4 to the testing matrix

This commit adds Puppet 4 to the testing matrix as a required passing
test.

Exclusions have bee...

6cb2e9f1aa00423058e0360f5ec3dc6317fff08e authored about 9 years ago by Thomas Linkin <[email protected]>
Add support for EPP templates

Puppet 4 now supports a new template language, the EPP (embedded puppet)
template.

This commit ...

8f238a8f0f856c8aff4542612173b9ad2b0da202 authored about 9 years ago by Thomas Linkin <[email protected]>
Add message about Puppet 4 and future parser

The future parser setting no longer has an effect on Puppet 4.0.0 as there
is no longer a future...

b7c2b1cbd0c3450b496fce1ad4876356be2b0132 authored about 9 years ago by Thomas Linkin <[email protected]>
Update manifest spec tests for Puppet 4

Now that Puppet 4 is released, tests can accurately be written to
confirm the behavior of syntax...

7fa38971f3ce9a22941660b9925626730e66cef0 authored about 9 years ago by Thomas Linkin <[email protected]>
Remove warnings for tag metaparameter from output

49f7d4d1125cd9c671511fe3e727ff4c2f38fb04 authored over 9 years ago by dhardy92 <[email protected]>
Merge pull request #41 from danzilio/master

Let's report the file name when hiera data fails to parse

c053ef68c51d570b38e9db765ec73596dbd933ef authored over 9 years ago by Andrew Langhorn <[email protected]>
Cleanup duplication of expected. Use tertiary operator rather than case.

a2e5193352280c84115b430248179444bc49c19e authored over 9 years ago by Josh Myers <[email protected]>
Let's report the file name when hiera data fails to parse

Reformatting the error

8d17ea268ba3a5cd9332364090623c0891f31f53 authored over 9 years ago by David Danzilio <[email protected]>
Merge pull request #40 from gds-operations/bump_version

Release version 2.0.0

e713db6793bc5ba0773c47d6b9f6adbc24bf8e75 authored almost 10 years ago by Alex Muller <[email protected]>
Release version 2.0.0

The major version bump is due to the API change in
PuppetSyntax::Manifests#check.

cbfadb4f0b0a5e4ddbd1509ead940408069b10f1 authored almost 10 years ago by Matt Bostock <[email protected]>
Merge pull request #38 from gds-operations/remove_travis_testing_of_old_things

Remove travis testing of ruby 1.8.7 and puppet 2.7

b77f48079e5ae044cfb0312b0c3ffbb401220946 authored almost 10 years ago by Alex Muller <[email protected]>
Remove travis testing of puppet 2.7

We have decided to no longer support puppet 2.7

f43c90b189fe00d9be717766a0241a880f669a2e authored almost 10 years ago by bob walker <[email protected]>
No longer test against ruby 1.8.7

Given that ruby 1.9.3 is about to EOLed we have decided that we will
stop supporting 1.8.7

1.9....

f2d1f3a2a08cb56a985cb96a3029ea0587ce5af3 authored almost 10 years ago by bob walker <[email protected]>
Merge pull request #28 from pcfens/no_fail_on_deprecation

Print, but don't fail on deprecation notice

8979f04acb1e87140ea679f879f1c9793368652f authored almost 10 years ago by bob <[email protected]>
Add a test for puppet 3.5 and 3.6

68cdb263b81299e2b0472becc536dab289fa0433 authored almost 10 years ago by Phil Fenstermacher <[email protected]>
Fix context label so that it matches what is actually going on

fe35cd95b4e0132d13417ad96f9498827dab6015 authored almost 10 years ago by Phil Fenstermacher <[email protected]>
Rename fail_on_warntins to fail_on_deprecation_notices

785b6d13c48bf02d9f3ebf186cd589ff5a962787 authored almost 10 years ago by Phil Fenstermacher <[email protected]>
Make sure that fail_on_wanrings defaults to true, but can be set to false

5f580d48168c570c95218e142e587a9e45efcea5 authored almost 10 years ago by Phil Fenstermacher <[email protected]>
Rename < 4.0 parser to non-future parser

3a8d6527ab7ccf63d309082b6e46e51d617558b3 authored almost 10 years ago by Phil Fenstermacher <[email protected]>
Match context text to what's being tested and polish some logic

b0eae898a82bc172f3287ae0b0d865966034263e authored almost 10 years ago by Phil Fenstermacher <[email protected]>
Relax conditional to always test the same against puppet versions 3.7 and above (and add a note about why)

830221c1c9d08c7ff511b09ad56fa1947a21721e authored almost 10 years ago by Phil Fenstermacher <[email protected]>
Return all output and a flag noting whether or not the output contains

errors.

0c34ec67c65f2c97123ff66f313a2bbb00f435b2 authored almost 10 years ago by Phil Fenstermacher <[email protected]>
Make has_errors code more readable

9147aa6f2d57e135dfc0457f99b761266eafb906 authored almost 10 years ago by Phil Fenstermacher <[email protected]>
Merge pull request #35 from gds-operations/release_141

Release 1.4.1

38e7e057a055d63fdfd2b9939176c0dc4137c113 authored almost 10 years ago by bob <[email protected]>
Release 1.4.1

451948e213d8ab9cebe097105085f3dbe6699951 authored almost 10 years ago by Dan Carley <[email protected]>
Merge pull request #34 from domcleal/append-config-arrays

Let Array#<< modify default configuration values

db35d625bdc496d2ac1cc723f0ff0b5c63ef77d5 authored almost 10 years ago by Dan Carley <[email protected]>
Let Array#<< modify default configuration values

Previously, config reader methods would return a new array for the default
value of paths, so if...

9d5d8419d87a52daab1265f5bbd20d8f31964575 authored almost 10 years ago by Dominic Cleal <[email protected]>
Merge pull request #32 from gds-operations/yaml_fix_ci

[#31] Use rbenv in jenkins.sh because Psych bug

f5e8233d09f940821e107b45413e7d02223cdafc authored about 10 years ago by Andrew Langhorn <[email protected]>
Use rbenv in jenkins.sh because Psych bug

Switch to using Ruby 1.9.3-p550 provided by rbenv instead of 1.9.3p0
provided by Ubuntu 12.04 wh...

6f70bacf66fc601064c764d350b5b015730c5bdf authored about 10 years ago by Dan Carley <[email protected]>
Merge pull request #29 from pcfens/test_against_puppet_3.7

Run tests against puppet 3.7

1762938e39dd0ff09ee8cc2cbf9e1fdd76781779 authored about 10 years ago by Dan Carley <[email protected]>
Run tests against puppet 3.7

543a4e524f4de6ebb2587895fbc87b578df9058c authored about 10 years ago by Phil Fenstermacher <[email protected]>
Merge pull request #26 from gds-operations/release_version_1.4.0

Release version 1.4.0

89229b2c44128ea4dd0cf484043ebd55cca4ed12 authored about 10 years ago by Dan Carley <[email protected]>
Release version 1.4.0

f6b3415fb71cb5e064b55038f7179e73599f9f1f authored about 10 years ago by Matt Bostock <[email protected]>
Merge pull request #25 from logicminds/lazy_load_puppet

lazy load the puppet and puppet/face as it creates issues on windows

40b19b8eb49562c9a0d66bdb789049ad28a164dc authored about 10 years ago by Matt Bostock <[email protected]>
lazy load the puppet and puppet/face as it creates issues on windows

* will also increase performance during intial loading
* allows the user to not have to load...

3876731bb51968dac67722c299281150ddc411ec authored about 10 years ago by Corey Osman <[email protected]>
Merge pull request #21 from tuxmea/rspec3test

Rspec 3 and 2 compatibility

225ea8f5ee82fe7edd1a9508eac2de8fcd4f6e82 authored about 10 years ago by Matt Bostock <[email protected]>
Merge branch 'rspec3test' of github.com:tuxmea/puppet-syntax into rspec3test

4d528d60f8d867be4e723f9adf0fc1643c00c2ad authored about 10 years ago by Martin Alfke <[email protected]>
RSpec 2 and 3 compatibility

6ee85c25f89aca710a97166dc42b7d1eefad558d authored about 10 years ago by Martin Alfke <[email protected]>
remove constraint for rspec < 2.99

eb1a64bf5c6ef7468b013492771dccc918841143 authored about 10 years ago by Martin Alfke <[email protected]>
Merge pull request #22 from gds-operations/fix_gem_publisher_require

Move gem_publisher require inside rake task.

e2c0926b83528c0249f0ec59dfba8e1b4ec1552f authored about 10 years ago by Dan Carley <[email protected]>
Move gem_publisher require inside rake task.

gem_publisher does not support ruby 1.8. This was causing the matrix
builds to fail in travis. ...

14e7b61a7585d0060ae7cc3e4ad30570a6419a19 authored about 10 years ago by Alex Tomlins <[email protected]>
RSpec 2 and 3 compatibility

aba1c8b6c11e04f66501a6c0bab2312df29f315b authored about 10 years ago by Martin Alfke <[email protected]>
remove constraint for rspec < 2.99

4de6db50da6bb5f2694e8977bfd3b084a1ebae45 authored about 10 years ago by Martin Alfke <[email protected]>
Merge pull request #20 from gds-operations/release-130

Release version 1.3.0

a51d744f41bed1bfa9972ea7749ed81d29aafced authored over 10 years ago by Dan Carley <[email protected]>
Release version 1.3.0

- Add the ability to pass hieradata_paths array of globs (f274a7b)
- Check hieradata in modules ...

90dbdd355293ea021029368d1f1044fb4a33a5f4 authored over 10 years ago by Sam J Sharpe <[email protected]>
Merge pull request #19 from danzilio/puppet-module-data

Support syntax checking of hiera data in modules.

aaa40f26cd3c3c12162e88bcf36dec6ec28fc36c authored over 10 years ago by Sam J Sharpe <[email protected]>
Making the location of hiera data configurable

f274a7bc189b92c8f500d2e5b92f6256b30a2bf0 authored over 10 years ago by David Danzilio <[email protected]>
Merge pull request #18 from gds-operations/psh_warning_ruby_18

[Fixes #13] Fix puppetlabs_spec_helper warning on Ruby 1.8

e48eb66b9f1be14abdd47fdd978993856b479d14 authored over 10 years ago by bob <[email protected]>
Support syntax checking of hiera data in modules.

11d7770f0ab5a117468fed9cf5c418cc0f3e5558 authored over 10 years ago by David Danzilio <[email protected]>
Fix puppetlabs_spec_helper warning on Ruby 1.8

Ruby 1.8 doesn't have the #source_location method. So instead parse the
filename out of the stri...

5e48ab257630d538118c03cf8f960a9381faac40 authored over 10 years ago by Dan Carley <[email protected]>
Release 1.2.3

17027a99bd9dbca46cd3e7e06c8a87ca4ea24462 authored over 10 years ago by Dan Carley <[email protected]>
Merge pull request #17 from gds-operations/gem_publisher_rake_task

Add gem_publisher rake task

bacb5f1ea5ba577e8ced1604262dd71ed85d5478 authored over 10 years ago by Matt Bostock <[email protected]>
Add gem_publisher rake task

Forgot to add this. It will fix the error from CI:

rake aborted!
Don't know how to buil...

691ef7ee6abe8236ac18c6240da3f8133d3c6056 authored over 10 years ago by Dan Carley <[email protected]>
Merge pull request #16 from gds-operations/warn_puppetlabs_spec_helper

[#13] Add warnings about puppetlabs_spec_helper

e3c2ec6a744a4000287b79b21ffe16c25d1a05f8 authored over 10 years ago by Matt Bostock <[email protected]>
Release 1.2.1

8c7498b12b2e9465f463086138aa5df9a2084dd1 authored over 10 years ago by Dan Carley <[email protected]>
Publish new gems from Jenkins

Using gem_publisher. I'd been doing this by hand previously. We no longer
need Bundler as a depe...

3eff693c5297b3481389f79c880253c70c0be326 authored over 10 years ago by Dan Carley <[email protected]>
[#13] Add warnings about puppetlabs_spec_helper

As described in the referenced issue, puppetlabs_spec_helper had it's own
:syntax rake task whic...

f5962cdaee45957899bf07ed8f4561d4f46c2d82 authored over 10 years ago by Dan Carley <[email protected]>
Merge pull request #14 from gds-operations/bump-version

Version 1.2.1

a85421edc113fef0f5c1ba3db83b85b92ee64485 authored over 10 years ago by Kushal Pisavadia <[email protected]>
Version 1.2.1

Bump version and CHANGELOG to reflect changes introduced in
3d05d278dc46319bd967e82a6acde4d57dd2...

3231d299060692953d0bd6361535b67d22012ea5 authored over 10 years ago by Matt Bostock <[email protected]>
Merge pull request #11 from fiddyspence/bug/remove_puppetgem_dependency

Removing the puppet dependency from the gemspec

e3bab094e79b3ff59d1f7d17f1e46fde2d91fb82 authored over 10 years ago by Matt Bostock <[email protected]>
Removing the puppet dependency from the gem because not everyone uses puppet from a gem

Updating gemspec to remove warnings re. summary and homepage

3d05d278dc46319bd967e82a6acde4d57dd2f8ba authored over 10 years ago by fiddyspence <[email protected]>
Merge pull request #12 from fiddyspence/bug/ignore_type_error

TypeError and test

e697c59d7daf7e3098e60eb43dfc9f03a7ae8292 authored over 10 years ago by Sam J Sharpe <[email protected]>
catch TypeError and test

2d391e3181985f3ac46aca7f791c62ea66b345f4 authored over 10 years ago by fiddyspence <[email protected]>
Lock rspec to pre-3.0.0

65a8efa7fb5df51aa284b604986e8ccb34f59eec authored over 10 years ago by Sam J Sharpe <[email protected]>
Merge pull request #10 from gds-operations/more_future_parser_tests

Test for future_parser on Puppet <= 3.2

89e191866dbd2b9e3ba989b7823b77c241c176b9 authored over 10 years ago by bob <[email protected]>
Test for future_parser on Puppet <= 3.2

This extends our coverage for the other side of the `if` condition on
`Puppet.version` and speci...

2de9eeccf658111dbb338e86316389a4ea95682d authored over 10 years ago by Dan Carley <[email protected]>
Isolate future_parser tests with rspec context

This ensures that `PuppetSyntax.future_parser` doesn't persist as true after
the test which prev...

43543cde941326305f4cf789c7dcf6063561e7f6 authored over 10 years ago by Dan Carley <[email protected]>
Release 1.2.0

a84cc3fa1af359c6b8393381d7a908c681f489cb authored over 10 years ago by Dan Carley <[email protected]>
Merge pull request #8 from hajee/support_for_future_parser

Added support for future parser

6dcd1accbf607ed54aa697a5e2ea22df60813dc7 authored over 10 years ago by Dan Carley <[email protected]>
More robust check of Puppet version

Signed-off-by: hajee <[email protected]>

3d2fca0ec6cc7f105202782b38403d5354af5338 authored over 10 years ago by hajee <[email protected]>
Removed the if in the gemspec

Signed-off-by: hajee <[email protected]>

b381e69e1897dbeca6b75fb023a04fdc1576fd36 authored over 10 years ago by hajee <[email protected]>
Added travis badge to README

Signed-off-by: hajee <[email protected]>

f0b83a6a3cd23dfa281dbb83dff847a3063332de authored over 10 years ago by hajee <[email protected]>
Added support for future parser when puppet version is >= 3.2

Signed-off-by: hajee <[email protected]>

dd3b7be593a39dc3330673f09e11073c74435461 authored over 10 years ago by Bert Hajee <[email protected]>
Release 1.1.1

82021c88a45c122b662f9ed80ef34331b9735662 authored almost 11 years ago by Dan Carley <[email protected]>
Merge pull request #7 from gds-operations/3-use_face_current_version

[Fixes #3] Use :current version of parser face

a7d3e3f746b83d0a1595907dad8b5a37be7cb0d0 authored almost 11 years ago by Sam J Sharpe <[email protected]>
Merge pull request #6 from gds-operations/puppet_34_support

Ignore exit(1) from Puppet 3.4 parser face

5895e9c3986dadeab1b808cb911ec6201bb1f5a0 authored almost 11 years ago by bob <[email protected]>
[#3] Use :current version of parser face

Rather than hard-coding a value. This will allow us to use a newer version
if Puppet core change...

be2b25bee3c0faed554988f89a10d214234fe3b5 authored almost 11 years ago by Dan Carley <[email protected]>
Add 3.4 as a puppet version for travis to test.

c90bbd260c5146de981a5b126c02ff5a6c0702f1 authored almost 11 years ago by bob walker <[email protected]>
Ignore exit(1) from Puppet 3.4 parser face

The parser face now exits with a non-zero exit code if it encounters any
errors in the manifests...

f1ddb4e4ec9ff6e0f332262c075b1ed92c35f50b authored almost 11 years ago by Dan Carley <[email protected]>
Reference new Hiera support in README.

9a93e793df0d5b674990814ff93b939d132bd0e3 authored over 11 years ago by Dan Carley <[email protected]>
Release 1.1.0

bbffd95879019ac33aa15b37ddccb37764a82993 authored over 11 years ago by Dan Carley <[email protected]>
Merge pull request #2 from andrewh/hiera-yaml

Add support for checking Hiera YAML files

5bcdb38ef419090862105fac1707054a079d9ce8 authored over 11 years ago by Nick Stenning <[email protected]>
Namespace hiera tasks under syntax

608a9d1fe85d2028739744d77f3f3ea1aa2f2f31 authored over 11 years ago by Andrew Hodgson <[email protected]>
Make the hiera syntax check and specs 1.8-friendly

99521c43dbdc861eb5983f77f658fdc21e6b3190 authored over 11 years ago by Andrew Hodgson <[email protected]>
version: revert to 1.0.0

4893b3136934ba7e6b30a885a858fe2e2612c5d0 authored over 11 years ago by Andrew Hodgson <[email protected]>
Add support for checking Hiera YAML files

This includes a new `hiera` Rake task that assumes a `hieradata` directory
and a `hiera.yaml` fi...

d66591babb630f472198f0f29e0bbcc7af1e10ac authored over 11 years ago by Andrew Hodgson <[email protected]>
Pretty up version support section in README

I dislike paragraphs that wrap by just a couple of works.
Bullet lists are, however, awesome.

15739b9b538519ab3127dc4843c3b708d9c809f4 authored over 11 years ago by Dan Carley <[email protected]>
Add README example of chaining tasks for CI

Gives the indication that this is primarily intended for use with CI and how
to chain it with an...

f12b2aded09bc553300475b595f1002deefca089 authored over 11 years ago by Dan Carley <[email protected]>
List supported Puppet and Ruby versions in README

Not an extensive list. TravisCI matrix config should be the canonical source
of versions that we...

9a966acdb983d6731e57de1011296ffb7e956a94 authored over 11 years ago by Dan Carley <[email protected]>
Release 1.0.0

4032e0947443397213f7e8d42dfdce26012c0ea6 authored over 11 years ago by Dan Carley <[email protected]>