Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: "ci"

on:
pull_request:
branches:
- "main"
workflow_dispatch:

jobs:
Spec:
uses: "puppetlabs/cat-github-actions/.github/workflows/module_ci.yml@main"
secrets: "inherit"

Acceptance:
needs: Spec
uses: "puppetlabs/cat-github-actions/.github/workflows/module_acceptance.yml@main"
secrets: "inherit"
2 changes: 2 additions & 0 deletions .sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ appveyor.yml:
unmanaged: false
.github/workflows/release.yml:
unmanaged: false
.github/workflows/ci.yml:
unmanaged: false

Gemfile:
optional:
Expand Down
1 change: 0 additions & 1 deletion manifests/get.pp
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,6 @@
$onlyif_real = $onlyif
}


exec { "rsync ${name}":
command => "rsync -q ${rsync_options}",
path => ['/bin', '/usr/bin', '/usr/local/bin'],
Expand Down
1 change: 0 additions & 1 deletion manifests/repo.pp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
# class rsync::server
#
class rsync::repo {

include rsync::server

$base = '/data/rsync'
Expand Down
1 change: 0 additions & 1 deletion manifests/server.pp
Original file line number Diff line number Diff line change
Expand Up @@ -79,5 +79,4 @@
}

create_resources(rsync::server::module, $modules)

}
3 changes: 1 addition & 2 deletions manifests/server/module.pp
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,7 @@
$exclude = undef,
$exclude_from = undef,
$dont_compress = undef,
$ignore_nonreadable = undef) {

$ignore_nonreadable = undef) {
concat::fragment { "frag-${name}":
content => template('rsync/module.erb'),
target => $rsync::server::conf_file,
Expand Down