Kevin Paulisse
b608a98aad
Add `validate_references` to the example config file
2016-12-23 14:39:15 -05:00
Kevin Paulisse
f650537b9d
Add --no-validate-references to specify nothing to be validated
2016-12-23 14:36:44 -05:00
Kevin Paulisse
12e1e877a9
Add integration for reference validation disabled
2016-12-23 13:00:08 -05:00
Kevin Paulisse
520045fc15
Add documentation for catalog validation
2016-12-23 12:58:07 -05:00
Kevin Paulisse
b5979a67a2
Add unit/spec test for catalog validation
2016-12-23 12:39:23 -05:00
Kevin Paulisse
d96a797e11
Update spec stubs to allow extra arguments to validate method
2016-12-23 12:13:16 -05:00
Kevin Paulisse
b0e293047f
Add validator arguments; only validate references for to-catalog
2016-12-23 12:08:59 -05:00
Kevin Paulisse
c3de47591b
Add additional catalog-diff parameters
2016-12-23 10:19:06 -05:00
Kevin Paulisse
0d9e2be8b3
Add test for no checking of references enabled
2016-12-23 10:16:11 -05:00
Kevin Paulisse
ed5454a57c
Add tests for catalog-diff
2016-12-23 10:15:34 -05:00
Kevin Paulisse
50027ee8b7
Add test of pre-compiled catalog
2016-12-23 10:07:15 -05:00
Kevin Paulisse
6ef84d9f03
Update tests and fixtures with more complete errors and to test custom defined type
2016-12-23 09:52:45 -05:00
Kevin Paulisse
554f573eb2
Simplify logic around reference error generation
2016-12-23 09:43:11 -05:00
Kevin Paulisse
dad58e517b
Resolve exception when array is empty
2016-12-22 21:51:17 -05:00
Kevin Paulisse
2839d11c38
Create useful error message for broken reference checks
2016-12-22 21:45:01 -05:00
Kevin Paulisse
d6b1380e96
Add better error messages and checking of error messages
2016-12-22 21:33:34 -05:00
Kevin Paulisse
4b7af5a2a1
Add fixtures for before, notify, and require; stub tests
2016-12-22 21:18:45 -05:00
Kevin Paulisse
0935cd2087
Stub additional validation tests
2016-12-22 21:14:54 -05:00
Kevin Paulisse
57bab04cf3
Consolidate
2016-12-22 21:01:54 -05:00
Kevin Paulisse
76da47ae7d
Create validation function; create test based on broken subscribe call
2016-12-21 20:13:18 -05:00
Kevin Paulisse
c7a8dc6eb7
Add reference validation option
2016-12-20 11:59:15 -06:00
Kevin Paulisse
1dfcdcb38b
Check for representative resources
2016-12-20 11:50:43 -06:00
Kevin Paulisse
50da9f51d3
Stub fixture puppet repo
2016-12-20 11:44:09 -06:00
Kevin Paulisse
0be32abe2f
Construct fixtures for reference validation integration tests
2016-12-20 11:36:53 -06:00
Kevin Paulisse
6e3eb0b7c6
Add error class for validation error
2016-12-20 11:19:51 -06:00
Kevin Paulisse
539a19c593
Convert integration result to openstruct
2016-12-20 11:19:28 -06:00
Kevin Paulisse
3e670c409e
Merge pull request #34 from github/kpaulisse-bootstrap-script-starts-with-slash
...
Allow bootstrap script to start with slash
2016-12-20 07:51:15 -06:00
Kevin Paulisse
4e2a3283cd
Allow bootstrap script to be an absolute path if it starts with '/'
2016-12-19 20:26:39 -06:00
Kevin Paulisse
d624dcc01a
Add test for absolute path to bootstrap script
2016-12-19 20:25:03 -06:00
Kevin Paulisse
670e1b38f0
Merge pull request #21 from github/kpaulisse-remove-time-based-tests
...
Remove "time within X seconds" tests which can be flaky
2016-12-19 20:20:57 -06:00
Kevin Paulisse
5c6e5b2865
Merge branch 'master' into kpaulisse-remove-time-based-tests
2016-12-19 20:15:02 -06:00
Kevin Paulisse
09798854b0
Merge pull request #26 from github/kpaulisse-frozen-string-literal
...
Frozen string literals
2016-12-19 20:14:47 -06:00
Kevin Paulisse
f476892bc3
Merge branch 'master' into kpaulisse-frozen-string-literal
2016-12-19 20:03:39 -06:00
Kevin Paulisse
dedfdf3684
Merge pull request #24 from github/kpaulisse-puppetdb-v3
...
Support puppetdb API v3
2016-12-19 20:03:25 -06:00
Kevin Paulisse
98cbc9dbc7
Merge branch 'master' into kpaulisse-frozen-string-literal
2016-12-19 20:01:05 -06:00
Kevin Paulisse
6e66c629cd
Merge branch 'master' into kpaulisse-remove-time-based-tests
2016-12-19 19:59:14 -06:00
Kevin Paulisse
f22a62e4ce
Merge branch 'master' into kpaulisse-puppetdb-v3
2016-12-14 16:04:48 -06:00
Kevin Paulisse
4aceadc5c6
Merge pull request #32 from masterzen/feature/support-other-hiera-backends
...
Support for rewriting hiera datadir from multiple backends
2016-12-14 16:01:56 -06:00
Kevin Paulisse
870201f8f6
Merge branch 'master' into feature/support-other-hiera-backends
2016-12-14 15:46:13 -06:00
Kevin Paulisse
f17f56a6e7
Merge pull request #33 from github/kpaulisse-double-escape-facts
...
Double escape facts
2016-12-14 15:45:56 -06:00
Kevin Paulisse
d3b55275b3
Bump version to 0.5.7
2016-12-14 15:21:29 -06:00
Kevin Paulisse
ce11197517
Add double escaping to the mock puppet server :rolleyes:
2016-12-14 15:08:36 -06:00
Brice Figureau
d9b4ed2c07
Support for rewriting hiera datadir from multiple backends
...
When using hiera-eyaml with a hiera.yaml like:
~~~yaml
---
:backends:
- eyaml
- yaml
:eyaml:
:datadir: '/etc/puppet/code/environments/production/hieradata'
:yaml:
:datadir: '/etc/puppet/code/environments/production/hieradata'
...
~~~
Octocatalog-diff was rewriting only the yaml (and/or json) datadir
and not other backends datadir.
This changes rewrites all datadir from all declared backends.
Signed-off-by: Brice Figureau <brice@daysofwonder.com>
2016-12-08 14:28:25 +01:00
Kevin Paulisse
9888936e7c
Extra escape of the facts is expected by Puppet
2016-12-06 22:32:49 -06:00
Kevin Paulisse
e3122dfe57
Implement an extra escape
2016-12-06 22:30:44 -06:00
Kevin Paulisse
6caa0be1dc
Add fixtures with escaped facts
2016-12-06 22:24:00 -06:00
Kevin Paulisse
cb95f1f587
Merge pull request #29 from github/kpaulisse-documentation-environment
...
Document environment variable passing for bootstrap and ENC
2016-12-02 20:45:28 -08:00
Kevin Paulisse
217070c776
Add documentation about the ENC environment
2016-12-02 20:39:31 -08:00
Kevin Paulisse
f0fc0fbe80
Add documentation on bootstrap environment variables
2016-12-02 20:32:37 -08:00
Kevin Paulisse
6c13abe6dd
Merge branch 'master' into kpaulisse-frozen-string-literal
2016-11-21 13:09:41 -06:00