The official and authoritative source for this document has moved. Please update your bookmarks.
You can still use the comments at the bottom of the page to register comments even for the new official location.
class bbb($bbb_hostname = $fqdn, $salt = "d34db33fba5eba11f01dab1e5ca1ab1e") { | |
exec { "dist upgrade": | |
refreshonly => true, | |
command => "/usr/bin/apt-get dist-upgrade", | |
} | |
exec { "update and dist upgrade": | |
refreshonly => true, | |
command => "/usr/bin/apt-get update", | |
notify => Exec["dist upgrade"], | |
} |
#!/bin/sh | |
baseurl=http://mygitlaburl | |
usermail=adminuser@mymailserver | |
userpass=adminpassword | |
repo_access=2 #0=denied 1=read 2=read&write | |
project_access=2 #0=deined 1=read 2=report 3=admin | |
# login | |
curl -s -I -c cookies.txt -d "utf8=✓&user[email]=$usermail&user[password]=$userpass&commit=Sign+in" $baseurl/users/sign_in |
user { "git": | |
home => "/var/git", | |
ensure => present | |
} | |
file { | |
"/var/git": | |
ensure => directory, | |
owner => "git", | |
group => "git", |
The official and authoritative source for this document has moved. Please update your bookmarks.
You can still use the comments at the bottom of the page to register comments even for the new official location.
source "/home/judson/bin/bundler_ps1.sh" | |
if [[ ! $PROMPT_COMMAND =~ __bundler_prompt_command ]]; then | |
export PROMPT_COMMAND="${PROMPT_COMMAND:-:} ; __bundler_prompt_command" | |
fi | |
PS1="\[\033[01;31m\]\$(__bundler_ps1)\[\033[01;34m\] $PS1" |
These are field notes gathered during installation of website search facility for the ElasticSearch website.
You may re-use it to put a similar system in place.
The following assumes: