php::config::settings generates error

Open
#178 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
php
Domain
devops

Research direction

Start by locating the implementation of php::config::setting and reproduce the supplied declaration against /etc/php.ini. Check how the Date/date.timezone key is handled, using the reported “Must pass key” error as the failure signal. Done means the declaration applies the value without an error.

Written by the indexing model from the issue text.

Description

I may be missing something here, but when I try to use php::config::settings to modify a value in /etc/php.ini it generates an error:
php::config::setting { 'Date/date.timezone':
file => '/etc/php.ini',
value => 'America/Chicago',
}

Error 400 on SERVER: Must pass key to Php::Config::Setting[Date/date.timezone] at /etc/puppet/environments/php56/site/modules/courtesy/manifests/profiles/php/php_common.pp:27 on node

Dominant language
Puppet
Stars
86
Forks
264
Avg merge
29m
Merged PRs (30d)
1

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from voxpupuli/puppet-php

All issues in voxpupuli/puppet-php

Similar issues

More DevOps issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.