-
-
Save felipellrocha/7fc56cca47ba4f90abe1 to your computer and use it in GitHub Desktop.
This file contains 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
~SALT(branch:master*) » sudo salt 'stark*' state.sls django -l debug | |
[DEBUG ] Reading configuration from /etc/salt/master | |
[DEBUG ] Missing configuration file: /home/bkpk/.salt | |
[DEBUG ] loading log_handlers in ['/var/cache/salt/master/extmods/log_handlers', '/usr/lib/pymodules/python2.7/salt/log/handlers'] | |
[DEBUG ] Skipping /var/cache/salt/master/extmods/log_handlers, it is not a directory | |
[DEBUG ] Configuration file path: /etc/salt/master | |
[DEBUG ] Reading configuration from /etc/salt/master | |
[DEBUG ] Missing configuration file: /home/bkpk/.salt | |
[DEBUG ] LocalClientEvent PUB socket URI: ipc:///var/run/salt/master/master_event_pub.ipc | |
[DEBUG ] LocalClientEvent PULL socket URI: ipc:///var/run/salt/master/master_event_pull.ipc | |
[DEBUG ] loading output in ['/var/cache/salt/master/extmods/output', '/usr/lib/pymodules/python2.7/salt/output'] | |
[DEBUG ] Skipping /var/cache/salt/master/extmods/output, it is not a directory | |
[DEBUG ] Loaded no_out as virtual quiet | |
[DEBUG ] Loaded json_out as virtual json | |
[DEBUG ] Loaded yaml_out as virtual yaml | |
[DEBUG ] Loaded pprint_out as virtual pprint | |
stark.bkpk-internals.com: | |
---------- | |
State: - pkg | |
Name: libxml2 | |
Function: installed | |
Result: True | |
Comment: Package libxml2 is already installed | |
Changes: | |
---------- | |
State: - pkg | |
Name: python-pip | |
Function: installed | |
Result: True | |
Comment: Package python-pip is already installed | |
Changes: | |
---------- | |
State: - pkg | |
Name: libxml2-dev | |
Function: installed | |
Result: True | |
Comment: Package libxml2-dev is already installed | |
Changes: | |
---------- | |
State: - pkg | |
Name: libxslt-dev | |
Function: installed | |
Result: True | |
Comment: Package libxslt-dev is already installed | |
Changes: | |
---------- | |
State: - virtualenv | |
Name: /home/bkpk/env | |
Function: managed | |
Result: True | |
Comment: virtualenv exists | |
Changes: | |
---------- | |
State: - file | |
Name: /home/bkpk/env | |
Function: directory | |
Result: True | |
Comment: Directory /home/bkpk/env is in the correct state | |
Changes: | |
---------- | |
State: - gem | |
Name: sass | |
Function: installed | |
Result: True | |
Comment: Gem is already installed. | |
Changes: | |
---------- | |
State: - pip | |
Name: python-pkgs | |
Function: installed | |
Result: True | |
Comment: Successfully processed requirements file salt://django/dev-requirements. | |
Changes: requirements: True | |
---------- | |
State: - pkg | |
Name: libtiff4 | |
Function: installed | |
Result: True | |
Comment: Package libtiff4 is already installed | |
Changes: | |
---------- | |
State: - file | |
Name: /home/bkpk/src/books | |
Function: recurse | |
Result: True | |
Comment: Recursively updated /home/bkpk/src/books | |
Changes: /home/bkpk/src/books/backpack/settings.py: { diff : --- | |
+++ | |
@@ -31,8 +31,8 @@ | |
'ENGINE': 'django.db.backends.postgresql_psycopg2', | |
'NAME': 'bkpk', | |
'USER': 'bkpk_data', | |
- 'PASSWORD': '***', | |
- 'HOST': 'tyrell.bkpk-internals.com', | |
+ 'PASSWORD': 'bkpk', | |
+ 'HOST': 'localhost', | |
'PORT': '5432', | |
'OPTIONS': {'autocommit': True,} | |
} | |
@@ -41,7 +41,7 @@ | |
HAYSTACK_CONNECTIONS = { | |
'default': { | |
'ENGINE': 'haystack.backends.elasticsearch_backend.ElasticsearchSearchEngine', | |
- 'URL': 'http://lannister.bkpk-internals.com:9200/', | |
+ 'URL': 'http://localhost:9200/', | |
'INCLUDE_SPELLING': True, | |
'INDEX_NAME': 'bkpk_search' | |
} | |
@@ -51,7 +51,7 @@ | |
# Hosts/domain names that are valid for this site; required if DEBUG is False | |
# See https://docs.djangoproject.com/en/1.5/ref/settings/#allowed-hosts | |
-ALLOWED_HOSTS = ['http://backpack-books.com/',] | |
+ALLOWED_HOSTS = ['http://backpack-books.local:8888/',] | |
TIME_ZONE = 'America/Chicago' | |
LANGUAGE_CODE = 'en-us' | |
@@ -68,7 +68,7 @@ | |
# If you set this to False, Django will not use timezone-aware datetimes. | |
USE_TZ = True | |
-DOMAIN = 'http://backpack-books.com/' | |
+DOMAIN = 'http://backpack-books.local:8888/' | |
MEDIA_ROOT = '%s/media' % PROJECT_ROOT | |
MEDIA_URL = '/media/' | |
@@ -76,7 +76,7 @@ | |
STATIC_ROOT = '%s/static' % PROJECT_ROOT | |
STATIC_URL = '/static/' | |
-GIT_ROOT = '/home/bkpk/repos' | |
+GIT_ROOT = '%s/repos' % os.path.expanduser('~') | |
GIT_MAIN = '%s/main' % GIT_ROOT | |
GIT_FORKS = '%s/forks' % GIT_ROOT | |
GIT_URL = '/repos/' | |
} | |
---------- | |
State: - pkg | |
Name: libfontconfig1 | |
Function: installed | |
Result: True | |
Comment: Package libfontconfig1 is already installed | |
Changes: | |
---------- | |
State: - file | |
Name: /home/bkpk/src/books/backpack/settings.py | |
Function: managed | |
Result: True | |
Comment: File /home/bkpk/src/books/backpack/settings.py updated | |
Changes: diff: --- | |
+++ | |
@@ -31,8 +31,8 @@ | |
'ENGINE': 'django.db.backends.postgresql_psycopg2', | |
'NAME': 'bkpk', | |
'USER': 'bkpk_data', | |
- 'PASSWORD': 'bkpk', | |
- 'HOST': 'localhost', | |
+ 'PASSWORD': '***', | |
+ 'HOST': 'tyrell.bkpk-internals.com', | |
'PORT': '5432', | |
'OPTIONS': {'autocommit': True,} | |
} | |
@@ -41,7 +41,7 @@ | |
HAYSTACK_CONNECTIONS = { | |
'default': { | |
'ENGINE': 'haystack.backends.elasticsearch_backend.ElasticsearchSearchEngine', | |
- 'URL': 'http://localhost:9200/', | |
+ 'URL': 'http://lannister.bkpk-internals.com:9200/', | |
'INCLUDE_SPELLING': True, | |
'INDEX_NAME': 'bkpk_search' | |
} | |
@@ -51,7 +51,7 @@ | |
# Hosts/domain names that are valid for this site; required if DEBUG is False | |
# See https://docs.djangoproject.com/en/1.5/ref/settings/#allowed-hosts | |
-ALLOWED_HOSTS = ['http://backpack-books.local:8888/',] | |
+ALLOWED_HOSTS = ['http://backpack-books.com/',] | |
TIME_ZONE = 'America/Chicago' | |
LANGUAGE_CODE = 'en-us' | |
@@ -68,7 +68,7 @@ | |
# If you set this to False, Django will not use timezone-aware datetimes. | |
USE_TZ = True | |
-DOMAIN = 'http://backpack-books.local:8888/' | |
+DOMAIN = 'http://backpack-books.com/' | |
MEDIA_ROOT = '%s/media' % PROJECT_ROOT | |
MEDIA_URL = '/media/' | |
@@ -76,7 +76,7 @@ | |
STATIC_ROOT = '%s/static' % PROJECT_ROOT | |
STATIC_URL = '/static/' | |
-GIT_ROOT = '%s/repos' % os.path.expanduser('~') | |
+GIT_ROOT = '/home/bkpk/repos' | |
GIT_MAIN = '%s/main' % GIT_ROOT | |
GIT_FORKS = '%s/forks' % GIT_ROOT | |
GIT_URL = '/repos/' | |
---------- | |
State: - pkg | |
Name: libgif4 | |
Function: installed | |
Result: True | |
Comment: Package libgif4 is already installed | |
Changes: | |
---------- | |
State: - pkg | |
Name: libcurl3 | |
Function: installed | |
Result: True | |
Comment: Package libcurl3 is already installed | |
Changes: | |
---------- | |
State: - pkg | |
Name: libc6 | |
Function: installed | |
Result: True | |
Comment: Package libc6 is already installed | |
Changes: | |
Summary | |
------------- | |
Succeeded: 15 | |
Failed: 0 | |
------------- | |
Total: 15 | |
------------------------------------------------------------ | |
~SALT(branch:master*) » sudo salt 'stark*' state.sls django -l debug | |
[DEBUG ] Reading configuration from /etc/salt/master | |
[DEBUG ] Missing configuration file: /home/bkpk/.salt | |
[DEBUG ] loading log_handlers in ['/var/cache/salt/master/extmods/log_handlers', '/usr/lib/pymodules/python2.7/salt/log/handlers'] | |
[DEBUG ] Skipping /var/cache/salt/master/extmods/log_handlers, it is not a directory | |
[DEBUG ] Configuration file path: /etc/salt/master | |
[DEBUG ] Reading configuration from /etc/salt/master | |
[DEBUG ] Missing configuration file: /home/bkpk/.salt | |
[DEBUG ] LocalClientEvent PUB socket URI: ipc:///var/run/salt/master/master_event_pub.ipc | |
[DEBUG ] LocalClientEvent PULL socket URI: ipc:///var/run/salt/master/master_event_pull.ipc | |
[DEBUG ] loading output in ['/var/cache/salt/master/extmods/output', '/usr/lib/pymodules/python2.7/salt/output'] | |
[DEBUG ] Skipping /var/cache/salt/master/extmods/output, it is not a directory | |
[DEBUG ] Loaded no_out as virtual quiet | |
[DEBUG ] Loaded json_out as virtual json | |
[DEBUG ] Loaded yaml_out as virtual yaml | |
[DEBUG ] Loaded pprint_out as virtual pprint | |
stark.bkpk-internals.com: | |
---------- | |
State: - pkg | |
Name: libxml2 | |
Function: installed | |
Result: True | |
Comment: Package libxml2 is already installed | |
Changes: | |
---------- | |
State: - pkg | |
Name: python-pip | |
Function: installed | |
Result: True | |
Comment: Package python-pip is already installed | |
Changes: | |
---------- | |
State: - pkg | |
Name: libxml2-dev | |
Function: installed | |
Result: True | |
Comment: Package libxml2-dev is already installed | |
Changes: | |
---------- | |
State: - pkg | |
Name: libxslt-dev | |
Function: installed | |
Result: True | |
Comment: Package libxslt-dev is already installed | |
Changes: | |
---------- | |
State: - virtualenv | |
Name: /home/bkpk/env | |
Function: managed | |
Result: True | |
Comment: virtualenv exists | |
Changes: | |
---------- | |
State: - file | |
Name: /home/bkpk/env | |
Function: directory | |
Result: True | |
Comment: Directory /home/bkpk/env is in the correct state | |
Changes: | |
---------- | |
State: - gem | |
Name: sass | |
Function: installed | |
Result: True | |
Comment: Gem is already installed. | |
Changes: | |
---------- | |
State: - pip | |
Name: python-pkgs | |
Function: installed | |
Result: True | |
Comment: Successfully processed requirements file salt://django/dev-requirements. | |
Changes: requirements: True | |
---------- | |
State: - pkg | |
Name: libtiff4 | |
Function: installed | |
Result: True | |
Comment: Package libtiff4 is already installed | |
Changes: | |
---------- | |
State: - file | |
Name: /home/bkpk/src/books | |
Function: recurse | |
Result: True | |
Comment: Recursively updated /home/bkpk/src/books | |
Changes: /home/bkpk/src/books/backpack/settings.py: { diff : --- | |
+++ | |
@@ -31,8 +31,8 @@ | |
'ENGINE': 'django.db.backends.postgresql_psycopg2', | |
'NAME': 'bkpk', | |
'USER': 'bkpk_data', | |
- 'PASSWORD': '***', | |
- 'HOST': 'tyrell.bkpk-internals.com', | |
+ 'PASSWORD': 'bkpk', | |
+ 'HOST': 'localhost', | |
'PORT': '5432', | |
'OPTIONS': {'autocommit': True,} | |
} | |
@@ -41,7 +41,7 @@ | |
HAYSTACK_CONNECTIONS = { | |
'default': { | |
'ENGINE': 'haystack.backends.elasticsearch_backend.ElasticsearchSearchEngine', | |
- 'URL': 'http://lannister.bkpk-internals.com:9200/', | |
+ 'URL': 'http://localhost:9200/', | |
'INCLUDE_SPELLING': True, | |
'INDEX_NAME': 'bkpk_search' | |
} | |
@@ -51,7 +51,7 @@ | |
# Hosts/domain names that are valid for this site; required if DEBUG is False | |
# See https://docs.djangoproject.com/en/1.5/ref/settings/#allowed-hosts | |
-ALLOWED_HOSTS = ['http://backpack-books.com/',] | |
+ALLOWED_HOSTS = ['http://backpack-books.local:8888/',] | |
TIME_ZONE = 'America/Chicago' | |
LANGUAGE_CODE = 'en-us' | |
@@ -68,7 +68,7 @@ | |
# If you set this to False, Django will not use timezone-aware datetimes. | |
USE_TZ = True | |
-DOMAIN = 'http://backpack-books.com/' | |
+DOMAIN = 'http://backpack-books.local:8888/' | |
MEDIA_ROOT = '%s/media' % PROJECT_ROOT | |
MEDIA_URL = '/media/' | |
@@ -76,7 +76,7 @@ | |
STATIC_ROOT = '%s/static' % PROJECT_ROOT | |
STATIC_URL = '/static/' | |
-GIT_ROOT = '/home/bkpk/repos' | |
+GIT_ROOT = '%s/repos' % os.path.expanduser('~') | |
GIT_MAIN = '%s/main' % GIT_ROOT | |
GIT_FORKS = '%s/forks' % GIT_ROOT | |
GIT_URL = '/repos/' | |
} | |
---------- | |
State: - pkg | |
Name: libfontconfig1 | |
Function: installed | |
Result: True | |
Comment: Package libfontconfig1 is already installed | |
Changes: | |
---------- | |
State: - file | |
Name: /home/bkpk/src/books/backpack/settings.py | |
Function: managed | |
Result: True | |
Comment: File /home/bkpk/src/books/backpack/settings.py updated | |
Changes: diff: --- | |
+++ | |
@@ -31,8 +31,8 @@ | |
'ENGINE': 'django.db.backends.postgresql_psycopg2', | |
'NAME': 'bkpk', | |
'USER': 'bkpk_data', | |
- 'PASSWORD': 'bkpk', | |
- 'HOST': 'localhost', | |
+ 'PASSWORD': '***', | |
+ 'HOST': 'tyrell.bkpk-internals.com', | |
'PORT': '5432', | |
'OPTIONS': {'autocommit': True,} | |
} | |
@@ -41,7 +41,7 @@ | |
HAYSTACK_CONNECTIONS = { | |
'default': { | |
'ENGINE': 'haystack.backends.elasticsearch_backend.ElasticsearchSearchEngine', | |
- 'URL': 'http://localhost:9200/', | |
+ 'URL': 'http://lannister.bkpk-internals.com:9200/', | |
'INCLUDE_SPELLING': True, | |
'INDEX_NAME': 'bkpk_search' | |
} | |
@@ -51,7 +51,7 @@ | |
# Hosts/domain names that are valid for this site; required if DEBUG is False | |
# See https://docs.djangoproject.com/en/1.5/ref/settings/#allowed-hosts | |
-ALLOWED_HOSTS = ['http://backpack-books.local:8888/',] | |
+ALLOWED_HOSTS = ['http://backpack-books.com/',] | |
TIME_ZONE = 'America/Chicago' | |
LANGUAGE_CODE = 'en-us' | |
@@ -68,7 +68,7 @@ | |
# If you set this to False, Django will not use timezone-aware datetimes. | |
USE_TZ = True | |
-DOMAIN = 'http://backpack-books.local:8888/' | |
+DOMAIN = 'http://backpack-books.com/' | |
MEDIA_ROOT = '%s/media' % PROJECT_ROOT | |
MEDIA_URL = '/media/' | |
@@ -76,7 +76,7 @@ | |
STATIC_ROOT = '%s/static' % PROJECT_ROOT | |
STATIC_URL = '/static/' | |
-GIT_ROOT = '%s/repos' % os.path.expanduser('~') | |
+GIT_ROOT = '/home/bkpk/repos' | |
GIT_MAIN = '%s/main' % GIT_ROOT | |
GIT_FORKS = '%s/forks' % GIT_ROOT | |
GIT_URL = '/repos/' | |
---------- | |
State: - pkg | |
Name: libgif4 | |
Function: installed | |
Result: True | |
Comment: Package libgif4 is already installed | |
Changes: | |
---------- | |
State: - pkg | |
Name: libcurl3 | |
Function: installed | |
Result: True | |
Comment: Package libcurl3 is already installed | |
Changes: | |
---------- | |
State: - pkg | |
Name: libc6 | |
Function: installed | |
Result: True | |
Comment: Package libc6 is already installed | |
Changes: | |
Summary | |
------------- | |
Succeeded: 15 | |
Failed: 0 | |
------------- | |
Total: 15 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment