~martin-nowack/ubuntu/utopic/maas/bug-1425837

« back to all changes in this revision

Viewing changes to etc/maas/templates/power/sm15k.template

  • Committer: Package Import Robot
  • Author(s): Julian Edwards, Julian Edwards, Andres Rodriguez
  • Date: 2014-08-21 18:38:27 UTC
  • mfrom: (1.2.34)
  • Revision ID: package-import@ubuntu.com-20140821183827-9xyb5u2o4l8g3zxj
Tags: 1.6.1+bzr2550-0ubuntu1
* New upstream bugfix release:
  - Auto-link node MACs to Networks (LP: #1341619)

[ Julian Edwards ]
* debian/maas-region-controller.postinst: Don't restart RabbitMQ on
  upgrades, just ensure it's running.  Should prevent a race with the
  cluster celery restarting.
* debian/rules: Pull upstream branch from the right place.

[ Andres Rodriguez ]
* debian/maas-region-controller.postinst: Ensure cluster celery is
  started if it also runs on the region.

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
# Control power using REST v0.9
28
28
issue_rest_v09_command() {
29
29
python - << END
30
 
from provisioningserver.custom_hardware.seamicro import power_control_seamicro15k_v09
 
30
from provisioningserver.drivers.hardware.seamicro import power_control_seamicro15k_v09
31
31
power_control_seamicro15k_v09("${power_address}", "${power_user}", "${power_pass}", "${system_id}", "${power_change}")
32
32
END
33
33
}
35
35
# Control power using REST v2
36
36
issue_rest_v2_command() {
37
37
python - << END
38
 
from provisioningserver.custom_hardware.seamicro import power_control_seamicro15k_v2
 
38
from provisioningserver.drivers.hardware.seamicro import power_control_seamicro15k_v2
39
39
power_control_seamicro15k_v2("${power_address}", "${power_user}", "${power_pass}", "${system_id}", "${power_change}")
40
40
END
41
41
}