Comments (3)
I thought this might have been some interaction between new_resource
and the fact that my wrapper cookbook has the configure and register resources as 2 separate resources
octopus_deploy_tentacle 'Tentacle' do
action [:install, :configure]
version node['nd-octopus']['version']
checksum node['nd-octopus']['checksum']
trusted_cert node['nd-octopus']['trusted_cert']
end
octopus_deploy_tentacle 'Tentacle' do
action :register
server node['nd-octopus']['server']
api_key node['nd-octopus']['api_key']
roles node['nd-octopus']['roles']
environment node.chef_environment.to_s
polling node['nd-octopus']['polling']
configure_firewall node['nd-octopus']['configure_firewall']
end
I've combined my 2 resources down to 1, but I'm still finding that the service restart is happening too early in the chef run.
* powershell_script[create-instance-Tentacle] action run (skipped due to not_if)
* powershell_script[configure-tentacle-Tentacle] action run
- execute "C:\Windows\system32\WindowsPowerShell\v1.0\powershell.exe" -NoLogo -NonInteractive -NoProfile -ExecutionPolicy Bypass -InputFormat None -File "C:/Users/sowen/AppData/Local/Temp/2/chef-script20160817-6000-13uugvk.ps1"
* windows_service[OctopusDeploy Tentacle] action enable (up to date)
* windows_service[OctopusDeploy Tentacle] action start (up to date)
* windows_service[OctopusDeploy Tentacle] action restart
- restart service windows_service[OctopusDeploy Tentacle]
* octopus_deploy_tentacle[Tentacle] action register
* powershell_script[register-Tentacle-tentacle] action run
- execute "C:\Windows\system32\WindowsPowerShell\v1.0\powershell.exe" -NoLogo -NonInteractive -NoProfile -ExecutionPolicy Bypass -InputFormat None -File "C:/Users/sowen/AppData/Local/Temp/2/chef-script20160817-6000-xribau.ps1"����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
from octopus-deploy-cookbook.
Should the register resource restart the tentacle after it runs?
from octopus-deploy-cookbook.
Just saw #56 and merged it. Can you confirm if this fixes the issue or not?
from octopus-deploy-cookbook.
Related Issues (20)
- Document database assumptions for server HOT 2
- Error if node name not specified
- Octopus.Server.exe configure --storageConnectionString deprecated
- Allow configuring multiple admins HOT 1
- admin_user only works for LDAP HOT 2
- Octopus.Server.exe configure --webAuthenticationMode "Domain" is deprecated
- Improve readme on limitations of database automation
- Net::HTTPServerException: 403 "Forbidden" during tentacle installation HOT 1
- Tentacle register action does not work with invalid certificates are used HOT 5
- Support Octopus Deploy 4.0.0 HOT 4
- How to always use the latest version of the tentacle HOT 2
- Register tentacle as tenanted deploy HOT 1
- Include a CONTRIBUTING.md file so supermarket doesnt complain
- Include a TESTING.md file so supermarket doesnt complain
- tenated_deployment_participation
- Setting tentacle_name does not seem to have any effect HOT 5
- Supermarket does not contain the latest code. HOT 1
- Remove need for windows cookbook and windows_firewall cookbooks HOT 2
- Change name_attribute to name_property in order to work with Chef 13
- Support workers tentacle types HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from octopus-deploy-cookbook.