JMX_PORT=10203 ./kafka-move-leadership.sh --zookeeper 10.40.0.2:2181,10.40.0.3:2181,10.40.0.4:2181 --broker-id 913231889 --first-broker-id 276559255 --last-broker-id 276559255
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # | |
| # Author:: Joshua Timberman (<joshua@opscode.com>) | |
| # Copyright:: Copyright (c) 2011 Opscode, Inc. | |
| # License:: Apache License, Version 2.0 | |
| # | |
| # Licensed under the Apache License, Version 2.0 (the "License"); | |
| # you may not use this file except in compliance with the License. | |
| # You may obtain a copy of the License at | |
| # | |
| # http://www.apache.org/licenses/LICENSE-2.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| desc "Compile all the assets named in config.assets.precompile" | |
| task :precompile do | |
| # We need to do this dance because RAILS_GROUPS is used | |
| # too early in the boot process and changing here is already too late. | |
| if ENV["RAILS_GROUPS"].to_s.empty? || ENV["RAILS_ENV"].to_s.empty? | |
| ENV["RAILS_GROUPS"] ||= "assets" | |
| ENV["RAILS_ENV"] ||= "production" | |
| Kernel.exec $0, *ARGV | |
| else | |
| Rake::Task["environment"].invoke |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| resource "aws_iam_policy" "terraform_create_policy" { | |
| name = "terraform_create_policy" | |
| path = "/" | |
| policy = "${data.aws_iam_policy_document.terraform_create_policy.json}" | |
| } | |
| data "aws_iam_policy_document" "terraform_create_policy" { | |
| statement { | |
| sid = "1" | |
| actions = [ |
OlderNewer