This recipe simply installs and sets up a default running instance of pyapns on an ubuntu box.
We use upstart in this recipe to manage the application recipe.
Simply add the chef-pyapns
recipe to your application and then add pyapns
to your runlist or include the recipe.
We expose the following options under node['pyapns']
:
Name | Type | Default | Description |
---|---|---|---|
port |
Integer | 7077 | The port pyapns will be listening on. |
user |
String | pyapns | The user to create and run pyapns as. |
group |
String | pyapns | The group to create and run pyapns as. |
service_name |
String | pyapns | The name to generate the upstart service as. |
home |
String | /var/lib/pyapns | The directory to create and use as the home directory for the pyapns user. Also where the application is run from. |
We encourage all community contributions. Keeping this in mind, please follow these general guidelines when contributing:
- Fork the project
- Create a topic branch for what you’re working on (git checkout -b awesome_feature)
- Commit away, push that up (git push your_remote awesome_feature)
- Create a new GitHub Issue with the commit, asking for review. Alternatively, send a pull request with details of what you added.
- Once it’s accepted, if you want access to the core repository feel free to ask! Otherwise, you can continue to hack away in your own fork.
Other than that, our guidelines very closely match the GemCutter guidelines here.
(Thanks to GemCutter for the contribution guide)
Copyright 2012 Filter Squad.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.