rails_stack Attributes
Important
The AWS OpsWorks Stacks service reached end of life on May 26, 2024 and has been disabled for both new and existing customers.
We strongly recommend customers migrate their workloads to other solutions as soon as possible. If you have questions about migration, reach out to the AWS Support Team on AWS re:Post
- name
-
Specifies the rails stack, and is set to
"apache_passenger"
or"nginx_unicorn"
(string).node["opsworks"]["rails_stack"]["name"]
- recipe
-
The associated recipe, which depends on whether you are using Passenger or Unicorn (string):
-
Unicorn:
"unicorn::rails"
-
Passenger:
"passenger_apache2::rails"
node["opsworks"]["rails_stack"]["recipe"]
-
- restart_command
-
The restart command, which depends on whether you are using Passenger or Unicorn (string):
-
Unicorn:
"../../shared/scripts/unicorn clean-restart"
-
Passenger:
"touch tmp/restart.txt"
-
- service
-
The service name, which depends on whether you are using Passenger or Unicorn (string):
-
Unicorn:
"unicorn"
-
Passenger:
"apache2"
node["opsworks"]["rails_stack"]["service"]
-