diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/cfn-get-metadata | 6 | ||||
-rwxr-xr-x | bin/cfn-hup | 6 | ||||
-rwxr-xr-x | bin/cfn-init | 6 | ||||
-rwxr-xr-x | bin/cfn-push-stats | 6 | ||||
-rwxr-xr-x | bin/cfn-signal | 6 |
5 files changed, 5 insertions, 25 deletions
diff --git a/bin/cfn-get-metadata b/bin/cfn-get-metadata index d8d4006..8c88e0c 100755 --- a/bin/cfn-get-metadata +++ b/bin/cfn-get-metadata @@ -23,11 +23,7 @@ import os.path import sys -if os.path.exists('/opt/aws/bin'): - sys.path.insert(0, '/opt/aws/bin') - from cfn_helper import * -else: - from heat_cfntools.cfntools.cfn_helper import * +from heat_cfntools.cfntools.cfn_helper import * description = " " parser = argparse.ArgumentParser(description=description) diff --git a/bin/cfn-hup b/bin/cfn-hup index 8487753..9e31a52 100755 --- a/bin/cfn-hup +++ b/bin/cfn-hup @@ -23,11 +23,7 @@ import os.path import sys -if os.path.exists('/opt/aws/bin'): - sys.path.insert(0, '/opt/aws/bin') - from cfn_helper import * -else: - from heat_cfntools.cfntools.cfn_helper import * +from heat_cfntools.cfntools.cfn_helper import * description = " " parser = argparse.ArgumentParser(description=description) diff --git a/bin/cfn-init b/bin/cfn-init index 4af16c6..72f499a 100755 --- a/bin/cfn-init +++ b/bin/cfn-init @@ -21,11 +21,7 @@ import os import sys -if os.path.exists('/opt/aws/bin'): - sys.path.insert(0, '/opt/aws/bin') - from cfn_helper import * -else: - from heat_cfntools.cfntools.cfn_helper import * +from heat_cfntools.cfntools.cfn_helper import * description = " " parser = argparse.ArgumentParser(description=description) diff --git a/bin/cfn-push-stats b/bin/cfn-push-stats index 51f490f..6fe085f 100755 --- a/bin/cfn-push-stats +++ b/bin/cfn-push-stats @@ -41,11 +41,7 @@ except ImportError: LOG.warn("psutil not available. If you want process and memory " "statistics, you need to install it.") -if os.path.exists('/opt/aws/bin'): - sys.path.insert(0, '/opt/aws/bin') - from cfn_helper import * -else: - from heat_cfntools.cfntools.cfn_helper import * +from heat_cfntools.cfntools.cfn_helper import * KILO = 1024 MEGA = 1048576 diff --git a/bin/cfn-signal b/bin/cfn-signal index 6fd08a5..4685c9b 100755 --- a/bin/cfn-signal +++ b/bin/cfn-signal @@ -21,11 +21,7 @@ import os import sys -if os.path.exists('/opt/aws/bin'): - sys.path.insert(0, '/opt/aws/bin') - from cfn_helper import * -else: - from heat_cfntools.cfntools.cfn_helper import * +from heat_cfntools.cfntools.cfn_helper import * description = " " |