forked from djjudas21/puppet-freeradius
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/main' into pp-main
- Loading branch information
Showing
57 changed files
with
893 additions
and
443 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,22 @@ | ||
name: Build and publish to Puppet Forge | ||
|
||
on: | ||
push: | ||
tags: | ||
- v[0-9]+.[0-9]+.[0-9]+ | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Get latest tag | ||
id: vars | ||
run: echo ::set-output name=tag::${GITHUB_REF:10} | ||
run: echo "{tag}=${GITHUB_REF:10}" >> $GITHUB_OUTPUT | ||
- name: Clone repository | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@v3 | ||
with: | ||
ref: ${{ steps.vars.outputs.tag }} | ||
- name: Build and publish module | ||
uses: barnumbirr/action-forge-publish@v2.8.0 | ||
uses: barnumbirr/action-forge-publish@v2.15.0 | ||
env: | ||
FORGE_API_KEY: ${{ secrets.FORGE_API_KEY }} | ||
REPOSITORY_URL: https://forgeapi.puppet.com/v3/releases |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,20 @@ | ||
# Blank unneeded config files to reduce complexity | ||
define freeradius::blank { | ||
$fr_package = $::freeradius::params::fr_package | ||
$fr_service = $::freeradius::params::fr_service | ||
$fr_basepath = $::freeradius::params::fr_basepath | ||
$fr_group = $::freeradius::params::fr_group | ||
|
||
file { "${fr_basepath}/${name}": | ||
file { "freeradius ${name}": | ||
path => "${fr_basepath}/${name}", | ||
mode => '0644', | ||
owner => 'root', | ||
group => $fr_group, | ||
require => [File[$fr_basepath], Package[$fr_package], Group[$fr_group]], | ||
notify => Service[$fr_service], | ||
require => [File['freeradius raddb'], Package['freeradius'], Group['radiusd']], | ||
notify => Service['radiusd'], | ||
content => @(BLANK/L), | ||
# This file is intentionally left blank to reduce complexity. \ | ||
Blanking it but leaving it present is safer than deleting it, \ | ||
since the package manager will replace some files if they are \ | ||
deleted, leading to unexpected behaviour! | ||
|-BLANK | ||
# This file is intentionally left blank to reduce complexity. \ | ||
Blanking it but leaving it present is safer than deleting it, \ | ||
since the package manager will replace some files if they are \ | ||
deleted, leading to unexpected behaviour! | ||
|-BLANK | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.