Use charm env in actions to get have charmhelpers available

This commit is contained in:
Konstantinos Tsakalozos 2018-03-16 11:55:52 +02:00
parent 5d67222592
commit d6c62198cf
4 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python3 #!/usr/local/sbin/charm-env python3
# Copyright 2015 The Kubernetes Authors. # Copyright 2015 The Kubernetes Authors.
# #

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python3 #!/usr/local/sbin/charm-env python3
import os import os
from yaml import safe_load as load from yaml import safe_load as load
from charmhelpers.core.hookenv import ( from charmhelpers.core.hookenv import (

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python3 #!/usr/local/sbin/charm-env python3
# Copyright 2015 The Kubernetes Authors. # Copyright 2015 The Kubernetes Authors.
# #

View File

@ -1,4 +1,4 @@
#!/usr/bin/python3 #!/usr/local/sbin/charm-env python3
# #
# For a usage examples, see README.md # For a usage examples, see README.md
# #