1
|
#!/bin/csh -f
|
2
|
|
3
|
# Replaced with: rake test TEST=test/setup_test.rb
|
4
|
|
5
|
bundle exec hammer -v csv:organizations --csv-file test/data/organizations.csv
|
6
|
bundle exec hammer -v csv:users --csv-file test/data/users.csv
|
7
|
bundle exec hammer -v csv:operatingsystems --csv-file test/data/operatingsystems.csv
|
8
|
bundle exec hammer -v csv:architectures --csv-file test/data/architectures.csv
|
9
|
bundle exec hammer -v csv:partitiontables --csv-file test/data/partitiontables.csv
|
10
|
bundle exec hammer -v csv:domains --csv-file test/data/domains.csv
|
11
|
bundle exec hammer -v csv:puppetenvironments --csv-file test/data/puppetenvironments.csv
|
12
|
bundle exec hammer -v csv:hosts --csv-file test/data/hosts.csv
|
13
|
bundle exec hammer -v csv:puppetfacts --csv-file test/data/puppetfacts.csv
|
14
|
|
15
|
bundle exec hammer subscription upload --organization-id megacorp --file ~/Downloads/megacorp.zip
|
16
|
echo "Waiting 30s for manifest upload to complete..."
|
17
|
sleep 30
|
18
|
echo "...continuing"
|
19
|
|
20
|
bundle exec hammer -v csv:products --csv-file test/data/products.csv
|
21
|
|
22
|
bundle exec hammer -v csv:lifecycleenv --csv-file test/data/lifecycleenvironments.csv
|
23
|
bundle exec hammer -v csv:systemgroups --csv-file test/data/systemgroups.csv
|
24
|
bundle exec hammer -v csv:systems --csv-file test/data/systems.csv
|
25
|
bundle exec hammer -v csv:activationkeys --csv-file test/data/activationkeys.csv
|
26
|
bundle exec hammer -v csv:roles --csv-file test/data/roles.csv
|