Skip to content

Instantly share code, notes, and snippets.

@mathewmoon
Created July 8, 2019 20:19
Show Gist options
  • Select an option

  • Save mathewmoon/5b2d977c33ce3f849833791403aea4c0 to your computer and use it in GitHub Desktop.

Select an option

Save mathewmoon/5b2d977c33ce3f849833791403aea4c0 to your computer and use it in GitHub Desktop.
amazon-ebs: + sudo pip3 install crypto pyopenssl requests boto3 botocore
amazon-ebs: WARNING: Running pip install with root privileges is generally not a good idea. Try `pip3 install --user` instead.
amazon-ebs: Collecting crypto
amazon-ebs: Downloading https://files.pythonhosted.org/packages/fc/bb/0b812dc02e6357606228edfbf5808f5ca0a675a84273578c3a199e841cd8/crypto-1.4.1-py2.py3-none-any.whl
amazon-ebs: Collecting pyopenssl
amazon-ebs: Downloading https://files.pythonhosted.org/packages/01/c8/ceb170d81bd3941cbeb9940fc6cc2ef2ca4288d0ca8929ea4db5905d904d/pyOpenSSL-19.0.0-py2.py3-none-any.whl (53kB)
amazon-ebs: 100% |████████████████████████████████| 61kB 11.5MB/s
amazon-ebs: Collecting requests
amazon-ebs: Downloading https://files.pythonhosted.org/packages/51/bd/23c926cd341ea6b7dd0b2a00aba99ae0f828be89d72b2190f27c11d4b7fb/requests-2.22.0-py2.py3-none-any.whl (57kB)
amazon-ebs: 100% |████████████████████████████████| 61kB 11.2MB/s
amazon-ebs: Collecting boto3
amazon-ebs: Downloading https://files.pythonhosted.org/packages/12/43/6df1210d90ee286577ffc83f8715ea6c1c5ef11c9dc8031c6ff77936d735/boto3-1.9.183-py2.py3-none-any.whl (128kB)
amazon-ebs: 100% |████████████████████████████████| 133kB 10.3MB/s
amazon-ebs: Collecting botocore
amazon-ebs: Downloading https://files.pythonhosted.org/packages/7c/25/650f208e32bad395c27061f8c25cc110ee6337aed64d7d690f7074ccdbb8/botocore-1.12.183-py2.py3-none-any.whl (5.6MB)
amazon-ebs: 100% |████████████████████████████████| 5.6MB 279kB/s
amazon-ebs: Collecting Naked (from crypto)
amazon-ebs: Downloading https://files.pythonhosted.org/packages/02/36/b8107b51adca73402ec1860d88f41d958e275e60eea6eeaa9c39ddb89a40/Naked-0.1.31-py2.py3-none-any.whl (590kB)
amazon-ebs: 100% |████████████████████████████████| 593kB 2.6MB/s
amazon-ebs: Collecting shellescape (from crypto)
amazon-ebs: Downloading https://files.pythonhosted.org/packages/51/b6/986c99a10040beaaefca1ad6c93bd7738cb8e4f52f6caed13d3ed1caa7e4/shellescape-3.4.1-py2.py3-none-any.whl
amazon-ebs: Collecting cryptography>=2.3 (from pyopenssl)
amazon-ebs: Downloading https://files.pythonhosted.org/packages/97/18/c6557f63a6abde34707196fb2cad1c6dc0dbff25a200d5044922496668a4/cryptography-2.7-cp34-abi3-manylinux1_x86_64.whl (2.3MB)
amazon-ebs: 100% |████████████████████████████████| 2.3MB 678kB/s
amazon-ebs: Collecting six>=1.5.2 (from pyopenssl)
amazon-ebs: Downloading https://files.pythonhosted.org/packages/73/fb/00a976f728d0d1fecfe898238ce23f502a721c0ac0ecfedb80e0d88c64e9/six-1.12.0-py2.py3-none-any.whl
amazon-ebs: Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 (from requests)
amazon-ebs: Downloading https://files.pythonhosted.org/packages/e6/60/247f23a7121ae632d62811ba7f273d0e58972d75e58a94d329d51550a47d/urllib3-1.25.3-py2.py3-none-any.whl (150kB)
amazon-ebs: 100% |████████████████████████████████| 153kB 8.8MB/s
amazon-ebs: Collecting certifi>=2017.4.17 (from requests)
amazon-ebs: Downloading https://files.pythonhosted.org/packages/69/1b/b853c7a9d4f6a6d00749e94eb6f3a041e342a885b87340b79c1ef73e3a78/certifi-2019.6.16-py2.py3-none-any.whl (157kB)
amazon-ebs: 100% |████████████████████████████████| 163kB 8.6MB/s
amazon-ebs: Collecting idna<2.9,>=2.5 (from requests)
amazon-ebs: Downloading https://files.pythonhosted.org/packages/14/2c/cd551d81dbe15200be1cf41cd03869a46fe7226e7450af7a6545bfc474c9/idna-2.8-py2.py3-none-any.whl (58kB)
amazon-ebs: 100% |████████████████████████████████| 61kB 12.2MB/s
amazon-ebs: Collecting chardet<3.1.0,>=3.0.2 (from requests)
amazon-ebs: Downloading https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl (133kB)
amazon-ebs: 100% |████████████████████████████████| 143kB 10.1MB/s
amazon-ebs: Collecting jmespath<1.0.0,>=0.7.1 (from boto3)
amazon-ebs: Downloading https://files.pythonhosted.org/packages/83/94/7179c3832a6d45b266ddb2aac329e101367fbdb11f425f13771d27f225bb/jmespath-0.9.4-py2.py3-none-any.whl
amazon-ebs: Collecting s3transfer<0.3.0,>=0.2.0 (from boto3)
amazon-ebs: Downloading https://files.pythonhosted.org/packages/16/8a/1fc3dba0c4923c2a76e1ff0d52b305c44606da63f718d14d3231e21c51b0/s3transfer-0.2.1-py2.py3-none-any.whl (70kB)
amazon-ebs: 100% |████████████████████████████████| 71kB 12.0MB/s
amazon-ebs: Collecting python-dateutil<3.0.0,>=2.1; python_version >= "2.7" (from botocore)
amazon-ebs: Downloading https://files.pythonhosted.org/packages/41/17/c62faccbfbd163c7f57f3844689e3a78bae1f403648a6afb1d0866d87fbb/python_dateutil-2.8.0-py2.py3-none-any.whl (226kB)
amazon-ebs: 100% |████████████████████████████████| 235kB 6.2MB/s
amazon-ebs: Collecting docutils>=0.10 (from botocore)
amazon-ebs: Downloading https://files.pythonhosted.org/packages/36/fa/08e9e6e0e3cbd1d362c3bbee8d01d0aedb2155c4ac112b19ef3cae8eed8d/docutils-0.14-py3-none-any.whl (543kB)
amazon-ebs: 100% |████████████████████████████████| 552kB 2.9MB/s
amazon-ebs: Collecting pyyaml (from Naked->crypto)
amazon-ebs: Downloading https://files.pythonhosted.org/packages/a3/65/837fefac7475963d1eccf4aa684c23b95aa6c1d033a2c5965ccb11e22623/PyYAML-5.1.1.tar.gz (274kB)
amazon-ebs: 100% |████████████████████████████████| 276kB 5.3MB/s
amazon-ebs: Collecting asn1crypto>=0.21.0 (from cryptography>=2.3->pyopenssl)
amazon-ebs: Downloading https://files.pythonhosted.org/packages/ea/cd/35485615f45f30a510576f1a56d1e0a7ad7bd8ab5ed7cdc600ef7cd06222/asn1crypto-0.24.0-py2.py3-none-any.whl (101kB)
amazon-ebs: 100% |████████████████████████████████| 102kB 11.9MB/s
amazon-ebs: Collecting cffi!=1.11.3,>=1.8 (from cryptography>=2.3->pyopenssl)
amazon-ebs: Downloading https://files.pythonhosted.org/packages/a0/ea/37fe21475c884f88a2ae496cab10e8f84f0cc11137be860af9eb37a3edb9/cffi-1.12.3-cp37-cp37m-manylinux1_x86_64.whl (430kB)
amazon-ebs: 100% |████████████████████████████████| 440kB 3.5MB/s
amazon-ebs: Collecting pycparser (from cffi!=1.11.3,>=1.8->cryptography>=2.3->pyopenssl)
amazon-ebs: Downloading https://files.pythonhosted.org/packages/68/9e/49196946aee219aead1290e00d1e7fdeab8567783e83e1b9ab5585e6206a/pycparser-2.19.tar.gz (158kB)
amazon-ebs: 100% |████████████████████████████████| 163kB 8.6MB/s
amazon-ebs: Installing collected packages: pyyaml, urllib3, certifi, idna, chardet, requests, Naked, shellescape, crypto, six, asn1crypto, pycparser, cffi, cryptography, pyopenssl, jmespath, python-dateutil, docutils, botocore, s3transfer, boto3
amazon-ebs: Running setup.py install for pyyaml ... done
amazon-ebs: Running setup.py install for pycparser ... done
amazon-ebs: Successfully installed Naked-0.1.31 asn1crypto-0.24.0 boto3-1.9.183 botocore-1.12.183 certifi-2019.6.16 cffi-1.12.3 chardet-3.0.4 crypto-1.4.1 cryptography-2.7 docutils-0.14 idna-2.8 jmespath-0.9.4 pycparser-2.19 pyopenssl-19.0.0 python-dateutil-2.8.0 pyyaml-5.1.1 requests-2.22.0 s3transfer-0.2.1 shellescape-3.4.1 six-1.12.0 urllib3-1.25.3
==> amazon-ebs: Provisioning with shell script: scripts/pulsar.sh
amazon-ebs: + cd /tmp
amazon-ebs: + sudo wget -q https://echostreams-corp-app-bin.s3.amazonaws.com/pulsar-2.4.tar.gz
amazon-ebs: + sudo tar -zxf pulsar-2.4.tar.gz
amazon-ebs: + sudo mv /tmp/pulsar-2.4 /opt/pulsar
amazon-ebs: + sudo adduser -d /opt/pulsar -r -s /sbin/nologin pulsard
amazon-ebs: + sudo mv /opt/pulsar/conf /etc/pulsar
amazon-ebs: + sudo chown -R root:root /etc/pulsar
amazon-ebs: + sudo cp /tmp/files/log4j.properties /etc/pulsar
amazon-ebs: + sudo mkdir /etc/pulsar/conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment