diff --git a/omnibus/cookbooks/firezone/recipes/app.rb b/omnibus/cookbooks/firezone/recipes/app.rb index 670826aba..578e9f611 100644 --- a/omnibus/cookbooks/firezone/recipes/app.rb +++ b/omnibus/cookbooks/firezone/recipes/app.rb @@ -17,8 +17,6 @@ # limitations under the License. # -# Common configuration for Phoenix - include_recipe 'firezone::config' include_recipe 'firezone::phoenix' @@ -32,7 +30,8 @@ end file 'environment-variables' do path "#{node['firezone']['var_directory']}/etc/env" attributes = node['firezone'].merge( - 'force_ssl' => node['firezone']['nginx']['force_ssl'] + 'force_ssl' => node['firezone']['nginx']['force_ssl'], + 'mix_env' => 'prod' ) content Firezone::Config.environment_variables_from(attributes) owner node['firezone']['user'] diff --git a/omnibus/cookbooks/firezone/recipes/phoenix.rb b/omnibus/cookbooks/firezone/recipes/phoenix.rb index 7a7bfa525..23c3bf652 100644 --- a/omnibus/cookbooks/firezone/recipes/phoenix.rb +++ b/omnibus/cookbooks/firezone/recipes/phoenix.rb @@ -18,6 +18,8 @@ # limitations under the License. # +# Common configuration for Phoenix + include_recipe 'firezone::config' include_recipe 'firezone::nginx' diff --git a/omnibus/cookbooks/firezone/recipes/postgresql.rb b/omnibus/cookbooks/firezone/recipes/postgresql.rb index 63bccd665..7882265ce 100644 --- a/omnibus/cookbooks/firezone/recipes/postgresql.rb +++ b/omnibus/cookbooks/firezone/recipes/postgresql.rb @@ -22,7 +22,7 @@ include_recipe 'enterprise::runit' # These sysctl settings make the shared memory settings work for larger # instances -%w( shmmax shmall ).each do |param| +%w[shmmax shmall].each do |param| sysctl "kernel.#{param}" do value node['firezone']['postgresql'][param] end diff --git a/pkg/README b/pkg/README new file mode 100644 index 000000000..807c0fe0a --- /dev/null +++ b/pkg/README @@ -0,0 +1,2 @@ +This directory contains old packaging scripts. It has been deprecated in favor +of the new Omnibus builder.