Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Octopus Deploy 4.0.0 #124

Open
brentm5 opened this issue Nov 14, 2017 · 4 comments
Open

Support Octopus Deploy 4.0.0 #124

brentm5 opened this issue Nov 14, 2017 · 4 comments

Comments

@brentm5
Copy link
Member

brentm5 commented Nov 14, 2017

With the RC just being released we should probably test to make sure that this version works with 4.0.0

https://octopus.com/downloads/4.0.0

@spuder
Copy link
Contributor

spuder commented Feb 28, 2018

@brentm5
Copy link
Member Author

brentm5 commented Mar 5, 2018

The tentacle commands should be pretty similar with moving to 4.0. Is there anything in particular that we need? Currently v4.0 servers can not be configured with this cookbook

@spuder
Copy link
Contributor

spuder commented Mar 5, 2018

Currently we only use the cookbook for the tentacle installs. I gave up on trying to automate the octopus server installation since there is only 1 of them and it never gets destroyed/recreated.

@brentm5
Copy link
Member Author

brentm5 commented Mar 5, 2018

Ahhh, We have a couple clusters which run in an active passive configuration. We use chef to orchestrate the host level setup as well as the Disaster recovery failover. They run in different datacenters and we configure them with encrypted databags so our setup looks something like this:

  server = node['octopus-deploy']['server']
  cluster = node['octopus-deploy']['cluster']
  cluster_key = Cvent::OctopusDeployServer.cluster_config_key(cluster['name'], datacenter['name'])

  server_config = data_bag_item('configs', cluster_key)

  # Configure the database address
  octopus_deploy_server 'OctopusServer' do
    action [:install, :configure]
    version server['version']
    checksum server['checksum']
    home_path server['home_path'] if server['home_path']
    config_path server['config_path'] if server['config_path']
    node_name server['node'] if server['node']
    master_key server_config['master-key'] if server_config['master-key']
    connection_string server_config['db-connection-string']
    sensitive true
    if Cvent::DrHelpers.active?(node)
      create_database true
      start_service true
    else
      start_service false
    end
  end

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants