Skip to content

Instantly share code, notes, and snippets.

@jkordish
Created January 21, 2013 16:29
Show Gist options
  • Save jkordish/4587236 to your computer and use it in GitHub Desktop.
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…
$ 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