Installs and configures the nopCommerce ASP.NET shopping cart application.
- Windows Server 2012
- Windows Server 2012 R2
Windows Server 2008 and 2008 R2, as tested on ec2, do not appear to be working.
- Chef 12.1+
Lightweight Resources and Providers (LWRPs) from the following cookbooks are used:
- iis
- windows
Key | Type | Description | Default |
---|---|---|---|
['nopcommerce']['dist'] | String | Where to get the zip file from | https://dl.dropboxusercontent.com/u/14471872/nopCommerce_3.10_NoSource.zip |
['nopcommerce']['demozip'] | String | Where to get the demo data zip file from | https://dl.dropboxusercontent.com/u/14471872/nopcommerce_data.zip |
['nopcommerce']['siteroot'] | String | Where the site root is for the nopCommerce website on this server | #{ENV['SYSTEMDRIVE']}\\inetpub\\sites\\nopCommerce |
['nopcommerce']['approot'] | String | Where the application will be installed to. The directory nopCommerce will be created here. | #{ENV['SYSTEMDRIVE']}\\inetpub\\apps |
['nopcommerce']['apppath'] | String | The relative path to the nopCommerce directory where the shop files will be created. | /shop |
['nopcommerce']['poolname'] | String | The app pool name to run nopCommerce under. | nopCommerce |
Just include nopcommerce
in your node's run_list
:
{
"name":"my_node",
"run_list": [
"recipe[nopcommerce]"
]
}
Installs demo data using built-in data storage (SQL Server Compact). Just include nopcommerce::demo
in your node's run_list
. The demo is reachable at http://your.server.name/shop :
{
"name":"my_node",
"run_list": [
"recipe[nopcommerce::demo]"
]
}
Author:: Julian C. Dunn ([email protected])
Copyright:: 2013-2016, Chef Software, Inc.
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
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.