Skip to content

Instantly share code, notes, and snippets.

diff --git a/salt/modules/boto_rds.py b/salt/modules/boto_rds.py
index 776e65a..30d6569 100644
--- a/salt/modules/boto_rds.py
+++ b/salt/modules/boto_rds.py
@@ -326,8 +326,6 @@ def create_read_replica(name, source_name, db_instance_class=None,
salt myminion boto_rds.create_read_replica replicaname source_name
'''
- if not backup_retention_period:
- raise SaltInvocationError('backup_retention_period is required')
# ps -eLf | grep puppe[t]
root 13008 13004 13008 0 1 09:17 ? 00:00:00 /bin/sh -c /usr/bin/puppet agent --no-daemonize --onetime > /dev/null 2>&1
root 13010 13008 13010 0 1 09:17 ? 00:00:08 /usr/bin/ruby /usr/bin/puppet agent --no-daemonize --onetime
# date
Thu Mar 13 11:53:27 GMT 2014
# strace -a 256 -fp 13008
Process 13008 attached - interrupt to quit
wait4(-1, ^C <unfinished ...>
Process 13008 detached
# strace -a 256 -fp 13010
# ps -eLf | grep puppe[t]
root 2873 2871 2873 0 1 09:21 ? 00:00:00 /bin/sh -c /usr/bin/puppet agent --no-daemonize --onetime > /dev/null 2>&1
root 2874 2873 2874 0 1 09:21 ? 00:00:00 /usr/bin/ruby /usr/bin/puppet agent --no-daemonize --onetime
# date
Thu Mar 13 11:47:29 GMT 2014
# strace -a 256 -fp 2873
Process 2873 attached - interrupt to quit
wait4(-1, ^C <unfinished ...>
Process 2873 detached
# strace -a 256 -fp 2874
# ps -eLf | grep puppe[t]
root 3313 3312 3313 0 1 09:18 ? 00:00:00 /bin/sh -c /usr/bin/puppet agent --no-daemonize --onetime > /dev/null 2>&1
root 3315 3313 3315 0 1 09:18 ? 00:00:03 /usr/bin/ruby /usr/bin/puppet agent --no-daemonize --onetime
# date
Thu Mar 13 11:32:49 GMT 2014
# strace -a 256 -fp 3313
Process 3313 attached - interrupt to quit
wait4(-1, ^C <unfinished ...>
Process 3313 detached
# strace -a 256 -fp 3315
# ps -eLf | grep puppe[t]
root 16773 16772 16773 0 1 09:46 ? 00:00:00 /bin/sh -c /usr/bin/puppet agent --no-daemonize --onetime > /dev/null 2>&1
root 16774 16773 16774 0 1 09:46 ? 00:00:00 /usr/bin/ruby /usr/bin/puppet agent --no-daemonize --onetime
# strace -a 256 -fp 16773
Process 16773 attached - interrupt to quit
wait4(-1, ^C <unfinished ...>
Process 16773 detached
# strace -a 256 -fp 16774
Process 16774 attached - interrupt to quit
select(5, [4], NULL, NULL, NULL^C <unfinished ...>
# ps -eLf | grep puppe[t]
root 16312 16311 16312 0 1 09:18 ? 00:00:00 /bin/sh -c /usr/bin/puppet agent --no-daemonize --onetime > /dev/null 2>&1
root 16313 16312 16313 0 1 09:18 ? 00:00:02 /usr/bin/ruby /usr/bin/puppet agent --no-daemonize --onetime
# strace -a 256 -fp 16312
Process 16312 attached - interrupt to quit
wait4(-1, ^C <unfinished ...>
Process 16312 detached
# strace -a 256 -fp 16313
Process 16313 attached - interrupt to quit
select(5, [4], NULL, NULL, NULL^C <unfinished ...>
=begin
* Jun 5th, 2013 - Naresh V. <nvenkateshappa@kiwiup.com>
- Modified version to work with ruby 1.8.7 (stock CentOS 6)
- Added a random password method.
::password(num, len) returns an array of 'num' passwords each of length 'len'
Original code from: https://dl.dropboxusercontent.com/u/84400100/randomorg.rb
Original doc below:
@nareshov
nareshov / patch to install-flapjack-systemwide
Created November 14, 2010 09:10
this syntax error exists in the gem source
diff --git a/bin/install-flapjack-systemwide b/bin/install-flapjack-systemwide
index c05d3c8..357fbfc 100755
--- a/bin/install-flapjack-systemwide
+++ b/bin/install-flapjack-systemwide
@@ -53,6 +53,6 @@ puts "You will want to customise:"
puts " * /etc/flapjack/recipients.yaml"
puts " * /etc/flapjack/flapjack-notifier.yaml"
puts
-puts ".examples of these files exist in /etc/flapjack/'
+puts ".examples of these files exist in /etc/flapjack/"