Skip to content

Commit

Permalink
feat: PHP Application Name (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
noahmmcgivern authored Apr 5, 2023
2 parents 28edc4d + 1c859aa commit e19b1c0
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,12 @@ end
| `default['newrelic_install']['tags']` | `{}` | key value pair tags added through custom attributes |
| `default['newrelic_install']['timeout_seconds']` | `600` | Sets timeout for installation task. |

#### PHP Agent

| Name | Default value | Description |
|:-----|:--------------|:------------|
| `default['newrelic_install']['env']['NEW_RELIC_APPLICATION_NAME']` | `nil` | optional name for your php application |

### Testing

Refer to [testing](https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/TESTING.MD)
Expand Down
9 changes: 8 additions & 1 deletion attributes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# infrastructure-agent-installer
# logs-integration
# php-agent-installer
default['newrelic_install']['targets'] = Set[]
default['newrelic_install']['targets'] = []

########
# TAGS #
Expand All @@ -36,3 +36,10 @@
################

default['newrelic_install']['timeout_seconds'] = '600'

#############
# PHP AGENT #
#############

# optional name for your php application
default['newrelic_install']['env']['NEW_RELIC_APPLICATION_NAME'] = ''
2 changes: 1 addition & 1 deletion metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
description 'Installs/Configures Newrelic agents using guided install through chef'
source_url 'https://github.com/newrelic/chef-install'
issues_url 'https://github.com/newrelic/chef-install/issues'
version '0.1.9'
version '0.1.10'
chef_version '>= 15.0'

# Platform support
Expand Down

0 comments on commit e19b1c0

Please sign in to comment.