Skip to content

Commit

Permalink
Chef 14 testing (#108)
Browse files Browse the repository at this point in the history
* Chef 14 testing
* Fix cop errors

Signed-off-by: Amelia Aronsohn <WagThatTail@Me.com>
  • Loading branch information
onlyhavecans committed Jan 7, 2019
1 parent 9259cc0 commit 993bc54
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .kitchen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ driver:
provisioner:
name: chef_zero
product_name: chef
product_version: 13
product_version: 14
# On CentOS 6, restart the 'postgres' database could fail the first time so
# let's try twice before failing:
# https://github.com/sous-chefs/postgresql/issues/421
Expand Down
4 changes: 2 additions & 2 deletions resources/authoritative_config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@
property :run_user_home, String, default: lazy { default_user_attributes[:home] }
property :run_user_shell, String, default: lazy { default_user_attributes[:shell] }
property :socket_dir, String, default: '/var/run'
property :setuid, String, default: lazy { |resource| resource.run_user } # rubocop:disable Style/SymbolProc
property :setgid, String, default: lazy { |resource| resource.run_group } # rubocop:disable Style/SymbolProc
property :setuid, String, default: lazy { |resource| resource.run_user }
property :setgid, String, default: lazy { |resource| resource.run_group }

property :source, String, default: 'authoritative_service.conf.erb'
property :cookbook, String, default: 'pdns'
Expand Down
4 changes: 2 additions & 2 deletions resources/recursor_config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
property :run_user, String, default: lazy { default_recursor_run_user }
property :run_user_home, String, default: lazy { default_user_attributes[:home] }
property :run_user_shell, String, default: lazy { default_user_attributes[:shell] }
property :setuid, String, default: lazy { |resource| resource.run_user } # rubocop:disable Style/SymbolProc
property :setgid, String, default: lazy { |resource| resource.run_group } # rubocop:disable Style/SymbolProc
property :setuid, String, default: lazy { |resource| resource.run_user }
property :setgid, String, default: lazy { |resource| resource.run_group }

property :source, String, default: 'recursor_service.conf.erb'
property :cookbook, String, default: 'pdns'
Expand Down

0 comments on commit 993bc54

Please sign in to comment.