Skip to content

Commit

Permalink
Merge pull request #18 from redBorder/development
Browse files Browse the repository at this point in the history
Release 1.2.1
  • Loading branch information
rgomezborder authored Nov 14, 2024
2 parents 6d6487a + f62f9f8 commit 87d74d6
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
cookbook-nginx CHANGELOG
===============

## 1.2.1

- nilsver
- [42b410b] add user in relevant action blocks

## 1.2.0

- Miguel Negrón
Expand Down
2 changes: 1 addition & 1 deletion resources/metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
maintainer_email '[email protected]'
license 'AGPL-3.0'
description 'Installs/Configures cookbook-nginx'
version '1.2.0'
version '1.2.1'
8 changes: 6 additions & 2 deletions resources/providers/config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@

action :add_http2k do
begin
user = new_resource.user
http2k_hosts = new_resource.http2k_hosts
http2k_port = new_resource.http2k_port

Expand All @@ -102,8 +103,8 @@

template '/etc/nginx/conf.d/http2k.conf' do
source 'http2k.conf.erb'
owner 'nginx'
group 'nginx'
owner user
group user
mode '0644'
cookbook 'nginx'
variables(http2k_hosts: http2k_hosts, http2k_port: http2k_port)
Expand All @@ -118,6 +119,7 @@

action :add_s3 do # Only for configure solo
begin
user = new_resource.user
s3_port = new_resource.s3_port
s3_hosts = new_resource.s3_hosts

Expand All @@ -144,6 +146,7 @@

action :add_erchef do
begin
user = new_resource.user
erchef_hosts = new_resource.erchef_hosts
erchef_port = new_resource.erchef_port

Expand All @@ -170,6 +173,7 @@

action :add_aioutliers do
begin
user = new_resource.user
aioutliers_hosts = new_resource.aioutliers_hosts
aioutliers_port = new_resource.aioutliers_port

Expand Down

0 comments on commit 87d74d6

Please sign in to comment.