Created
January 21, 2013 16:29
-
-
Save jkordish/4587236 to your computer and use it in GitHub Desktop.
The collectd-graphite and swift-proxy both run on port 8080. Following knife command will change the swift-proxy port. Run it prior to installing swift-proxy-server. This makes swift-proxy-server listen on 8180 instead of 8080. I'm changing the swift-proxy-server port instead of collectd-graphite because collectd-graphite is already installed on…
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
$ sudo -i | |
# knife exec -E '@e=Chef::Environment.load("rpcs"); @e.override_attributes(@e.override_attributes.merge({"swift"=>{"services"=>{"proxy"=>{"port"=>"8180"}}}})); @e.save' | |
# chef-client | |
# knife node run_list add node.fqdn 'role[swift-proxy-server]' | |
# chef-client |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment