Commit Graph

391 Commits

Author SHA1 Message Date
Nate Riffe
3989a5ca08 Update rubocop config 2018-03-30 09:46:29 -05:00
Nate Riffe
7a01b36efc Merge commit 'cc8f24' 2018-03-30 09:35:30 -05:00
Nate Riffe
cf8c0611c8 Update the ruby list for travis, too 2018-03-30 09:30:12 -05:00
Nate Riffe
54411f21d1 Update the ruby version 2018-03-30 09:29:31 -05:00
Nate Riffe
09e9960e51 Change some resources names 2018-03-30 09:21:52 -05:00
Nate Riffe
90c18985f9 Make the hiera hierarchy hierarchical 2018-03-30 08:34:44 -05:00
Cedric DEFORTIS
cc8f24b16c Use very specific rubocop version
It hides deprecated warnings regarding cops.
2018-02-19 09:44:30 +01:00
Cedric DEFORTIS
a0b6e70c19 Fix lint warnings 2018-02-19 09:43:59 +01:00
Cédric Defortis
5870f37f27 Fix spec tests for bind::chroot::manual
- Only works for facts[:os]['name'] == Debian and major > 7
- Declare class ::bind with correct parameters when spec testing
  bind::chroot::manual
2018-02-19 09:19:22 +01:00
Cédric Defortis
1ea5d96d6b Fix mv destination file path for /etc/bind
- Force Package[bind] to be installed before moving /etc/bind into the
  $chroot_dir

- Fix recursive permissions for /var/bind9/chroot/** directories (so
  that user bind can cross those directories if they belong to root)
2018-02-19 09:19:22 +01:00
Cédric Defortis
16f2f22c4b Use creates instead of unless in bind exec mkdir 2018-02-19 09:19:22 +01:00
Cedric DEFORTIS
5a098b6c2d Changed exec resources that create /dev/*
It now uses the `creates` attribute instead of `unless`
2018-02-19 09:19:22 +01:00
Cedric DEFORTIS
bb8335794b Changed hiera data organization
It now reflects filesystem hierarchy
2018-02-19 09:19:22 +01:00
Cédric Defortis
44bb1b0e0e First draft of chroot implementation for Debian
- RHEL chroot code has been moved into a bind::chroot::package class

- Debian family (and probably other families) can use the
  `bind::chroot::manual` class to enable chroot for bind using the method
  described here: https://wiki.debian.org/Bind9#Bind_Chroot
2018-02-19 09:19:22 +01:00
Cédric Defortis
bcaafc05e1 Implemented chroot feature for RHEL/CentOS7 2018-02-19 09:18:15 +01:00
Nate Riffe
f2c32aaf37 Release version 7.3.1
Expands concat version range
2017-11-22 21:23:22 -06:00
Nate Riffe
b3e3f0a3e5 Release version 7.3.0
Also, fix a metadata problem with version ranges
2017-10-16 20:03:42 -05:00
Nate Riffe
88f79dac26 Merge pull request #133 from vivienlacourba/patch-1
don't add print-* logging options if destination is null
2017-10-14 09:47:33 -05:00
Nate Riffe
490d894ef4 Merge pull request #132 from thejambavan/master
add quotes to variables to fix "!=: unary operator expected"
2017-10-14 09:37:32 -05:00
Nate Riffe
db9e794449 Renamed a cop 2017-10-14 09:22:15 -05:00
Nate Riffe
bfb0db98b3 Merge pull request #131 from inkblot/remove-audit-metaparameter
Remove audit metaparameter
2017-10-14 09:02:44 -05:00
Vivien Lacourba
424163e277 don't add print-* logging options if destination is null 2017-07-20 13:51:14 +02:00
Seth Tunstall
3052d919d2 add quotes to variables to fix "!=: unary operator expected" 2017-07-19 15:50:32 +01:00
Nate Riffe
6446eed63e Update metadata.json to match spec 2017-07-11 19:39:51 -05:00
Nate Riffe
91ccb29eca Remove the deprecated audit metaparameter 2017-07-11 19:05:05 -05:00
Nate Riffe
24fcf1d46c Merge pull request #128 from cedef/feature/add-params
Additional parameters tkey-*
2017-06-03 08:52:18 -05:00
Cedric DEFORTIS
81135efa23 tkey-* additional parameters
- tkey-gssapi-credential
- tkey-domain
2017-05-31 15:41:52 +02:00
Nate Riffe
e39b9b9db1 Merge pull request #127 from cedef/misc/lint
Update Gemfile, rubocop and cosmetic lint tools
2017-05-04 17:17:46 -05:00
Cédric Defortis
17ee328c0f Fix extra rubocop offenses
Also removed lib/ directory from rubocop inspection
2017-05-04 21:17:58 +02:00
Cédric Defortis
3ff354877b Fix Rubocop offenses 2017-05-04 21:17:58 +02:00
Cedric DEFORTIS
d0dc06d4ca Fix global variable error & update concat version 2017-05-04 21:17:58 +02:00
Cedric DEFORTIS
b126ad5405 Added Gemfile.lock to .gitignore 2017-05-04 21:17:58 +02:00
Cedric DEFORTIS
7671acbcf6 Updated travis & removed Gemfile.lock 2017-05-04 21:17:58 +02:00
Cedric DEFORTIS
d85effdf41 Update Gemfile and modernize Rakefile 2017-05-04 21:17:58 +02:00
Cedric DEFORTIS
3b97ec6626 Add modern Gemfile based on gareth skeleton 2017-05-04 21:17:58 +02:00
Cedric DEFORTIS
db092386e3 Fix metadata.json opened dependencies 2017-05-04 21:17:58 +02:00
Cedric DEFORTIS
835d8ec27c Gitignore extended & rubocop added
From gareth/puppet-module-skeleton example :
https://github.com/garethr/puppet-module-skeleton
2017-05-04 21:17:58 +02:00
Cedric DEFORTIS
3ad9e7d8d3 Make rake lint happy by fixing WARNINGS 2017-05-04 21:17:39 +02:00
Cédric Defortis
9d640d64af Add spec test for default_zones file 2017-05-02 16:06:27 +02:00
Cédric Defortis
1254ab0026 Fix rubocop offenses 2017-05-02 14:58:14 +02:00
Cédric Defortis
8308595a57 spec tests for bind::key 2017-05-02 12:33:33 +02:00
Cédric Defortis
3dd198e706 Run spec tests on all supported OS
Also add resource coverage
2017-05-02 12:33:33 +02:00
Cedric DEFORTIS
ee0e095ea2 Add facts to updater spec to make it green 2017-05-02 12:33:33 +02:00
Cedric DEFORTIS
189fc932e7 Spec tests are now running correctly 2017-05-02 12:33:33 +02:00
Nate Riffe
a992774aab Release version 7.2.2 2017-04-16 09:09:49 -05:00
Nate Riffe
d580291c69 Explicitly reference the bind keys file
Debian supplies the bind keys at /etc/bind/bind.keys and RedHat supplies it at
/etc/named.iscdlv.key. Add the directive that references this file. I think it
may have "just worked" on Debian, baesd on the information at
https://www.isc.org/downloads/bind/bind-keys/
2017-04-16 09:05:56 -05:00
Nate Riffe
c28594b458 Puppet 3 is EOL 2017-04-16 08:17:38 -05:00
Nate Riffe
f0ba56e35d Fix a typo and release 7.2.1 2017-03-02 06:32:17 -06:00
Nate Riffe
acb67e925f Release version 7.2.0 2017-02-25 16:13:18 -06:00
Nate Riffe
7422671486 Merge pull request #115 from inkblot/logging
Implement support for logging configuration
2017-02-25 16:06:43 -06:00