Skip to content

Commit 801e15b

Browse files
committed
(maint) more updates to module
updates fixtures yml and closes module dependencies in metadata.json also closes #89
1 parent 055d34e commit 801e15b

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

.fixtures.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
fixtures:
2-
forge_modules:
2+
repositories:
33
xinetd:
4-
repo: 'puppetlabs/xinetd'
4+
repo: 'https://www.github.com/puppetlabs/puppetlabs-xinetd'
55
concat:
6-
repo: 'puppetlabs/concat'
6+
repo: 'https://www.github.com/puppetlabs/puppetlabs-concat'
77
stdlib:
8-
repo: 'puppetlabs/stdlib'
8+
repo: 'https://www.github.com/puppetlabs/puppetlabs-stdlib'
99
symlinks:
1010
"rsync": "#{source_dir}"

metadata.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
"project_page": "https://github.com/puppetlabs/puppetlabs-rsync",
99
"issues_url": "https://tickets.puppetlabs.com/browse/MODULES",
1010
"dependencies": [
11-
{"name":"puppetlabs/stdlib","version_requirement":">=4.2.0"},
11+
{"name":"puppetlabs/stdlib","version_requirement":">=4.2.0 <5.0.0"},
1212
{"name":"puppetlabs/xinetd","version_requirement":">=1.1.0"},
13-
{"name":"puppetlabs/concat","version_requirement":">= 1.1.1"}
13+
{"name":"puppetlabs/concat","version_requirement":">= 1.1.1 <5.0.0"}
1414
]
1515
}

spec/defines/get_spec.rb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -287,8 +287,8 @@
287287

288288
it {
289289
is_expected.to contain_exec("rsync foobar").with({
290-
'command' => 'rsync -q -a --chown=user:group foobar',
291-
'onlyif' => "test `rsync --dry-run --itemize-changes -a --chown=user:group foobar | wc -l` -gt 0"
290+
'command' => 'rsync -q -a --chown=user:group example.com foobar',
291+
'onlyif' => "test `rsync --dry-run --itemize-changes -a --chown=user:group example.com foobar | wc -l` -gt 0"
292292
})
293293
}
294294
end
@@ -300,8 +300,8 @@
300300

301301
it {
302302
is_expected.to contain_exec("rsync foobar").with({
303-
'command' => 'rsync -q -a --chmod=Dg-s,u+w,go-w,+X,+x foobar',
304-
'onlyif' => "test `rsync --dry-run --itemize-changes -a --chmod=Dg-s,u+w,go-w,+X,+x foobar | wc -l` -gt 0"
303+
'command' => 'rsync -q -a --chmod=Dg-s,u+w,go-w,+X,+x example.com foobar',
304+
'onlyif' => "test `rsync --dry-run --itemize-changes -a --chmod=Dg-s,u+w,go-w,+X,+x example.com foobar | wc -l` -gt 0"
305305
})
306306
}
307307
end
@@ -313,8 +313,8 @@
313313

314314
it {
315315
is_expected.to contain_exec("rsync foobar").with({
316-
'command' => 'rsync -q -a --log-file=/tmp/logfile.out foobar',
317-
'onlyif' => "test `rsync --dry-run --itemize-changes -a --log-file=/tmp/logfile.out foobar | wc -l` -gt 0"
316+
'command' => 'rsync -q -a --log-file=/tmp/logfile.out example.com foobar',
317+
'onlyif' => "test `rsync --dry-run --itemize-changes -a --log-file=/tmp/logfile.out example.com foobar | wc -l` -gt 0"
318318
})
319319
}
320320
end

0 commit comments

Comments
 (0)