Skip to content

Instantly share code, notes, and snippets.

@clementcohen
Created December 29, 2015 15:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save clementcohen/b3e3d1f28ef4845f2b9f to your computer and use it in GitHub Desktop.
Save clementcohen/b3e3d1f28ef4845f2b9f to your computer and use it in GitHub Desktop.
DEBIAN-WEB2.clementcohen.lan:
----------
ID: apache
Function: pkg.installed
Name: apache2
Result: True
Comment: The following packages were installed/updated: apache2.
Changes:
----------
apache2:
----------
new:
2.4.10-10+deb8u3
old:
apache2-api-20120211:
----------
new:
1
old:
apache2-bin:
----------
new:
2.4.10-10+deb8u3
old:
apache2-data:
----------
new:
2.4.10-10+deb8u3
old:
apache2-utils:
----------
new:
2.4.10-10+deb8u3
old:
httpd:
----------
new:
1
old:
httpd-cgi:
----------
new:
1
old:
libapr1:
----------
new:
1.5.1-3
old:
libaprutil1:
----------
new:
1.5.4-1
old:
libaprutil1-dbd-sqlite3:
----------
new:
1.5.4-1
old:
libaprutil1-ldap:
----------
new:
1.5.4-1
old:
liblua5.1-0:
----------
new:
5.1.5-7.1
old:
ssl-cert:
----------
new:
1.0.35
old:
----------
ID: apache
Function: service.running
Name: apache2
Result: True
Comment: Service apache2 has been enabled, and is in the desired state
Changes:
----------
apache2:
True
----------
ID: web2
Function: file.managed
Name: /etc/apache2/sites-available/web2.conf
Result: True
Comment: File /etc/apache2/sites-available/web2.conf updated
Changes:
----------
diff:
New file
mode:
0644
----------
ID: a2ensite web2.conf
Function: cmd.run
Result: True
Comment: Command "a2ensite web2.conf" run
Changes:
----------
pid:
3465
retcode:
0
stderr:
stdout:
Enabling site web2.
To activate the new configuration, you need to run:
service apache2 reload
----------
ID: apache-reload
Function: module.wait
Name: service.reload
Result: False
Comment: An exception occurred in this state: Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/salt/state.py", line 1382, in call
**cdata['kwargs'])
File "/usr/lib/python2.7/dist-packages/salt/states/module.py", line 203, in run
if ret['changes'].get('ret', {}).get('retcode', 0) != 0:
AttributeError: 'bool' object has no attribute 'get'
Changes:
----------
ID: apache-restart
Function: module.wait
Name: service.restart
Result: True
Comment:
Changes:
----------
ID: web2-documentroot
Function: file.directory
Name: /var/www/web2.clementcohen.lan
Result: True
Comment: Directory /var/www/web2.clementcohen.lan updated
Changes:
----------
/var/www/web2.clementcohen.lan:
New Dir
Summary
-------------
Succeeded: 24
Failed: 1
-------------
Total: 25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment