I hereby claim:
- I am aalvz on github.
- I am aalvz (https://keybase.io/aalvz) on keybase.
- I have a public key ASDIKvwPaocVIiI_399Yy7vjh8PJ2rLZiKA7hf8pHIr-zwo
To claim this, I am signing this object:
this will ve recovered |
I hereby claim:
To claim this, I am signing this object:
log.msg("Found links: " + repr(changedict['links'])) | |
89 del changedict['links'] | |
90 print changedict | |
91 | |
92 d = self.master.data.updates.addChange(**changedict) | |
93 | |
94 # set the return value to None, so we don't get users depending on | |
95 # getting a changeid | |
96 d.addCallback(lambda _: None) |
apt-get install sudo | |
groupadd sysadmin | |
useradd -s /bin/bash -m -d /home/intern1 -g sysadmin -G sudo intern1 | |
visudo | |
passwd intern1 | |
mkdir /opt/tinker | |
cd /opt/tinker | |
sudo apt-get install git | |
sudo apt-get install curl | |
curl -sL https://deb.nodesource.com/setup_4.x | bash - |
Master.cfg | |
--- | |
``` | |
104 c['www'] = dict(port=8020, | |
105 plugins=dict(waterfall_view={}, console_view={}), | |
106 change_hook_dialects={ | |
107 'base': True, | |
108 'somehook': {'option1':True, | |
109 'option2':False}}) |
GOROLE (FIRST ROLE) | |
https://github.com/AAlvz/ansible-go | |
SECOND ROLE | |
tasks/main.yml | |
- debug: msg="System {{ lookup('env','GOPATH' }}" | |
FIRST PROVISION |
################################## | |
# Directory structure on puppetmaster (/etc/puppet) | |
################################## | |
hieradata | |
│ ├── development | |
│ │ ├── agent.yaml | |
│ │ ├── hosts.yaml | |
│ │ └── puppetmaster.yaml | |
│ └── production |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |