You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Go to file
Patrik Lundin 672b83b54b Rework "enabled" implementation for FreeBSD.
When trying to perform enabled=yes followed by enabled=no
against FreeBSD the module would die with the following error:
TypeError: sub() takes at most 4 arguments (5 given)

The target FreeBSD client (8.2) is running python 2.6.6. It seems the
extra 'flags' argument was added to re.sub() in 2.7.

In fixing this issue I have attempted to create a general atomic method
for modifying a rc.conf file. Hopefully this will make it easier to add
other rc based platorms. The strip/split magic was inspired by the user
module.
12 years ago
add_host add add_host action plugin - add hosts to inventory during a playbook 12 years ago
apt DOCUMENTATION strings 12 years ago
apt_repository DOCUMENTATION strings 12 years ago
assemble DOCUMENTATION strings 12 years ago
async_status chmod -x for all module files in source checkout 12 years ago
async_wrapper chmod -x for all module files in source checkout 12 years ago
authorized_key chmod -x for all module files in source checkout 12 years ago
command DOCUMENTATION strings 12 years ago
copy chmod -x for all module files in source checkout 12 years ago
cron DOCUMENTATION strings 12 years ago
debug DOCUMENTATION strings 12 years ago
easy_install chmod -x for all module files in source checkout 12 years ago
ec2 DOCUMENTATION strings 12 years ago
facter chmod -x for all module files in source checkout 12 years ago
fail DOCUMENTATION strings 12 years ago
fetch DOCUMENTATION strings 12 years ago
file module_formatter: re-instate code 12 years ago
fireball DOCUMENTATION strings 12 years ago
get_url DOCUMENTATION strings 12 years ago
git DOCUMENTATION strings 12 years ago
group chmod -x for all module files in source checkout 12 years ago
group_by Add a group_by action plugin. 12 years ago
ini_file chmod -x for all module files in source checkout 12 years ago
lineinfile DOCUMENTATION strings 12 years ago
mail typo 12 years ago
mount chmod -x for all module files in source checkout 12 years ago
mysql_db DOCUMENTATION strings 12 years ago
mysql_user chmod -x for all module files in source checkout 12 years ago
nagios DOCUMENTATION strings 12 years ago
ohai DOCUMENTATION strings 12 years ago
pause Reformat code: examples consistently 12 years ago
ping DOCUMENTATION strings 12 years ago
pip Corrected for fallthrough 12 years ago
postgresql_db DOCUMENTATION strings 12 years ago
postgresql_user DOCUMENTATION strings 12 years ago
raw DOCUMENTATION strings 12 years ago
script DOCUMENTATION strings 12 years ago
seboolean DOCUMENTATION strings 12 years ago
selinux DOCUMENTATION strings 12 years ago
service Rework "enabled" implementation for FreeBSD. 12 years ago
setup Streamline code 12 years ago
shell DOCUMENTATION strings 12 years ago
slurp DOCUMENTATION strings 12 years ago
subversion DOCUMENTATION strings 12 years ago
supervisorctl DOCUMENTATION strings 12 years ago
svr4pkg DOCUMENTATION strings 12 years ago
template chmod -x for all module files in source checkout 12 years ago
user DOCUMENTATION strings 12 years ago
virt chmod -x for all module files in source checkout 12 years ago
wait_for chmod -x for all module files in source checkout 12 years ago
yum DOCUMENTATION: yum (moved version to added) 12 years ago