This file contains hidden or 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
[/var/log/samba] # cd var | |
[/var/log/samba/var] # cd var | |
[/var/log/samba/var/var] # cd var | |
[/var/log/samba/var/var/var] # cd var | |
[/var/log/samba/var/var/var/var] # cd var | |
[/var/log/samba/var/var/var/var/var] # cd var | |
[/var/log/samba/var/var/var/var/var/var] # cd var | |
[/var/log/samba/var/var/var/var/var/var/var] # cd var | |
[/var/log/samba/var/var/var/var/var/var/var/var] # cd var | |
[/var/log/samba/var/var/var/var/var/var/var/var/var] # cd var |
This file contains hidden or 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
root@springfield ~ # /usr/bin/rsnapshot -vt -c /etc/rsnapshot/rsnapshot-nas.conf hourly | |
echo 26899 > /var/run/rsnapshot-nas.pid | |
/bin/rm -rf /media/backup/userdata/nas/hourly.8/ | |
mv /media/backup/userdata/nas/hourly.7/ \ | |
/media/backup/userdata/nas/hourly.8/ | |
mkdir -m 0755 -p /media/backup/userdata/nas/hourly.0/ | |
/usr/bin/rsync -a --delete --numeric-ids --relative --delete-excluded \ | |
--exclude=entermarketing/Clients-by-name/ --exclude=*.db \ | |
--exclude=*.ds_store \ | |
--link-dest=/media/backup/userdata/nas/hourly.7/snowballii/ \ |
This file contains hidden or 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
╭─@entermac01.local ~ | |
╰─ rvm requirements | |
Notes for Mac OS X 10.7.4, Xcode 4.3.2. | |
For MacRuby: Install LLVM first. | |
For JRuby: Install the JDK. See http://developer.apple.com/java/download/ # Current Java version "1.6.0_26" | |
For IronRuby: Install Mono >= 2.6 | |
For Ruby 1.9.3: Install libksba # If using Homebrew, 'brew install libksba' |
This file contains hidden or 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
2.6.1. The apache::install class | |
Firstly, we install Apache via the apache::install class: | |
class apache::install { | |
package { [ "apache2" ]: | |
ensure => present, | |
} | |
} |
This file contains hidden or 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
rockets: I'm going to try to just use the user resource for now | |
fluxrad: rockets, I'm going to nth using an LDAP server for user management (for non-system users). *much* easier to manage ("i forgot my password" etc). | |
rockets: I have an unreasonable fear of LDAP failing | |
jra___: same | |
Mousey: ditto |
This file contains hidden or 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
## We need to push a custom config for openssh. | |
## Mainly so that we uncomment #AuthorizedKeysFile %h/.ssh/authorized_keys | |
class ssh::config { | |
include ssh::params | |
file {'/etc/ssh/sshd_config': | |
ensure => present, | |
source => "$ssh::params::sshd_config", | |
owner => 'root', | |
group => 'root', |
This file contains hidden or 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
path /run | |
auth yes | |
allow command.enterawesome.com |
This file contains hidden or 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
ufw::allow { 'allow-all-trusted-ips': | |
from => 'foo', | |
from => 'foo', | |
from => 'foo', | |
from => 'foo', | |
from => 'foo', | |
from => 'foo', | |
from => 'foo', | |
from => 'foo', | |
from => 'foo', |
This file contains hidden or 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
class apache::mod::php { | |
apache::mod { 'php5': } | |
file { "${apache::params::moddir}/php.conf": | |
ensure => link, | |
target => "$apache::params::modsource/php5.conf", | |
} | |
} |
This file contains hidden or 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
#Include all vhosts to push to apache servers | |
class apache_manage::vhosts { | |
include | |
'apache_manage::vhosts::zachary_enterawesome_com' | |
} | |
class { 'apache_manage::vhosts': require => Class['apache_manage'] } |
OlderNewer