diff --git a/README.md b/README.md index 6d8eaca..8bbed15 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,7 @@ For each machine you want to participate in Pacemaker: Set up a file /etc/ansible/facts.d/uuid.fact as such: ``` +[default] equinix_uuid=this-is-not-a-real-uuid equinix_project=this-is-not-a-real-project equinix_token=this-is-not-a-real-token diff --git a/equinix-elastic-ip b/equinix-elastic-ip index eda4ecf..0aad819 100755 --- a/equinix-elastic-ip +++ b/equinix-elastic-ip @@ -44,9 +44,9 @@ OCF_RESKEY_subnet_default="" : ${OCF_RESKEY_ip=${OCF_RESKEY_ip_default}} # Load in Equinix machine UUID and token -MACHINE_UUID=$(crudini --get $OCF_RESKEY_equinixfact '' equinix_uuid) -EQUINIX_TOKEN=$(crudini --get $OCF_RESKEY_equinixfact '' equinix_token) -EQUINIX_PROJECT=$(crudini --get $OCF_RESKEY_equinixfact '' equinix_project) +MACHINE_UUID=$(crudini --get $OCF_RESKEY_equinixfact default equinix_uuid) +EQUINIX_TOKEN=$(crudini --get $OCF_RESKEY_equinixfact default equinix_token) +EQUINIX_PROJECT=$(crudini --get $OCF_RESKEY_equinixfact default equinix_project) ####################################################################### diff --git a/equinix-elastic-ip-public b/equinix-elastic-ip-public index f8618b6..b59a90c 100755 --- a/equinix-elastic-ip-public +++ b/equinix-elastic-ip-public @@ -43,9 +43,9 @@ OCF_RESKEY_ip_default="" : ${OCF_RESKEY_ip=${OCF_RESKEY_ip_default}} # Load in Equinix machine UUID and token -MACHINE_UUID=$(crudini --get $OCF_RESKEY_equinixfact '' equinix_uuid) -EQUINIX_TOKEN=$(crudini --get $OCF_RESKEY_equinixfact '' equinix_token) -EQUINIX_PROJECT=$(crudini --get $OCF_RESKEY_equinixfact '' equinix_project) +MACHINE_UUID=$(crudini --get $OCF_RESKEY_equinixfact default equinix_uuid) +EQUINIX_TOKEN=$(crudini --get $OCF_RESKEY_equinixfact default equinix_token) +EQUINIX_PROJECT=$(crudini --get $OCF_RESKEY_equinixfact default equinix_project) #######################################################################