diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 0000000..da892ac --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1 @@ +custom: "https://www.paypal.me/TheGrandWazoo69" diff --git a/.github/workflows/action.yml b/.github/workflows/action.yml new file mode 100644 index 0000000..5d11233 --- /dev/null +++ b/.github/workflows/action.yml @@ -0,0 +1,17 @@ +name: Dispatch build of the freenas-proxmox plugin package + +on: + push: + +jobs: + dispatch: + name: Dispatch to the build and packager workflow. + runs-on: ubuntu-latest + steps: + - name: Send dispatch request to 'freenas-proxmox-packer' repo. + uses: peter-evans/repository-dispatch@v1 + with: + token: ${{ secrets.ACCESS_TOKEN }} + repository: TheGrandWazoo/freenas-proxmox-packer + event-type: build_push + client-payload: '{"ref" : "${{ github.ref }}", "sha": "${{ github.sha }}"}' diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..2a7bcd0 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2020 Kevin Scott Adams + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/perl5/PVE/Storage/LunCmd/FreeNAS.pm b/perl5/PVE/Storage/LunCmd/FreeNAS.pm index c3d3159..31b6c6c 100644 --- a/perl5/PVE/Storage/LunCmd/FreeNAS.pm +++ b/perl5/PVE/Storage/LunCmd/FreeNAS.pm @@ -410,7 +410,7 @@ sub freenas_api_check { } else { syslog("info", (caller(0))[3] . " : REST Client already initialized"); } - syslog("info", (caller(0))[3] . " : Using " . $product_name ." API version " . $freenas_api_version); + syslog("info", (caller(0))[3] . " : Using " . $product_name . " API version " . $freenas_api_version); $freenas_api_methods = $freenas_api_version_matrix->{$freenas_api_version}->{'methods'}; $freenas_api_variables = $freenas_api_version_matrix->{$freenas_api_version}->{'variables'}; $freenas_global_config = $freenas_global_config_list->{$apihost} = (!defined($freenas_global_config_list->{$apihost})) ? freenas_iscsi_get_globalconfiguration($scfg) : $freenas_global_config_list->{$apihost};