Commit graph

10 commits

Author SHA1 Message Date
Hiroaki Nakamura
cc17a0ac7d Apply the same change as https://github.com/hnakamur/ansible-playbooks/pull/2 2013-11-10 08:28:33 +09:00
James Tanner
44014d6800 Set the correct version added for the hostname module 2013-11-07 22:01:02 -05:00
Hiroaki Nakamura
7aa728a32f Fix for RHEL6. 2013-11-01 23:32:14 +09:00
Hiroaki Nakamura
744b758633 Add support for Fedora, OpenSUSE and ArchLinux.
Tested under Fedora 19 and OpenSUSE 12.3. Not tested on ArchLinux.
2013-10-16 01:15:47 +09:00
Hiroaki Nakamura
7bd59c4b23 Do not use shortcut conditional operator which is not supported in Python 2.4. 2013-10-15 23:41:49 +09:00
Hiroaki Nakamura
2bef08705f Fix a bug in DebianStrategy.get_permanent_hostname(). Use strip, not split! 2013-08-25 07:46:23 +09:00
Hiroaki Nakamura
bf21ba1521 Rewrite with "try ... finally" instead of "with" statement to support Python 2.4. 2013-08-25 07:44:18 +09:00
Hiroaki Nakamura
860cf75fdc Remove extra sysloggings. 2013-08-25 07:35:20 +09:00
Hiroaki Nakamura
14fde81ad5 Raise an error on unsupported platform/distributions. 2013-08-25 07:32:37 +09:00
Hiroaki Nakamura
557c25a794 Add a hostname module, which sets system's hostname. 2013-08-25 00:49:15 +09:00