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 17, 2017
1 parent c639a3e commit c22404a
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 205 deletions.
14 changes: 0 additions & 14 deletions .kitchen.dokken.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,17 +99,3 @@ suites:
server: true
datacenter: FortMeade
encrypt: CGXC2NsXW4AvuB4h5ODYzQ==
- 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==
11 changes: 0 additions & 11 deletions .kitchen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,17 +65,6 @@ suites:
provider: git
excludes:
- windows-2012r2
- name: webui
provisioner:
policyfile: test/fixtures/policies/default.rb
attributes:
consul:
config:
bootstrap: true
server: true
ui: true
datacenter: FortMeade
encrypt: CGXC2NsXW4AvuB4h5ODYzQ==
- name: acl
provisioner:
policyfile: test/fixtures/policies/default.rb
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
Expand Up @@ -2,4 +2,3 @@
include_recipe 'consul::default'
include_recipe 'consul_spec::consul_definition'
include_recipe 'consul_spec::consul_watch'
include_recipe 'consul_spec::consul_installation_webui'
13 changes: 0 additions & 13 deletions test/integration/webui/serverspec/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 c22404a

Please sign in to comment.