Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status

RSS

frontaccounting (3) Versions 1.1.0

Installs/Configures frontaccounting

Policyfile
Berkshelf
Knife
cookbook 'frontaccounting', '~> 1.1.0', :supermarket
cookbook 'frontaccounting', '~> 1.1.0'
knife supermarket install frontaccounting
knife supermarket download frontaccounting
README
Dependencies
Changelog
Quality 33%

frontaccounting-cookbook

Installes FrontAccounting (http://www.frontaccounting.com)

Supported Platforms

Tested on CentOS 6.6. Other platforms may work, possibly with some modifications.

Attributes

<table>
<tr>
<th>Key</th>
<th>Type</th>
<th>Description</th>
<th>Default</th>
</tr>
<tr>
<td><tt>['frontaccounting']['baseurl']</tt></td>
<td>String</td>
<td>The URL file path under which the accounting package should be available</td>
<td><tt>/accounting</tt></td>
</tr>
<tr>
<td><tt>['frontaccounting']['documentroot']</tt></td>
<td>String</td>
<td>The directory in the file system where the root of the Web server is located. The baseurl will be added later</td>
<td><tt>/var/www/html</tt></td>
</tr>
<tr>
<td><tt>['frontaccounting']['servername']</tt></td>
<td>String</td>
<td>The server name (for virtual hosting)</td>
<td><tt>The machine's FQDN</tt></td>
</tr>
<tr>
<td><tt>['frontaccounting']['fileuser']</tt></td>
<td>String</td>
<td>The user name who should own the files in the application</td>
<td><tt>root</tt></td>
</tr>
<tr>
<td><tt>['frontaccounting']['filegroup']</tt></td>
<td>String</td>
<td>The group name who should own the files in the application</td>
<td><tt>apache</tt></td>
</tr>
<tr>
<td><tt>['frontaccounting']['company']</tt></td>
<td>Array</td>
<td>Information about each company in the Frontaccounting database. Note that
the password is not included here; you must pass the passwords using node.run_state
instead.</td>
<td><tt>['companyname'] = "Sample Company Inc."<br/>
['dbhost'] = "localhost"<br/>
['dbname'] = "frontacc"<br/>
['dbuser'] = "frontacc"<br/></tt></td>
</tr>
</table>

Usage

frontaccounting::default

Set up a Web server, for instance using the httpd cookbook. If you are using nginx or
other servers, you may need additional work to make php work.

Set any attributes you need as non-default.

Specify the database password using the node.run_state[:frontaccounting_dbpw] mechanism:

<code>node.run_state[:frontaccounting_dbpw] = 'password'</code>

Include frontaccounting in your node's run_list:

{
  "run_list": [
    "recipe[frontaccounting::default]"
  ]
}

After this cookbook is installed, FrontAccounting will have a single company. The COA,
user names and passwords come from the database en_US-demo.sql that are shipped with
FrontAccounting. As of this writing, the initial user names and passwords are:

<table>
<tr>
<td>admin</td><td>password</td>
</tr>
<tr>
<td>demouser</td><td>password</td>
</tr>
</table>

You should immediately change the user names and passwords for these users.

License and Authors

Author:: North County Tech Center, LLC (kkeane@4nettech.com)
License:: GPLv3

Dependent cookbooks

php >= 0.0.0
mysql > 6.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

1.0.1

Some minor bug fixes. Removed reference to a proprietary data bag; some files were created with wrong extensions.

1.0.0

Initial release of frontaccounting

Collaborator Number Metric
            

1.1.0 failed this metric

Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Contributing File Metric
            

1.1.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file

Foodcritic Metric
            

1.1.0 passed this metric

No Binaries Metric
            

1.1.0 passed this metric

Testing File Metric
            

1.1.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file

Version Tag Metric
            

1.1.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number