Skip to content

Commit

Permalink
(maint) more updates to module
Browse files Browse the repository at this point in the history
updates fixtures yml and closes module dependencies in metadata.json

also closes #89
  • Loading branch information
eputnam committed May 26, 2017
1 parent 055d34e commit 801e15b
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions .fixtures.yml
@@ -1,10 +1,10 @@
fixtures:
forge_modules:
repositories:
xinetd:
repo: 'puppetlabs/xinetd'
repo: 'https://www.github.com/puppetlabs/puppetlabs-xinetd'
concat:
repo: 'puppetlabs/concat'
repo: 'https://www.github.com/puppetlabs/puppetlabs-concat'
stdlib:
repo: 'puppetlabs/stdlib'
repo: 'https://www.github.com/puppetlabs/puppetlabs-stdlib'
symlinks:
"rsync": "#{source_dir}"
4 changes: 2 additions & 2 deletions metadata.json
Expand Up @@ -8,8 +8,8 @@
"project_page": "https://github.com/puppetlabs/puppetlabs-rsync",
"issues_url": "https://tickets.puppetlabs.com/browse/MODULES",
"dependencies": [
{"name":"puppetlabs/stdlib","version_requirement":">=4.2.0"},
{"name":"puppetlabs/stdlib","version_requirement":">=4.2.0 <5.0.0"},
{"name":"puppetlabs/xinetd","version_requirement":">=1.1.0"},
{"name":"puppetlabs/concat","version_requirement":">= 1.1.1"}
{"name":"puppetlabs/concat","version_requirement":">= 1.1.1 <5.0.0"}
]
}
12 changes: 6 additions & 6 deletions spec/defines/get_spec.rb
Expand Up @@ -287,8 +287,8 @@

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

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

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

0 comments on commit 801e15b

Please sign in to comment.