Skip to content

Commit

Permalink
Rewrite resources to get rid of poise
Browse files Browse the repository at this point in the history
Port resource to use Chef native framework, and drop deprecated poise dependencies.
Specs are not ported since none were added for newest resources (policy/role/etc).

Fixes sous-chefs#551 sous-chefs#555 sous-chefs#590
  • Loading branch information
josqu4red committed Oct 25, 2021
1 parent c96aa8e commit 921df81
Show file tree
Hide file tree
Showing 32 changed files with 1,182 additions and 2,584 deletions.
7 changes: 5 additions & 2 deletions attributes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
# Copyright:: 2014-2016, Bloomberg Finance L.P.
#

extend ConsulCookbook::Helpers

default['consul']['service_name'] = 'consul'
default['consul']['service_user'] = 'consul'
default['consul']['service_group'] = 'consul'
Expand Down Expand Up @@ -36,6 +34,8 @@

default['consul']['version'] = '1.0.7'

default['consul']['service']['systemd_params'] = {}

# Windows only
default['consul']['service']['nssm_params'] = {
'AppDirectory' => data_path,
Expand All @@ -45,3 +45,6 @@
'AppRotateOnline' => 1,
'AppRotateBytes' => 20_000_000,
}

default['consul']['install']['binary']['archive_url'] = 'https://releases.hashicorp.com/consul/%{version}/%{basename}'
default['consul']['install']['binary']['archive_basename'] = nil
124 changes: 0 additions & 124 deletions libraries/consul_acl.rb

This file was deleted.

Loading

0 comments on commit 921df81

Please sign in to comment.