Skip to content

Commit

Permalink
Remove webui provider for "consul_installation" resource
Browse files Browse the repository at this point in the history
  • Loading branch information
legal90 committed Jan 18, 2017
1 parent 8e56c2f commit 9cd80b9
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 204 deletions.
15 changes: 0 additions & 15 deletions .kitchen.dokken.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,18 +106,3 @@ suites:
acl_master_token: doublesecret
acl_datacenter: FortMeade
acl_default_policy: deny

- name: webui
provisioner:
policyfile: test/fixtures/policies/default.rb
attributes:
consul:
provider: binary
options:
version: 0.7.1
config:
bootstrap: true
server: true
ui: true
datacenter: FortMeade
encrypt: CGXC2NsXW4AvuB4h5ODYzQ==
9 changes: 0 additions & 9 deletions .kitchen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,6 @@ suites:
provider: git
excludes:
- windows-2012r2
- name: webui
attributes:
consul:
config:
bootstrap: true
server: true
ui: true
datacenter: FortMeade
encrypt: CGXC2NsXW4AvuB4h5ODYzQ==
- name: windows
attributes:
consul:
Expand Down
106 changes: 0 additions & 106 deletions libraries/consul_installation_webui.rb

This file was deleted.

19 changes: 0 additions & 19 deletions libraries/helpers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -52,25 +52,6 @@ def command(config_file, config_dir)
end
end

# 1 is command not found
def correct_version?(executable, version)
shell_out!(%{"#{executable}" version}, returns: [0, 1]).stdout.match version
end

def binary_checksum(item)
node['consul']['checksums'].fetch(binary_filename(item))
end

def binary_filename(item)
case item
when 'binary'
arch = arch_64? ? 'amd64' : '386'
['consul', version, node['os'], arch].join('_')
when 'web_ui'
['consul', version, 'web_ui'].join('_')
end
end

def nssm_exe
"#{node['nssm']['install_location']}\\nssm.exe"
end
Expand Down

This file was deleted.

1 change: 0 additions & 1 deletion test/fixtures/cookbooks/consul_spec/recipes/default.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
include_recipe 'consul::default'
include_recipe 'consul_spec::consul_definition'
include_recipe 'consul_spec::consul_watch'
include_recipe 'consul_spec::consul_installation_webui'
include_recipe 'consul_spec::consul_acl' unless node.platform_family?('windows')
13 changes: 0 additions & 13 deletions test/integration/webui/webui_spec.rb

This file was deleted.

38 changes: 0 additions & 38 deletions test/spec/libraries/consul_installation_webui_spec.rb

This file was deleted.

0 comments on commit 9cd80b9

Please sign in to comment.