|
296 | 296 | "Metadata": { |
297 | 297 | "AWS::CloudFormation::Init": { |
298 | 298 | "configSets": { |
299 | | - "vault_install": [ "install_cloudwatch_logs_and_mon_scripts", "install_vault", "run_vault" ] |
| 299 | + "vault_install": [ "install_vault", "run_vault", "install_cloudwatch_logs_and_mon_scripts" ] |
300 | 300 | }, |
301 | 301 | "install_cloudwatch_logs_and_mon_scripts": { |
302 | 302 | "packages": { |
|
410 | 410 | "Fn::Base64": { |
411 | 411 | "Fn::Join": [ |
412 | 412 | "", [ |
413 | | - "#!/bin/bash -e\n", |
| 413 | + "#!/bin/bash -x\n", |
414 | 414 | "mkdir -p /opt/vault/policies/ /opt/vault/scripts/ /etc/vault.d/\n", |
415 | 415 | "apt-get -y update\n", |
416 | 416 | "#install the cfn-init tools\n", |
417 | 417 | "apt-get -y install python-pip\n", |
418 | 418 | "pip install pyOpenSSL ndg-httpsclient pyasn1\n", |
419 | 419 | "easy_install https://s3.amazonaws.com/cloudformation-examples/aws-cfn-bootstrap-latest.tar.gz\n", |
420 | | - "ln -s /root/aws-cfn-bootstrap-latest/init/ubuntu/cfn-hup /etc/init.d/cfn-hup\n", |
421 | 420 | "/usr/local/bin/cfn-init", |
422 | 421 | " --verbose ", |
423 | 422 | " --stack ", { |
|
428 | 427 | " --region ", { |
429 | 428 | "Ref": "AWS::Region" |
430 | 429 | }, "\n", |
431 | | - "CONSULMASTER=", |
| 430 | + "CONSULMASTER=\"", |
432 | 431 | { |
433 | 432 | "Ref": "ConsulMasterPrivateIP" |
434 | 433 | },"\"\n", |
|
502 | 501 | "Metadata": { |
503 | 502 | "AWS::CloudFormation::Init": { |
504 | 503 | "configSets": { |
505 | | - "vault_install": ["install_cloudwatch_logs_and_mon_scripts", "install_vault", "run_vault"] |
| 504 | + "vault_install": [ "install_vault", "run_vault", "install_cloudwatch_logs_and_mon_scripts" ] |
506 | 505 | }, |
507 | 506 | "install_cloudwatch_logs_and_mon_scripts": { |
508 | 507 | "packages": { |
|
615 | 614 | "Fn::Base64": { |
616 | 615 | "Fn::Join": [ |
617 | 616 | "", [ |
618 | | - "#!/bin/bash -e\n", |
| 617 | + "#!/bin/bash -x\n", |
619 | 618 | "mkdir -p /opt/vault/policies/ /opt/vault/scripts/ /etc/vault.d/\n", |
620 | 619 | "apt-get -y update\n", |
621 | 620 | "#install the cfn-init tools\n", |
622 | 621 | "apt-get -y install python-pip\n", |
623 | 622 | "pip install pyOpenSSL ndg-httpsclient pyasn1\n", |
624 | 623 | "easy_install https://s3.amazonaws.com/cloudformation-examples/aws-cfn-bootstrap-latest.tar.gz\n", |
625 | | - "ln -s /root/aws-cfn-bootstrap-latest/init/ubuntu/cfn-hup /etc/init.d/cfn-hup\n", |
626 | 624 | "/usr/local/bin/cfn-init", |
627 | 625 | " --verbose ", |
628 | 626 | " --stack ", { |
|
633 | 631 | " --region ", { |
634 | 632 | "Ref": "AWS::Region" |
635 | 633 | }, "\n", |
636 | | - "CONSULMASTER=", |
| 634 | + "CONSULMASTER\"=", |
637 | 635 | { |
638 | 636 | "Ref": "ConsulMasterPrivateIP" |
639 | 637 | },"\"\n", |
|
0 commit comments