Snippets

DavidC pkgbox manual

Updated by David Cuddihy

File ansible-snippets Deleted

  • Ignore whitespace
  • Hide word diff
-
-# Confirm pkgbox configured correctly in inventory file
-ansible pkgbox -i inventory/local -a hostname -u ubuntu --ask-pass
-
-# Run the playbook
-ansible-playbook -i inventory/local --ask-pass --become --ask-become-pass ./playbook.pkgbox.yml
-
-...then enter s****t for password. Hit enter to use that for the sudo password as well.

File ansible-snippets.markdown Added

  • Ignore whitespace
  • Hide word diff
+
+# Start VM
+
+```
+vboxmanage startvm aal-lpc-1-4 --type headless
+```
+
+# Confirm pkgbox configured correctly in inventory file
+
+```
+ansible pkgbox -i inventory/local -a hostname -u ubuntu --ask-pass
+```
+
+# Run the playbook
+
+```
+ansible-playbook -i inventory/local --ask-pass --become --ask-become-pass ./playbook.pkgbox.yml
+```
+
+...then enter s****t for password. Hit enter to use that for the sudo password as well.
+

File pkgbox-manual Deleted

  • Ignore whitespace
  • Hide word diff
-Assuming you've already [created a standard VM](https://ask.it.acr.me/question/1010/how-should-we-setup-a-host-machine-for-betabox-trusty/?answer=1021#post-id-1021) in which to do this work, here are the steps:
-
-### Prepare your work environment
-These steps will turn your raw Ubuntu VM into a machine tuned for testing and packaging the pystack components.
-
-1. **Make your VM comfortable** -- Make yourself an account, add your SSH-keys for Bitbucket, install your favorite dev tools, etc.
-1. **Install bbsage** -- `sudo apt-get install bbsage bbansible`  -- this will include all of the tools you need to build and package the pystack debs.
-1. **Sync bbsage dotfiles** -- You'll customize this VM for packaging so sync the bbsage dotfiles into your working directory: `use bbsage && bb-dot bbsage --sync`
-1. **Retrieve betabox-trusty tree** -- 
-    1. `cd ~/hgdev/org.bitbucket`
-    1. `mkdir betabox-trusty`
-    1. `hg clone ssh://hg@bitbucket.org/betabox-trusty/betabox-trusty.bitbucket.org`
-1. **Add local betabox-trusty tree to your `/etc/apt/sources.list`** 
-    1. `sudo mkdir /opt/apt`
-    1. `sudo ln -s ${HOME}/hgdev/org/bitbucket/betabox-trusty/ /opt/apt/current;
-    1. Add a line prior to the other betabox-trusty entries like:
-       `deb file:///opt/apt/current/ubuntu fimero main`
-    1. `sudo apt-get update`
-    1. `sudo apt-get install bbginger`
-
-### Test Packaging
-We'll testing the packaging step *first* to ensure we have all of the prerequisite libraries install properly.
-
-1. **Retrieve pystack source packages** `checkoutmanager co pystack-default`   (this works courtesy of bbsage dotfiles)
-2. **Make debs** -- This will create the debs and install them in your local reprepro tree:
-    1. `cd ~/hgdev/org.bitbucket/autonomy/bbsage && bb-package.sh`
-    2. `cd ~/hgdev/org.bitbucket/autonomy/bbmint && bb-package.sh`
-    3. `cd ~/hgdev/org.bitbucket/autonomy/bbdill && bb-package.sh`
-    4. `cd ~/hgdev/org.bitbucket/autonomy/bbthyme && bb-package.sh`
-    5. `cd ~/hgdev/org.bitbucket/autonomy/bbginger && bb-package.sh`
-3. **Install 

File pkgbox-manual.markdown Added

  • Ignore whitespace
  • Hide word diff
+Assuming you've already [created a standard VM](https://ask.it.acr.me/question/1010/how-should-we-setup-a-host-machine-for-betabox-trusty/?answer=1021#post-id-1021) in which to do this work, here are the steps:
+
+### Prepare your work environment
+These steps will turn your raw Ubuntu VM into a machine tuned for testing and packaging the pystack components.
+
+1. **Make your VM comfortable** -- Make yourself an account, add your SSH-keys for Bitbucket, install your favorite dev tools, etc.
+1. **Install bbsage** -- `sudo apt-get install bbsage bbansible`  -- this will include all of the tools you need to build and package the pystack debs.
+1. **Sync bbsage dotfiles** -- You'll customize this VM for packaging so sync the bbsage dotfiles into your working directory: `use bbsage && bb-dot bbsage --sync`
+1. **Retrieve betabox-trusty tree** -- 
+    1. `cd ~/hgdev/org.bitbucket`
+    1. `mkdir betabox-trusty`
+    1. `hg clone ssh://hg@bitbucket.org/betabox-trusty/betabox-trusty.bitbucket.org`
+1. **Add local betabox-trusty tree to your `/etc/apt/sources.list`** 
+    1. `sudo mkdir /opt/apt`
+    1. `sudo ln -s ${HOME}/hgdev/org/bitbucket/betabox-trusty/ /opt/apt/current;
+    1. Add a line prior to the other betabox-trusty entries like:
+       `deb file:///opt/apt/current/ubuntu fimero main`
+    1. `sudo apt-get update`
+    1. `sudo apt-get install bbginger`
+
+### Test Packaging
+We'll testing the packaging step *first* to ensure we have all of the prerequisite libraries install properly.
+
+1. **Retrieve pystack source packages** `checkoutmanager co pystack-default`   (this works courtesy of bbsage dotfiles)
+2. **Make debs** -- This will create the debs and install them in your local reprepro tree:
+    1. `cd ~/hgdev/org.bitbucket/autonomy/bbsage && bb-package.sh`
+    2. `cd ~/hgdev/org.bitbucket/autonomy/bbmint && bb-package.sh`
+    3. `cd ~/hgdev/org.bitbucket/autonomy/bbdill && bb-package.sh`
+    4. `cd ~/hgdev/org.bitbucket/autonomy/bbthyme && bb-package.sh`
+    5. `cd ~/hgdev/org.bitbucket/autonomy/bbginger && bb-package.sh`
+3. **Install 
Updated by David Cuddihy

File ansible-snippets Modified

  • Ignore whitespace
  • Hide word diff
 # Confirm pkgbox configured correctly in inventory file
 ansible pkgbox -i inventory/local -a hostname -u ubuntu --ask-pass
 
+# Run the playbook
+ansible-playbook -i inventory/local --ask-pass --become --ask-become-pass ./playbook.pkgbox.yml
+
+...then enter s****t for password. Hit enter to use that for the sudo password as well.
Updated by David Cuddihy

File ansible-snippets Added

  • Ignore whitespace
  • Hide word diff
+
+# Confirm pkgbox configured correctly in inventory file
+ansible pkgbox -i inventory/local -a hostname -u ubuntu --ask-pass
+
Created by David Cuddihy

File pkgbox-manual Added

  • Ignore whitespace
  • Hide word diff
+Assuming you've already [created a standard VM](https://ask.it.acr.me/question/1010/how-should-we-setup-a-host-machine-for-betabox-trusty/?answer=1021#post-id-1021) in which to do this work, here are the steps:
+
+### Prepare your work environment
+These steps will turn your raw Ubuntu VM into a machine tuned for testing and packaging the pystack components.
+
+1. **Make your VM comfortable** -- Make yourself an account, add your SSH-keys for Bitbucket, install your favorite dev tools, etc.
+1. **Install bbsage** -- `sudo apt-get install bbsage bbansible`  -- this will include all of the tools you need to build and package the pystack debs.
+1. **Sync bbsage dotfiles** -- You'll customize this VM for packaging so sync the bbsage dotfiles into your working directory: `use bbsage && bb-dot bbsage --sync`
+1. **Retrieve betabox-trusty tree** -- 
+    1. `cd ~/hgdev/org.bitbucket`
+    1. `mkdir betabox-trusty`
+    1. `hg clone ssh://hg@bitbucket.org/betabox-trusty/betabox-trusty.bitbucket.org`
+1. **Add local betabox-trusty tree to your `/etc/apt/sources.list`** 
+    1. `sudo mkdir /opt/apt`
+    1. `sudo ln -s ${HOME}/hgdev/org/bitbucket/betabox-trusty/ /opt/apt/current;
+    1. Add a line prior to the other betabox-trusty entries like:
+       `deb file:///opt/apt/current/ubuntu fimero main`
+    1. `sudo apt-get update`
+    1. `sudo apt-get install bbginger`
+
+### Test Packaging
+We'll testing the packaging step *first* to ensure we have all of the prerequisite libraries install properly.
+
+1. **Retrieve pystack source packages** `checkoutmanager co pystack-default`   (this works courtesy of bbsage dotfiles)
+2. **Make debs** -- This will create the debs and install them in your local reprepro tree:
+    1. `cd ~/hgdev/org.bitbucket/autonomy/bbsage && bb-package.sh`
+    2. `cd ~/hgdev/org.bitbucket/autonomy/bbmint && bb-package.sh`
+    3. `cd ~/hgdev/org.bitbucket/autonomy/bbdill && bb-package.sh`
+    4. `cd ~/hgdev/org.bitbucket/autonomy/bbthyme && bb-package.sh`
+    5. `cd ~/hgdev/org.bitbucket/autonomy/bbginger && bb-package.sh`
+3. **Install 
  1. 1
  2. 2
  3. 3
HTTPS SSH

You can clone a snippet to your computer for local editing. Learn more.