Commit graph

894 commits

Author SHA1 Message Date
Fabio Rehm
b5a0a8de6f core: Update rspec + vagrant, add vagrant-spec and remove rspec-spies / rspec-fire [GH-111] 2014-03-13 00:57:36 -03:00
Fabio Rehm
5422d272d2 Merge pull request #245 from fgrehm/base-boxes-updates
Base boxes revamp
2014-03-13 00:56:49 -03:00
Fabio Rehm
6fbe048175 Note the whole lot of chages made to base boxes 2014-03-13 00:54:09 -03:00
Fabio Rehm
2c0b2bd026 boxes: Update docs to match recent changes 2014-03-13 00:08:58 -03:00
Fabio Rehm
28c5df5132 boxes: Include NFS client on base boxes [closes GH-218] 2014-03-11 15:07:24 -03:00
Fabio Rehm
735475d333 Merge pull request #247 from fpletz/fix/base-template-bash-return
boxes: Return in bash is only allowed in functions
2014-03-11 11:02:24 -03:00
Franz Pletz
438ef64c25 boxes: Return in bash is only allowed in functions 2014-03-11 14:03:12 +01:00
Fabio Rehm
b0372a10c0 boxes: Remove old build-all script 2014-03-09 23:29:18 -03:00
Fabio Rehm
0ae0288af9 boxes: Fix make clean 2014-03-09 23:27:58 -03:00
Fabio Rehm
b82e86cb8e boxes: Fix locales for ubuntu and debian 2014-03-09 23:12:00 -03:00
Fabio Rehm
cfa1d2e02f boxes: Update lxc-template to use a file lock around rootfs extraction 2014-03-09 22:59:18 -03:00
Fabio Rehm
82b49b7242 boxes: Finish Debian conversion to new scripts 2014-03-09 22:56:49 -03:00
Fabio Rehm
4f5d95b7f3 boxes: Getting ready to build debians 2014-03-09 21:36:00 -03:00
Fabio Rehm
deac5930cc action/handle_box_metadata: Implement support for 1.0.0 base boxes 2014-03-09 21:21:39 -03:00
Fabio Rehm
d5faf1db66 boxes: Drop packages on boxes/output/TODAY for better organization 2014-03-09 21:21:39 -03:00
Fabio Rehm
02a65820bf boxes: Ensure .box is owned by the current user 2014-03-09 21:21:39 -03:00
Fabio Rehm
2c934d4ec4 boxes: Fix output logging 2014-03-09 21:21:39 -03:00
Fabio Rehm
d0939622a5 boxes: Disable salt on raring 2014-03-09 21:21:38 -03:00
Fabio Rehm
c7f5a567a9 boxes: Redirect puppet.deb wget to log file 2014-03-09 21:21:38 -03:00
Fabio Rehm
85d36bfd41 boxes: Implement make clean 2014-03-09 21:21:38 -03:00
Fabio Rehm
ff3baf1cd4 boxes: Improved output logging 2014-03-09 21:21:38 -03:00
Fabio Rehm
74cf06b148 boxes: Sleep for 5 seconds after starting the container so that is has some time to get its network ready 2014-03-09 21:21:38 -03:00
Fabio Rehm
2c7e6fb600 boxes: Move colors out to the UI file 2014-03-09 21:21:38 -03:00
Fabio Rehm
e69441a99b boxes: Improve CM handling 2014-03-09 21:21:38 -03:00
Fabio Rehm
7effe1f092 boxes: Support for building raring machines 2014-03-09 21:21:38 -03:00
Fabio Rehm
e598086913 boxes: Backport GH-92 2014-03-09 21:21:38 -03:00
Fabio Rehm
a7074545ed boxes: Ensure locales are properly set on debianoid boxes 2014-03-09 21:21:38 -03:00
Fabio Rehm
3ff6046228 boxes: Skip puppet installation on Ubuntu Trusty as it is not supported ATM 2014-03-09 21:21:38 -03:00
Fabio Rehm
cd23804046 boxes: Prevent puppet and chef from being reinstalled 2014-03-09 21:21:38 -03:00
Fabio Rehm
dbb6d1f131 boxes: Add missing public vagrant ssh key 2014-03-09 21:21:38 -03:00
Fabio Rehm
921e08bdb4 boxes: Get rid of old scripts 2014-03-09 21:21:38 -03:00
Fabio Rehm
1b8fb6137b Bring back support for installing provisioners on ubuntu base boxes 2014-03-09 21:21:38 -03:00
Fabio Rehm
8d3d84aef2 Finish basic version of the new ubuntu base boxes build 2014-03-09 21:21:38 -03:00
Fabio Rehm
f927f65ec1 Getting close to finish new structure for building ubuntu boxes 2014-03-09 21:21:38 -03:00
Fabio Rehm
4a18c7a05a Fix vagrant sudoers file permissions 2014-03-09 21:21:38 -03:00
Fabio Rehm
3b1055c843 New base box template 2014-03-09 21:21:38 -03:00
Fabio Rehm
420a49c870 Base box cleanup script and rootfs compression 2014-03-09 21:21:38 -03:00
Fabio Rehm
8fec240ae6 Improve UI for package and clean scripts 2014-03-09 21:21:38 -03:00
Fabio Rehm
bd9b2e8957 Install debian extras 2014-03-09 21:21:38 -03:00
Fabio Rehm
dce843db12 Improved base boxes scripts UI and implement prepare-vagrant-user.sh 2014-03-09 21:21:38 -03:00
Fabio Rehm
12bc88805a Implement download step 2014-03-09 21:21:38 -03:00
Fabio Rehm
f070e9ec5b Scaffold the new structure for building base boxes 2014-03-09 21:21:38 -03:00
Antonio Terceiro
1d28e3d213 boxes scripts: give real total sudo access
Without this, commands like `sudo -u $USER $COMMAND` will not work.
2014-03-09 21:21:32 -03:00
Laurent Vallar
1d3e3901c7 Support current LANG environment variable if any.
Signed-off-by: Laurent Vallar <val@zbla.net>
2014-03-09 21:20:55 -03:00
Laurent Vallar
773e717fd9 Enable bash-completion as it's installed
Signed-off-by: Laurent Vallar <val@zbla.net>
2014-03-09 21:20:55 -03:00
Abe Voelker
bba250255a Fix broken locale in Ubuntu boxes 2014-03-09 21:20:55 -03:00
Abe Voelker
9ed8f0c205 Fix apt-get error when building Ubuntu boxes 2014-03-09 21:20:51 -03:00
Darrell Hamilton
b7c29be732 comments reflect implementation 2014-03-09 21:19:55 -03:00
Darrell Hamilton
774e8175eb Complete NOPASSWD for vagrant
Previously, vagrant could not do everything with passwordless sudo.  Eg.
`sudo -u other-user ls` would ask for a sudo password, causing tools
like ansible to hang when trying to execute commands as another user.
2014-03-09 21:19:55 -03:00
Darrell Hamilton
ba2569c222 Only give vagrant NOPASSWD ALL 2014-03-09 21:19:55 -03:00