I hereby claim:
- I am pizzaops on github.
- I am pizzaops (https://keybase.io/pizzaops) on keybase.
- I have a public key ASCbJcysTwT2e0BCtdRtZJiJc92FeESV3160ApUPC-l3hwo
To claim this, I am signing this object:
| locals { | |
| modules_location = lookup( | |
| yamldecode(file("${get_terragrunt_dir()}/${find_in_parent_folders("organization.yaml")}")), | |
| "modules_location" | |
| ) | |
| module = lookup( | |
| yamldecode(file("${get_terragrunt_dir()}/locals.yaml")), | |
| "module" | |
| ) | |
| } |
I hereby claim:
To claim this, I am signing this object:
| LOLcalhost :: ~ % pry 1 ↵ | |
| [1] pry(main)> foo = {} | |
| => {} | |
| [2] pry(main)> foo.default= [] | |
| => [] | |
| [3] pry(main)> foo['asdfsdf'] | |
| => [] | |
| [4] pry(main)> foo['bar'].push '1' | |
| => ["1"] | |
| [5] pry(main)> foo |
In this example we want to insert a line of configuration at the top of the file, because rsyslog arbitrarily requires that it be done this way :)
insert $MaxMessageSize before /files/etc/rsyslog.conf/*[position() = 1]
set /files/etc/rsyslog.conf/$MaxMessageSize 64k
| if has_key($params, 'unix_user') { | |
| $unix_user_real = str2bool($params['unix_user']) | |
| case $unix_user_real { | |
| false: {} | |
| default: { | |
| @account::user { $user_name: | |
| ensure => present, | |
| shell => $shell, | |
| uid => $uid, | |
| group => $group, |
| # modules/womply/manifests/iam_user.pp | |
| define womply::iam_user ( | |
| String $username = $title, | |
| ) { | |
| $create = "/usr/bin/aws iam create-user --user-name ${user}" | |
| $check = "bash -c '/usr/bin/aws iam list-users --output text | grep ${user}'" | |
| exec { "AWS_IAM_user-${title}": | |
| # This command creates the user. | |
| command => $create, |
| adasdnlaskdkldsmfdsalkfm | |
| dfsa | |
| sad | |
| f | |
| adsf | |
| dsaf | |
| ; |
| asdoijasdoijasd:Gi |
| gothputer :: ~ % sudo dnf install http://pkg.i-nex.pl/fedora/25/i-nex-7.6.0-1.20170111git32e7049.fc25.x86_64.rpm | |
| keybase 13 kB/s | 5.0 kB 00:00 | |
| Error: nothing provides libcpuid needed by i-nex-7.6.0-1.20170111git32e7049.fc25.x86_64 | |
| (try to add '--allowerasing' to command line to replace conflicting packages) | |
| gothputer :: ~ % | |
| gothputer :: ~ % sudo dnf install http://pkg.i-nex.pl/fedora/25/i-nex-7.6.0-1.20170111git32e7049.fc25.x86_64.rpm \ | |
| > http://pkg.i-nex.pl/fedora/25/libcpuid-0.4.0-1.20170112gitfa87a5e.fc25.x86_64.rpm | |
| Last metadata expiration check: 0:00:25 ago on Thu Mar 9 14:29:53 2017. | |
| Dependencies resolved. |