I hereby claim:
- I am runswithd6s on github.
- I am runswithd6s (https://keybase.io/runswithd6s) on keybase.
- I have a public key ASDxaTHsVOU1E60NwMV5CDHRhDkpmT0UeCwaDlaVDKo76Ao
To claim this, I am signing this object:
# Salt 2017.07 | |
{% if pillar['db_reports_host'] %} | |
replace-db-reports-sugar-config-overrides-file: | |
file.blockreplace: | |
- path: /vol/sugar_shared_files/config_override.php | |
- content: | | |
$sugar_config['db']['reports'] = array( | |
'db_host_name' => '{{ pillar['db_reports_host'] }}', | |
'db_user_name' => '{{ pillar['db_reports_user'] }}', | |
'db_password' => '{{ pillar['db_reports_password'] }}', |
#!/usr/bin/env python | |
import json | |
import os | |
def sugar_app(): | |
""" | |
Set version information about sugar, if /vol/sugar_pro/sugar_version.json is available | |
:return: dict |
[nREPL] Starting server via /home/cwalstrom/bin/lein update-in :dependencies conj \[org.clojure/tools.nrepl\ \"0.2.13\"\ \:exclusions\ \[org.clojure/clojure\]\] -- update-in :plugins conj \[refactor-nrepl\ \"2.4.0-SNAPSHOT\"\] -- update-in :plugins conj \[cider/cider-nrepl\ \"0.18.0-SNAPSHOT\"\] -- repl :headless :host ::... | |
error in process sentinel: nrepl-server-sentinel: Could not start nREPL server: [WARNING] No nREPL middleware descriptor in metadata of [#function[clojure.core/comp/fn--5529]], see clojure.tools.middleware/set-descriptor! | |
[WARNING] No nREPL middleware descriptor in metadata of [#function[clojure.core/comp/fn--5529]], see clojure.tools.middleware/set-descriptor! | |
Exception in thread "main" java.lang.IllegalArgumentException: Key must be integer, compiling:(/tmp/form-init8008431120095512647.clj:1:73) | |
at clojure.lang.Compiler.load(Compiler.java:7526) | |
at clojure.lang.Compiler.loadFile(Compiler.java:7452) | |
at clojure.main$load_script.invokeStatic(main.clj:278) | |
at clojure.main$init_opt.invoke |
;; -*- mode: lisp-interactive -*- | |
;;;; Set the SSH authentication sock file for processes in Emacs to find for | |
;;;; TRAMP and git operations... | |
;; What we want to happen | |
(setenv "SSH_AUTH_SOCK" "/run/user/1000/keyring/ssh") | |
;; Getting my user id | |
(user-real-uid) |
I hereby claim:
To claim this, I am signing this object:
# /etc/default/keyboard | |
XKBMODEL="pc105" | |
XKBLAYOUT="us,epo,de" | |
KBVARIANT="intl-unicode,basic" | |
XKBOPTIONS="ctrl:nocaps,grp:shifts_toggle,grp_led:caps" |
# Currently, there is no version tag from Github | |
%global commit 6fecda34c8328487f0b0b256f51bfb1697179342 | |
%global shortcommit %(echo %{commit}| head -c7) | |
Summary: Submit Nagios Host and Service events to PagerDuty | |
Name: pagerduty-nagios-pl | |
Version: 0.0 | |
Release: 1.%{shortcommit}%{?dist} | |
License: BSD | |
Group: Applications/System |
# 3.2.4 (Puppet Enterprise 3.0.1) | |
create_resources('gd-mta::sendmail::copy_to_mail', { | |
access => {}, | |
aliases => {}, | |
authinfo => { mode => '0440' }, | |
domaintable => {}, | |
local-host-names => {}, | |
mailertable => {}, | |
relay-domains => {} | |
}) |
class profiles::tomcat ( | |
$package_name = 'tomcat6', | |
$service_name = 'tomcat6', | |
$ensure = present | |
) { | |
package{'tomcat': | |
name => $package_name, | |
ensure => present, | |
} |
$array1 = undef | |
$array2 = ['a','b','c'] | |
$array3 = [$array1, $array2] | |
$flat = flatten([$array3]) | |
$pruned = delete($flat,undef) | |
$plist = join($pruned,',') | |
notice("Pruned array contains ${plist}") | |
# Expected Result - order not guaranteed | |
# "Pruned array contains a,b,c" |