summaryrefslogtreecommitdiff
path: root/puppet/modules/sshd/Rakefile
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2016-06-09 17:34:14 +0200
committervarac <varacanero@zeromail.org>2016-06-14 12:05:18 +0200
commit1e5b7380fbb9da62e08fb0644e309c0afe709331 (patch)
tree76bbb606b06b81e11816dbddde3ab155e8ff8f48 /puppet/modules/sshd/Rakefile
parentc55393d0bd72907a151466df7339072d78a9f565 (diff)
git subrepo clone https://leap.se/git/puppet_sshd puppet/modules/sshd
subrepo: subdir: "puppet/modules/sshd" merged: "76f4f87" upstream: origin: "https://leap.se/git/puppet_sshd" branch: "master" commit: "76f4f87" git-subrepo: version: "0.3.0" origin: "https://github.com/ingydotnet/git-subrepo.git" commit: "cb2995b"
Diffstat (limited to 'puppet/modules/sshd/Rakefile')
-rw-r--r--puppet/modules/sshd/Rakefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/puppet/modules/sshd/Rakefile b/puppet/modules/sshd/Rakefile
new file mode 100644
index 00000000..e3213518
--- /dev/null
+++ b/puppet/modules/sshd/Rakefile
@@ -0,0 +1,16 @@
+require 'bundler'
+Bundler.require(:rake)
+
+require 'puppetlabs_spec_helper/rake_tasks'
+require 'puppet-lint/tasks/puppet-lint'
+require 'rspec-system/rake_task'
+
+PuppetLint.configuration.log_format = '%{path}:%{linenumber}:%{KIND}: %{message}'
+PuppetLint.configuration.send("disable_80chars")
+
+puppet_module='sshd'
+task :librarian_spec_prep do
+ sh 'librarian-puppet install --path=spec/fixtures/modules/'
+end
+task :spec_prep => :librarian_spec_prep
+task :default => [:spec, :lint]