This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@bb8:~# cat /etc/lsb-release | |
DISTRIB_ID=Linaro | |
DISTRIB_RELEASE=12.11 | |
DISTRIB_CODENAME=precise | |
DISTRIB_DESCRIPTION="Linaro 12.11" | |
root@bb8:~# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@bb8:~# sh bootstrap-salt.sh | |
* INFO: sh bootstrap-salt.sh -- Version 1.5.5 | |
* WARN: Running the unstable version of bootstrap-salt.sh | |
* INFO: System Information: | |
* INFO: CPU: ARMv7 | |
* INFO: CPU Arch: armv7l | |
* INFO: OS Name: Linux | |
* INFO: OS Version: 3.4.5-x1 | |
* INFO: Distribution: Linaro 12.11 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@bb8:~# salt-call sys.list_modules | |
[INFO ] Configuration file path: /etc/salt/minion | |
[WARNING ] The function 'grains()' defined in '/usr/lib/pymodules/python2.7/salt/loader.py' is not yet using the new 'default_path' argument to `salt.config.load_config()`. As such, the 'SALT_MINION_CONFIG' environment variable will be ignored | |
[WARNING ] Although 'lspci' was found in path, the current user cannot execute it. Grains output might not be accurate. | |
local: | |
- aliases | |
- alternatives | |
- apache | |
- archive | |
- cmd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@vmbode6:~# salt bb8 service.restart ntp | |
bb8: | |
Traceback (most recent call last): | |
File "/usr/lib/pymodules/python2.7/salt/minion.py", line 626, in _thread_return | |
ret['return'] = func(*args, **kwargs) | |
File "/usr/lib/pymodules/python2.7/salt/modules/service.py", line 100, in restart | |
cmd = os.path.join(GRAINMAP[__grains__['os']], | |
KeyError: 'Linaro' | |
root@vmbode6:~# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@vmbode6:/home/git/gitlab# sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production | |
Checking Environment ... | |
Git configured for git user? ... yes | |
Has python2? ... yes | |
python2 is supported version? ... yes | |
Checking Environment ... Finished | |
Checking GitLab Shell ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[luke@Wheatley] ~/git/gitlab-vagrant-vm(master)$ bundle install | |
Fetching source index for https://rubygems.org/ | |
Using archive-tar-minitar (0.5.2) | |
Using bunny (0.7.9) | |
Installing erubis (2.7.0) | |
Using highline (1.6.15) | |
Installing json (1.6.1) with native extensions /usr/lib/ruby/1.9.1/rubygems/installer.rb:556:in `rescue in block in build_extensions': ERROR: Failed to build gem native extension. (Gem::Installer::ExtensionBuildError) | |
/usr/bin/ruby1.9.1 extconf.rb | |
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- mkmf (LoadError) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Create user. Available only for admin | |
# | |
# Parameters: | |
# email (required) - Email | |
# password (semi-required) - Password | |
# name (required) - Name | |
# username (required) - username | |
# skype - Skype ID | |
# linkedin - Linkedin | |
# twitter - Twitter account |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>>> /srv/pillar/top.sls: | |
base: | |
'*': | |
- users | |
- nfs_id | |
>>> /srv/pillar/nfs_id.sls: | |
nfs-master: | |
- vmbode6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_unit = _this select 0; | |
// Arty actions | |
_magazines = [ | |
[ | |
"M119", | |
[ | |
[ | |
"HE", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!mako | |
# file structure: | |
# 1. set up homedir and nfs exports on master | |
# 2. set up nfs mount on clients | |
# 3. for all groups: | |
# - create homedir | |
# 3. for all users: | |
# - create user |