Remove data_bags path from .gitignore
Allows data_bags to be uploaded for spec testing with Chef Vault
This commit is contained in:
Родитель
5ac99ceb05
Коммит
e41df1d092
|
@ -20,4 +20,3 @@ bin/*
|
|||
Berksfile.lock
|
||||
.zero-knife.rb
|
||||
Policyfile.lock.json
|
||||
data_bags
|
||||
|
|
|
@ -3,14 +3,13 @@ require 'spec_helper'
|
|||
shared_examples 'manufacturer' do
|
||||
step_into :manufacturer
|
||||
recipe do
|
||||
api_token = node['snipeit']['api']['token']
|
||||
|
||||
manufacturer 'Apple' do
|
||||
website 'https://www.apple.com'
|
||||
token api_token
|
||||
end
|
||||
|
||||
manufacturer 'Dell'
|
||||
manufacturer 'Dell' do
|
||||
token 'asdjlkhlskjha348298phluasf-.'
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"key": "asdjlkhlskjha348298phluasf-."
|
||||
}
|
Загрузка…
Ссылка в новой задаче