??????????????
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 173
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 174
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 175
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 176
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 177
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 178
σ
ΰUdac @` sΕ d d l m Z m Z m Z e Z i d d 6d g d 6d d 6Z d Z d Z d d
l Z d d
l
Z
d d
l Z d d l m
Z
d d l m Z d
Z d Z d Z e d k rΑ e n d
S( i ( t absolute_importt divisiont print_functions 1.1t metadata_versiont stableinterfacet statust communityt supported_bys
---
module: puppet
short_description: Runs puppet
description:
- Runs I(puppet) agent or apply in a reliable manner.
version_added: "2.0"
options:
timeout:
description:
- How long to wait for I(puppet) to finish.
type: str
default: 30m
puppetmaster:
description:
- The hostname of the puppetmaster to contact.
type: str
modulepath:
description:
- Path to an alternate location for puppet modules.
type: str
version_added: "2.4"
manifest:
description:
- Path to the manifest file to run puppet apply on.
type: str
noop:
description:
- Override puppet.conf noop mode.
- When C(yes), run Puppet agent with C(--noop) switch set.
- When C(no), run Puppet agent with C(--no-noop) switch set.
- When unset (default), use default or puppet.conf value if defined.
type: bool
version_added: "2.8"
facts:
description:
- A dict of values to pass in as persistent external facter facts.
type: dict
facter_basename:
description:
- Basename of the facter output file.
type: str
default: ansible
environment:
description:
- Puppet environment to be used.
type: str
logdest:
description:
- Where the puppet logs should go, if puppet apply is being used.
- C(all) will go to both C(stdout) and C(syslog).
type: str
choices: [ all, stdout, syslog ]
default: stdout
version_added: "2.1"
certname:
description:
- The name to use when handling certificates.
type: str
version_added: "2.1"
tags:
description:
- A list of puppet tags to be used.
type: list
version_added: "2.1"
execute:
description:
- Execute a specific piece of Puppet code.
- It has no effect with a puppetmaster.
type: str
version_added: "2.1"
use_srv_records:
description:
- Toggles use_srv_records flag
type: bool
version_added: "2.9"
summarize:
description:
- Whether to print a transaction summary.
type: bool
version_added: "2.7"
verbose:
description:
- Print extra information.
type: bool
version_added: "2.7"
debug:
description:
- Enable full debugging.
type: bool
version_added: "2.7"
requirements:
- puppet
author:
- Monty Taylor (@emonty)
s`
- name: Run puppet agent and fail if anything goes wrong
puppet:
- name: Run puppet and timeout in 5 minutes
puppet:
timeout: 5m
- name: Run puppet using a different environment
puppet:
environment: testing
- name: Run puppet using a specific certname
puppet:
certname: agent01.example.com
- name: Run puppet using a specific piece of Puppet code. Has no effect with a puppetmaster
puppet:
execute: include ::mymodule
- name: Run puppet using a specific tags
puppet:
tags:
- update
- nginx
- name: Run puppet agent in noop mode
puppet:
noop: yes
- name: Run a manifest with debug, log to both syslog and stdout, specify module path
puppet:
modulepath: /etc/puppet/modules:/opt/stack/puppet-modules:/usr/share/openstack-puppet/modules
logdest: all
manifest: /var/lib/example/puppet_step_config.pp
N( t
AnsibleModule( t shlex_quotec C` s* t j d k r d St j j d Sd S( Ni s /etc/facter/facts.ds ~/.facter/facts.d( t ost getuidt patht
expanduser( ( ( sA /usr/lib/python2.7/site-packages/ansible/modules/system/puppet.pyt _get_facter_dir s c C` s’ t j j | s" t j | n t j j | d j | } t j t j | t j t j Bt
j t
j B d } | j
t j | j d | j d S( Ns {0}.jsont wt utf8( R
R t existst makedirst joint formatt fdopent opent O_CREATt O_WRONLYt statt S_IRUSRt S_IWUSRt writet jsont dumpst encodet close( t basedirt basenamet datat file_patht out_file( ( sA /usr/lib/python2.7/site-packages/ansible/modules/system/puppet.pyt _write_structured_data£ s c ' C` sύ t d t d t d d d d d t d d d t d d d t d d d
t d t d d d
t d d d d d d d d g d t d d d t d d g d t d d d t d d d d d t d d d t d d d t d d d t d d d t d d d t d t d d d t d t d d d t d! t d d d" t d# dT dU dV g } | j } | j d$ t d% g a t s¨| j d&