Fix Puppet 3.2.x deprecation warnings
Change-Id: I4f6075fb189474ee071fa9b80944a5fe5c062193
This commit is contained in:
parent
6d6e35d284
commit
75e29ee2be
@ -1,22 +1,22 @@
|
|||||||
[DEFAULT]
|
[DEFAULT]
|
||||||
devices = <%= devices %>
|
devices = <%= @devices %>
|
||||||
bind_ip = <%= storage_local_net_ip %>
|
bind_ip = <%= @storage_local_net_ip %>
|
||||||
bind_port = <%= bind_port %>
|
bind_port = <%= @bind_port %>
|
||||||
mount_check = <%= mount_check %>
|
mount_check = <%= @mount_check %>
|
||||||
user = <%= user %>
|
user = <%= @user %>
|
||||||
log_facility = <%= log_facility %>
|
log_facility = <%= @log_facility %>
|
||||||
workers = <%= workers %>
|
workers = <%= @workers %>
|
||||||
|
|
||||||
[pipeline:main]
|
[pipeline:main]
|
||||||
pipeline = <%= pipeline.to_a.join(' ') %>
|
pipeline = <%= @pipeline.to_a.join(' ') %>
|
||||||
|
|
||||||
[app:account-server]
|
[app:account-server]
|
||||||
use = egg:swift#account
|
use = egg:swift#account
|
||||||
|
|
||||||
[account-replicator]
|
[account-replicator]
|
||||||
concurrency = <%= replicator_concurrency %>
|
concurrency = <%= @replicator_concurrency %>
|
||||||
|
|
||||||
[account-auditor]
|
[account-auditor]
|
||||||
|
|
||||||
[account-reaper]
|
[account-reaper]
|
||||||
concurrency = <%= reaper_concurrency %>
|
concurrency = <%= @reaper_concurrency %>
|
||||||
|
@ -1,24 +1,24 @@
|
|||||||
[DEFAULT]
|
[DEFAULT]
|
||||||
devices = <%= devices %>
|
devices = <%= @devices %>
|
||||||
bind_ip = <%= storage_local_net_ip %>
|
bind_ip = <%= @storage_local_net_ip %>
|
||||||
bind_port = <%= bind_port %>
|
bind_port = <%= @bind_port %>
|
||||||
mount_check = <%= mount_check %>
|
mount_check = <%= @mount_check %>
|
||||||
user = <%= user %>
|
user = <%= @user %>
|
||||||
log_facility = <%= log_facility %>
|
log_facility = <%= @log_facility %>
|
||||||
workers = <%= workers %>
|
workers = <%= @workers %>
|
||||||
allowed_sync_hosts = <%= scope.lookupvar("swift::storage::container::allowed_sync_hosts").to_a.join(',') %>
|
allowed_sync_hosts = <%= scope.lookupvar("swift::storage::container::allowed_sync_hosts").to_a.join(',') %>
|
||||||
|
|
||||||
[pipeline:main]
|
[pipeline:main]
|
||||||
pipeline = <%= pipeline.to_a.join(' ') %>
|
pipeline = <%= @pipeline.to_a.join(' ') %>
|
||||||
|
|
||||||
[app:container-server]
|
[app:container-server]
|
||||||
use = egg:swift#container
|
use = egg:swift#container
|
||||||
|
|
||||||
[container-replicator]
|
[container-replicator]
|
||||||
concurrency = <%= replicator_concurrency %>
|
concurrency = <%= @replicator_concurrency %>
|
||||||
|
|
||||||
[container-updater]
|
[container-updater]
|
||||||
concurrency = <%= updater_concurrency %>
|
concurrency = <%= @updater_concurrency %>
|
||||||
|
|
||||||
[container-auditor]
|
[container-auditor]
|
||||||
|
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
[dispersion]
|
[dispersion]
|
||||||
auth_url = <%= auth_url %>
|
auth_url = <%= @auth_url %>
|
||||||
auth_version = <%= auth_version %>
|
auth_version = <%= @auth_version %>
|
||||||
auth_user = <%= auth_tenant %>:<%= auth_user %>
|
auth_user = <%= @auth_tenant %>:<%= @auth_user %>
|
||||||
auth_key = <%= auth_pass %>
|
auth_key = <%= @auth_pass %>
|
||||||
swift_dir = <%= swift_dir %>
|
swift_dir = <%= @swift_dir %>
|
||||||
dispersion_coverage = <%= coverage %>
|
dispersion_coverage = <%= @coverage %>
|
||||||
retries = <%= retries %>
|
retries = <%= @retries %>
|
||||||
concurrency = <%= concurrency %>
|
concurrency = <%= @concurrency %>
|
||||||
dump_json = <%= dump_json %>
|
dump_json = <%= @dump_json %>
|
||||||
|
|
||||||
|
@ -1,22 +1,22 @@
|
|||||||
[DEFAULT]
|
[DEFAULT]
|
||||||
devices = <%= devices %>
|
devices = <%= @devices %>
|
||||||
bind_ip = <%= storage_local_net_ip %>
|
bind_ip = <%= @storage_local_net_ip %>
|
||||||
bind_port = <%= bind_port %>
|
bind_port = <%= @bind_port %>
|
||||||
mount_check = <%= mount_check %>
|
mount_check = <%= @mount_check %>
|
||||||
user = <%= user %>
|
user = <%= @user %>
|
||||||
log_facility = <%= log_facility %>
|
log_facility = <%= @log_facility %>
|
||||||
workers = <%= workers %>
|
workers = <%= @workers %>
|
||||||
|
|
||||||
[pipeline:main]
|
[pipeline:main]
|
||||||
pipeline = <%= pipeline.to_a.join(' ') %>
|
pipeline = <%= @pipeline.to_a.join(' ') %>
|
||||||
|
|
||||||
[app:object-server]
|
[app:object-server]
|
||||||
use = egg:swift#object
|
use = egg:swift#object
|
||||||
|
|
||||||
[object-replicator]
|
[object-replicator]
|
||||||
concurrency = <%= replicator_concurrency %>
|
concurrency = <%= @replicator_concurrency %>
|
||||||
|
|
||||||
[object-updater]
|
[object-updater]
|
||||||
concurrency = <%= updater_concurrency %>
|
concurrency = <%= @updater_concurrency %>
|
||||||
|
|
||||||
[object-auditor]
|
[object-auditor]
|
||||||
|
@ -1,19 +1,19 @@
|
|||||||
# This file is managed by puppet. Do not edit
|
# This file is managed by puppet. Do not edit
|
||||||
#
|
#
|
||||||
[DEFAULT]
|
[DEFAULT]
|
||||||
bind_port = <%= port %>
|
bind_port = <%= @port %>
|
||||||
<% if proxy_local_net_ip %>
|
<% if @proxy_local_net_ip %>
|
||||||
bind_ip = <%= proxy_local_net_ip %>
|
bind_ip = <%= @proxy_local_net_ip %>
|
||||||
<% end %>
|
<% end %>
|
||||||
workers = <%= workers %>
|
workers = <%= @workers %>
|
||||||
user = swift
|
user = swift
|
||||||
log_level = <%= log_level %>
|
log_level = <%= @log_level %>
|
||||||
|
|
||||||
[pipeline:main]
|
[pipeline:main]
|
||||||
pipeline = <%= pipeline.to_a.join(' ') %>
|
pipeline = <%= @pipeline.to_a.join(' ') %>
|
||||||
|
|
||||||
[app:proxy-server]
|
[app:proxy-server]
|
||||||
use = egg:swift#proxy
|
use = egg:swift#proxy
|
||||||
allow_account_management = <%= allow_account_management %>
|
allow_account_management = <%= @allow_account_management %>
|
||||||
account_autocreate = <%= account_autocreate %>
|
account_autocreate = <%= @account_autocreate %>
|
||||||
|
|
||||||
|
@ -1,19 +1,19 @@
|
|||||||
[filter:authtoken]
|
[filter:authtoken]
|
||||||
paste.filter_factory = keystoneclient.middleware.auth_token:filter_factory
|
paste.filter_factory = keystoneclient.middleware.auth_token:filter_factory
|
||||||
auth_host = <%= auth_host %>
|
auth_host = <%= @auth_host %>
|
||||||
auth_port = <%= auth_port %>
|
auth_port = <%= @auth_port %>
|
||||||
auth_protocol = <%= auth_protocol %>
|
auth_protocol = <%= @auth_protocol %>
|
||||||
<% if auth_admin_prefix -%>
|
<% if @auth_admin_prefix -%>
|
||||||
auth_admin_prefix = <%= auth_admin_prefix %>
|
auth_admin_prefix = <%= @auth_admin_prefix %>
|
||||||
<% end -%>
|
<% end -%>
|
||||||
auth_uri = <%= auth_uri_real %>
|
auth_uri = <%= @auth_uri_real %>
|
||||||
# if its defined
|
# if its defined
|
||||||
<% if admin_token -%>
|
<% if @admin_token -%>
|
||||||
admin_token = <%= admin_token %>
|
admin_token = <%= @admin_token %>
|
||||||
<% else -%>
|
<% else -%>
|
||||||
admin_tenant_name = <%= admin_tenant_name %>
|
admin_tenant_name = <%= @admin_tenant_name %>
|
||||||
admin_user = <%= admin_user %>
|
admin_user = <%= @admin_user %>
|
||||||
admin_password = <%= admin_password %>
|
admin_password = <%= @admin_password %>
|
||||||
<% end -%>
|
<% end -%>
|
||||||
delay_auth_decision = <%= delay_auth_decision %>
|
delay_auth_decision = <%= @delay_auth_decision %>
|
||||||
|
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
[filter:cache]
|
[filter:cache]
|
||||||
use = egg:swift#memcache
|
use = egg:swift#memcache
|
||||||
memcache_servers = <%= [memcache_servers].flatten.join(',') %>
|
memcache_servers = <%= [@memcache_servers].flatten.join(',') %>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
[filter:keystone]
|
[filter:keystone]
|
||||||
use = egg:swift#keystoneauth
|
use = egg:swift#keystoneauth
|
||||||
operator_roles = <%= operator_roles.to_a.join(', ') %>
|
operator_roles = <%= @operator_roles.to_a.join(', ') %>
|
||||||
is_admin = <%= is_admin %>
|
is_admin = <%= @is_admin %>
|
||||||
cache = <%= cache %>
|
cache = <%= @cache %>
|
||||||
|
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
[filter:ratelimit]
|
[filter:ratelimit]
|
||||||
use = egg:swift#ratelimit
|
use = egg:swift#ratelimit
|
||||||
clock_accuracy = <%= clock_accuracy %>
|
clock_accuracy = <%= @clock_accuracy %>
|
||||||
max_sleep_time_seconds = <%= max_sleep_time_seconds %>
|
max_sleep_time_seconds = <%= @max_sleep_time_seconds %>
|
||||||
log_sleep_time_seconds = <%= log_sleep_time_seconds %>
|
log_sleep_time_seconds = <%= @log_sleep_time_seconds %>
|
||||||
rate_buffer_seconds = <%= rate_buffer_seconds %>
|
rate_buffer_seconds = <%= @rate_buffer_seconds %>
|
||||||
account_ratelimit = <%= account_ratelimit %>
|
account_ratelimit = <%= @account_ratelimit %>
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
[filter:s3token]
|
[filter:s3token]
|
||||||
paste.filter_factory = keystone.middleware.s3_token:filter_factory
|
paste.filter_factory = keystone.middleware.s3_token:filter_factory
|
||||||
auth_port = <%= auth_port %>
|
auth_port = <%= @auth_port %>
|
||||||
auth_protocol = <%= auth_protocol %>
|
auth_protocol = <%= @auth_protocol %>
|
||||||
auth_host = <%= auth_host %>
|
auth_host = <%= @auth_host %>
|
||||||
|
@ -2,6 +2,6 @@
|
|||||||
[filter:swauth]
|
[filter:swauth]
|
||||||
use = egg:swauth#swauth
|
use = egg:swauth#swauth
|
||||||
# this line is not in the install docs?
|
# this line is not in the install docs?
|
||||||
default_swift_cluster = local#<%= swauth_endpoint %>
|
default_swift_cluster = local#<%= @swauth_endpoint %>
|
||||||
super_admin_key = <%= swauth_super_admin_key %>
|
super_admin_key = <%= @swauth_super_admin_key %>
|
||||||
|
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
[filter:recon]
|
[filter:recon]
|
||||||
use = egg:swift#recon
|
use = egg:swift#recon
|
||||||
recon_cache_path = <%= cache_path %>
|
recon_cache_path = <%= @cache_path %>
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
[swift-hash]
|
[swift-hash]
|
||||||
swift_hash_path_suffix = <%= swift_hash_suffix %>
|
swift_hash_path_suffix = <%= @swift_hash_suffix %>
|
||||||
|
@ -8,9 +8,9 @@ require 'open3'
|
|||||||
require 'fileutils'
|
require 'fileutils'
|
||||||
|
|
||||||
# connection variables
|
# connection variables
|
||||||
proxy_local_net_ip="<%= auth_server %>"
|
proxy_local_net_ip="<%= @auth_server %>"
|
||||||
user='<%= tenant %>:<%= user %>'
|
user='<%= @tenant %>:<%= @user %>'
|
||||||
password='<%= password %>'
|
password='<%= @password %>'
|
||||||
|
|
||||||
## headers for curl requests
|
## headers for curl requests
|
||||||
#user_header="-H 'X-Storage-User: #{user}'"
|
#user_header="-H 'X-Storage-User: #{user}'"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user