Skip to content

Commit

Permalink
Option to select timezone.
Browse files Browse the repository at this point in the history
  • Loading branch information
nsg committed Jul 29, 2014
1 parent b096cf3 commit 24ede41
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ Role Variables

* `graphite_user` - The user that carbon and uwsgi is executed as, default: `graphite`
* `graphite_secret_key` - Change this to a random string, default: `UNSAFE_DEFAULT`
* `graphite_time_zone` - Select timezone, default: `America/Los_Angeles`
* `graphite_admin_date_joined`, default: `"2014-07-21T10:11:17.464"`
* `graphite_admin_email`, default: `"root@localhost"`
* `graphite_admin_first_name`, default: `""`
Expand Down
1 change: 1 addition & 0 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

graphite_user: graphite
graphite_secret_key: UNSAFE_DEFAULT
graphite_time_zone: "America/Los_Angeles"

graphite_admin_date_joined: "2014-07-21T10:11:17.464"
graphite_admin_email: "root@localhost"
Expand Down
2 changes: 1 addition & 1 deletion templates/local_settings.py.j2
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ SECRET_KEY = '{{ graphite_secret_key }}'
# Set your local timezone (Django's default is America/Chicago)
# If your graphs appear to be offset by a couple hours then this probably
# needs to be explicitly set to your local timezone.
#TIME_ZONE = 'America/Los_Angeles'
TIME_ZONE = '{{ graphite_time_zone }}'

# Override this to provide documentation specific to your Graphite deployment
#DOCUMENTATION_URL = "http://graphite.readthedocs.org/"
Expand Down

0 comments on commit 24ede41

Please sign in to comment.