forked from albatrossflavour/puppet_os_patching
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
64 lines (52 loc) · 1.39 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
all:
${MAKE} test
install_centos:
bundle exec rake 'litmus:provision_list[travis_el]'
install_ubuntu:
bundle exec rake 'litmus:provision_list[travis_deb]'
install_module:
bundle exec rake litmus:install_module
test:
${MAKE} validate
${MAKE} unit
${MAKE} acceptance
${MAKE} documentation
validate:
bundle exec rake metadata_lint
bundle exec rake syntax
bundle exec rake validate
bundle exec rake rubocop
bundle exec rake check:git_ignore
unit:
bundle exec rake spec
acceptance:
${MAKE} test_puppet5
${MAKE} test_puppet6
test_puppet6:
${MAKE} install_centos
bundle exec rake litmus:install_agent[puppet6]
${MAKE} install_module
bundle exec rake litmus:acceptance:parallel
${MAKE} teardown
${MAKE} install_ubuntu
bundle exec rake litmus:install_agent[puppet6]
${MAKE} install_module
bundle exec rake litmus:acceptance:parallel
${MAKE} teardown
test_puppet5:
${MAKE} install_centos
bundle exec rake litmus:install_agent[puppet5]
${MAKE} install_module
bundle exec rake litmus:acceptance:parallel
${MAKE} teardown
${MAKE} install_ubuntu
bundle exec rake litmus:install_agent[puppet5]
${MAKE} install_module
bundle exec rake litmus:acceptance:parallel
${MAKE} teardown
documentation:
bundle exec puppet strings generate --format=markdown
teardown:
bundle exec rake litmus:tear_down
shell:
ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no root@localhost -p 2222