summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorJohn R Barker <john@johnrbarker.com>2016-10-13 15:47:50 +0100
committerBrian Coca <bcoca@users.noreply.github.com>2016-10-13 10:47:50 -0400
commit312f578f93a13d21b6d5ab45c1dd0bdf8685ef54 (patch)
tree6e832825c3e402d052079a05f7769dac56b0870e /system
parentc6d8cb6cab9fdfd9cd382048bbf419dfbc2dc164 (diff)
downloadansible-modules-core-312f578f93a13d21b6d5ab45c1dd0bdf8685ef54.tar.gz
Bulk spelling improvement to modules-core (#5225)
* Correct spelling mistakes * Correct more spelling issues * merge conflict * Revert typo in parms
Diffstat (limited to 'system')
-rw-r--r--system/cron.py4
-rw-r--r--system/group.py2
-rw-r--r--system/service.py2
-rw-r--r--system/systemd.py2
-rw-r--r--system/user.py6
5 files changed, 8 insertions, 8 deletions
diff --git a/system/cron.py b/system/cron.py
index 00ac3709..bfc2f2d2 100644
--- a/system/cron.py
+++ b/system/cron.py
@@ -22,7 +22,7 @@
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
#
-# Cron Plugin: The goal of this plugin is to provide an indempotent method for
+# Cron Plugin: The goal of this plugin is to provide an idempotent method for
# setting up cron jobs on a host. The script will play well with other manually
# entered crons. Each cron job entered will be preceded with a comment
# describing the job so that it can be found later, which is required to be
@@ -139,7 +139,7 @@ options:
env:
description:
- If set, manages a crontab's environment variable. New variables are added on top of crontab.
- "name" and "value" paramenters are the name and the value of environment variable.
+ "name" and "value" parameters are the name and the value of environment variable.
version_added: "2.1"
required: false
default: "no"
diff --git a/system/group.py b/system/group.py
index 8edb93a1..f6628727 100644
--- a/system/group.py
+++ b/system/group.py
@@ -258,7 +258,7 @@ class DarwinGroup(Group):
- group_add()
- group_mod()
- group manupulation are done using dseditgroup(1).
+ group manipulation are done using dseditgroup(1).
"""
platform = 'Darwin'
diff --git a/system/service.py b/system/service.py
index baac4fed..18b76d32 100644
--- a/system/service.py
+++ b/system/service.py
@@ -1350,7 +1350,7 @@ class SunOSService(Service):
def service_control(self):
status = self.get_sunos_svcs_status()
- # if starting or reloading, clear maintenace states
+ # if starting or reloading, clear maintenance states
if self.action in ['start', 'reload', 'restart'] and status in ['maintenance', 'degraded']:
rc, stdout, stderr = self.execute_command("%s clear %s" % (self.svcadm_cmd, self.name))
if rc != 0:
diff --git a/system/systemd.py b/system/systemd.py
index a92c776a..fdaeae64 100644
--- a/system/systemd.py
+++ b/system/systemd.py
@@ -75,7 +75,7 @@ EXAMPLES = '''
- systemd: state=started name=httpd
# Example action to stop service cron on debian, if running
- systemd: name=cron state=stopped
-# Example action to restart service cron on centos, in all cases, also issue deamon-reload to pick up config changes
+# Example action to restart service cron on centos, in all cases, also issue daemon-reload to pick up config changes
- systemd: state=restarted daemon_reload=yes name=crond
# Example action to reload service httpd, in all cases
- systemd: name=httpd state=reloaded
diff --git a/system/user.py b/system/user.py
index 9c1c9ada..ab2c4be2 100644
--- a/system/user.py
+++ b/system/user.py
@@ -1528,7 +1528,7 @@ class DarwinUser(User):
def _change_user_password(self):
'''Change password for SELF.NAME against SELF.PASSWORD.
- Please note that password must be cleatext.
+ Please note that password must be cleartext.
'''
# some documentation on how is stored passwords on OSX:
# http://blog.lostpassword.com/2012/07/cracking-mac-os-x-lion-accounts-passwords/
@@ -1560,7 +1560,7 @@ class DarwinUser(User):
def __modify_group(self, group, action):
'''Add or remove SELF.NAME to or from GROUP depending on ACTION.
- ACTION can be 'add' or 'remove' otherwhise 'remove' is assumed. '''
+ ACTION can be 'add' or 'remove' otherwise 'remove' is assumed. '''
if action == 'add':
option = '-a'
else:
@@ -1574,7 +1574,7 @@ class DarwinUser(User):
def _modify_group(self):
'''Add or remove SELF.NAME to or from GROUP depending on ACTION.
- ACTION can be 'add' or 'remove' otherwhise 'remove' is assumed. '''
+ ACTION can be 'add' or 'remove' otherwise 'remove' is assumed. '''
rc = 0
out = ''