$ git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%C(bold blue)<%an>%Creset' --abbrev-commit"
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
enable line numbers: set number | |
disable line numbers: set nonumber |
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
# frank/manifests/init.pp | |
# ----------------------- | |
class frank ( $foo ='bar' ) { | |
include frank::bob | |
class { 'frank::joe': foo => $foo } | |
} | |
class frank::bob { | |
file { '/var/lib/bob':ensure => "directory"} |
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
# Example of using Collector to avoid having to do | |
# clever things with Puppet Stages. | |
yumrepo { 'epel': | |
... | |
} | |
# For all Package resources in the catalog, append | |
# the EPEL repo to the require metaparameter thus | |
# ensuring that the EPEL yumrepo has been configured |
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
pe_mcollective | |
settings | |
pe_mcollective | |
pe_mcollective::params | |
pe_mcollective::role::agent | |
pe_mcollective::server | |
pe_mcollective::server::plugins | |
pe_mcollective::shared_key_files |
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
pe_mcollective | |
pe_console_prune | |
pe_mcollective::role::console | |
pe_mcollective::role::master | |
pe_puppetdb::pe | |
pe_puppetdb::pe::master | |
pe_repo | |
pe_repo::platform::el_6_x86_64 | |
puppet_enterprise::license | |
settings |
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
# Docker Upstart and SysVinit configuration file | |
# Customize location of Docker binary (especially for development testing). | |
#DOCKER="/usr/local/bin/docker" | |
# Use DOCKER_OPTS to modify the daemon startup options. | |
#DOCKER_OPTS="--dns 8.8.8.8 --dns 8.8.4.4" | |
DNSSERVERS=$(/usr/bin/nmcli -m multiline -p device list | \ | |
/bin/egrep 'IP[4,6].DNS' | awk -F' ' '{print $2}') |
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
--- | |
roles: | |
pe-puppet-master: | |
private_networks: | |
- {ip: '0.0.0.0', auto_network: true} | |
provider: | |
type: virtualbox | |
customize: | |
- [modifyvm, !ruby/sym id, '--memory', 4096] | |
synced_folders: |
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
--- | |
:backends: | |
- yaml | |
:yaml: | |
:datadir: /etc/puppetlabs/puppet/environments/%{::environment} | |
:hierarchy: | |
- "team/%{::istartup_team}/clientcert/%{::clientcert}" | |
- "team/%{::istartup_team}/role/%{::istartup_role}" |
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
;; | |
;; Nathan Valentine - nrvale0@gmail.com | |
;; | |
;; if first, let's make this sane... | |
(setq myfont "Ubuntu Mono-11") | |
(add-to-list 'default-frame-alist '(font . myfont)) | |
(set-face-attribute 'default t :font myfont) | |
;; translucent if we are on a graphical display | |
(when (display-graphic-p) |
OlderNewer