Skip to content

Instantly share code, notes, and snippets.

View lindenle's full-sized avatar
🎯
Focusing

Alex Linden Levy lindenle

🎯
Focusing
View GitHub Profile
- name: Make sure variables are defined.
fail:
msg: "variable {{ item }} not defined"
when: item is undefined
with_items:
- key_pair
- instance_type
- subnet
- ami
- reg
=>> docker exec -it devops_monitoring_1 /etc/init.d/datadog-agent info
===================
Collector (v 5.6.3)
===================
Status date: 2016-02-25 21:17:30 (13s ago)
Pid: 12
Platform: Linux-4.1.18-boot2docker-x86_64-with-debian-8.2
Python Version: 2.7.10
Logs: <stderr>, /var/log/datadog/collector.log
> zookeeper@3.4.6-3 install /vagrant/sc-server/node_modules/zookeeper
> node-gyp rebuild
make: Entering directory `/vagrant/sc-server/node_modules/zookeeper/build'
ACTION binding_gyp_libzk_target_build_zk_client_lib .
Get zookeeper-3.4.6 download url from http://www.apache.org/dyn/closer.cgi/zookeeper/
Downloading zookeeper-3.4.6 from http://mirrors.advancedhosters.com/apache/zookeeper//zookeeper-3.4.6/zookeeper-3.4.6.tar.gz
libzk-build.sh: line 50: ./configure: Permission denied
Unable to build zookeeper library
make: *** [.] Error 1
---
:backends:
- yaml
:yaml:
:datadir: /tmp/hiera
:hierarchy:
- "roles/%{::hostname}"
=>> tree /tmp/hiera
/tmp/hiera
#/vagrant/hiera.yaml
---
:backends:
- yaml
:yaml:
:datadir: /vagrant/hiera
:hierarchy:
- "roles/%{::hostname}"
- "base"
#command line: hiera --config=/vagrant/hiera.yaml localhost
AILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'android'.
> Could not resolve all dependencies for configuration ':_debugCompile'.
> Could not find com.google.code.gson:gson:2.2.4.
Required by:
:android:unspecified
* Try:
<application
android:name="@string/app_name"
android:label="@string/app_name"
android:icon="@drawable/ic_app">
java.lang.RuntimeException: Unable to instantiate application com.stonevalley.squishclip.@string/app_name: java.lang.ClassNotFoundException: Didn't find class "com.stonevalley.squishclip.@string/app_name" on path: DexPathList[[zip file "/data/app/com.stonevalley.squishclip-1.apk"],nativeLibraryDirectories=[/data/app-lib/com.stonevalley.squishclip-1, /system/lib]]
# The top level settings are used as module
# and system configuration.
# A set of users which may be applied and/or used by various modules
# when a 'default' entry is found it will reference the 'default_user'
# from the distro configuration specified below
users:
- default
# If this is set, 'root' will not be able to ssh in and they
Jan 8 01:09:33 alevy-test [CLOUDINIT] util.py[DEBUG]: Writing to /var/log/cloud-init.log - ab: [420] 0 bytes
Jan 8 01:09:33 alevy-test [CLOUDINIT] util.py[WARNING]: Unable to change the ownership of /var/log/cloud-init.log to user syslog, group adm
Jan 8 01:09:33 alevy-test [CLOUDINIT] util.py[DEBUG]: Unable to change the ownership of /var/log/cloud-init.log to user syslog, group adm#012Traceback (most recent call last):#012 File "/usr/lib/python2.6/site-packages/cloudinit/stages.py", line 155, in _initialize_filesystem#012 util.chownbyname(log_file, u, g)#012 File "/usr/lib/python2.6/site-packages/cloudinit/util.py", line 1111, in chownbyname#012 raise OSError("Unknown user or group: %s" % (e))#012OSError: Unknown user or group: 'getpwnam(): name not found: syslog'
Jan 8 01:09:33 alevy-test [CLOUDINIT] util.py[DEBUG]: Attempting to remove /var/lib/cloud/instance/boot-finished
Jan 8 01:09:33 alevy-test [CLOUDINIT] util.py[DEBUG]: Attempting to remove /var/lib/cloud/instance
Jan 8 01:09:33 alevy-