Skip to content

Commit 43016e5

Browse files
committed
include class borgbackup::install in borgbackup::server
1 parent 97de6f5 commit 43016e5

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

manifests/server.pp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@
4343
Hash $authorized_keys = {},
4444
Hash $authorized_keys_defaults = {},
4545
) {
46+
include borgbackup::install
47+
4648
if $user_ensure {
4749
user { $borguser:
4850
ensure => present,

spec/classes/server_spec.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@
1818
shared_examples 'borgbackup::server shared examples' do
1919
it { is_expected.to compile.with_all_deps }
2020

21+
it {
22+
is_expected.to contain_class('borgbackup::install')
23+
}
24+
2125
it {
2226
is_expected.to contain_file(params[:backuproot])
2327
.with_ensure('directory')

0 commit comments

Comments
 (0)