Comments (5)
(y)
from opsworks-cookbooks.
👍 for a quick fix. You can forget about continuous deployment otherwise...
from opsworks-cookbooks.
+1 for this! VERY needed.
from opsworks-cookbooks.
There are a number of resources in recipes/default.rb that call 'logdir_existence_and_restart_apache2', none of which should cause a restart unless there are applicable updates (templates, etc). However, the following block exists in the recipe as well, for reasons I can't quite fathom, which ensures that the restart will be called on every run, regardless of whether a restart is otherwise called for or not. Can we dump this block please?
bash 'logdir_existence_and_restart_apache2' do
action :run
end
from opsworks-cookbooks.
@heffergm you're right. None of the 'logdir_existence_and_restart_apache2' calls should apply unless there are applicable updates.
Nonetheless, the last block executing the restart needs to be done, because we currently write the apache logs on a different EBS volume and this is mounted per AutoFS. We need to
bash 'logdir_existence_and_restart_apache2' do
action :run
end
in order to ensure that there are no overlaying and that we're writing in the right file system.
Currently, we have to go this way.
Thanks everybody for your feedback.
from opsworks-cookbooks.
Related Issues (20)
- Amazon Linux 2016.09 and opsworks_nodejs HOT 1
- Unicorn master process not receiving QUIT HOT 3
- Ruby 2.4.0 HOT 30
- Node.js >=6.x cookbook setup HOT 1
- Can't download RPM package for nodejs on Amazon Linux 2016.09 HOT 1
- Berkshelf Pre-Built Packages Not Available (3.1.5) HOT 3
- Chef infrastructure issue. HOT 1
- [2017-08-11T13:48:48+00:00] FATAL: Stacktrace dumped to /var/lib/aws/opsworks/cache.stage2/chef-stacktrace.out HOT 1
- Wrong log format for ganglia
- Unable to download opsworks-agent-ruby on Ubuntu 16.04
- Ruby 2.5.0 HOT 8
- Getting Opsworks to use specific Ruby 2.4 version HOT 1
- Ruby 2.6.0 HOT 2
- Problem with S3 and region HOT 2
- ERROR: execute[apt-get update] (aws_opsworks_ecs::setup_ubuntu line 10) had an error: Mixlib::ShellOut::ShellCommandFailed
- Add Ruby 2.7 version
- --no-rdoc is not compatible with RubyGems 3+
- Please provide ruby 2.7 support
- Ruby 3.0 HOT 1
- bundle install error HOT 1
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 opsworks-cookbooks.