Merge branch 'feature/hubot-kredits_config' of kosmos/chef into master

This commit is contained in:
gregkare 2019-04-25 14:02:34 +00:00 committed by Gitea
commit 3566184277
2 changed files with 29 additions and 27 deletions

View File

@ -7,3 +7,4 @@ node.default['hal8000']['kredits']['network_id'] = '4'
node.default['hal8000']['kredits']['wallet_path'] = 'wallet.json'
node.default['hal8000']['kredits']['mediawiki_url'] = 'https://wiki.kosmos.org/'
node.default['hal8000']['kredits']['github_repo_blacklist'] = '67P/test-one-two'
node.default['hal8000']['kredits']['gitea_repo_blacklist'] = 'kosmos/test-one-two'

View File

@ -111,7 +111,8 @@ application hal8000_path do
"KREDITS_WALLET_PATH" => node['hal8000']['kredits']['wallet_path'],
"KREDITS_WALLET_PASSWORD" => hal8000_freenode_data_bag_item['kredits_wallet_password'],
"KREDITS_MEDIAWIKI_URL" => node['hal8000']['kredits']['mediawiki_url'],
"KREDITS_GITHUB_REPO_BLACKLIST" => node['hal8000']['kredits']['github_repo_blacklist']
"KREDITS_GITHUB_REPO_BLACKLIST" => node['hal8000']['kredits']['github_repo_blacklist'],
"KREDITS_GITEA_REPO_BLACKLIST" => node['hal8000']['kredits']['gitea_repo_blacklist']
}
)
notifies :run, "execute[systemctl daemon-reload]", :delayed