??????????????
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°ddlmZmZmZeZdZdZdZddl m Z ddl m Z ddl mZyddlZeZWnek r•ZeZnXd e fd „ƒYZdS( i(tabsolute_importtdivisiontprint_functionsΕ lookup: chef_databag version_added: "2.3" short_description: fetches data from a Chef Databag description: - "This is a lookup plugin to provide access to chef data bags using the pychef package. It interfaces with the chef server api using the same methods to find a knife or chef-client config file to load parameters from, starting from either the given base path or the current working directory. The lookup order mirrors the one from Chef, all folders in the base path are walked back looking for the following configuration file in order : .chef/knife.rb, ~/.chef/knife.rb, /etc/chef/client.rb" requirements: - "pychef (python library https://pychef.readthedocs.io `pip install pychef`)" options: name: description: - Name of the databag required: True item: description: - Item to fetch required: True sc - debug: msg: "{{ lookup('chef_databag', 'name=data_bag_name item=data_bag_item') }}" s= _raw: description: - The value from the databag (t AnsibleError(t LookupBase(tparse_kvNt LookupModulecB`s2eZdZddd„Zd„Zdd„ZRS(s% Chef data bag lookup module cK`s2tt|ƒj|||d|_d|_dS(N(tsuperRt__init__tNonetnametitem(tselftloaderttemplartkwargs((sG/usr/lib/python2.7/site-packages/ansible/plugins/lookup/chef_databag.pyR8s cC`sͺx„ddgD]v}yD|j|dƒ}|dkr:w nt|ƒ}t|||ƒWq tk r‚tdj||ƒƒ‚q Xq W|r¦td|jƒƒ‚ndS(s1 parse key-value style arguments R R s!can't parse arg {0}={1} as strings+unrecognized arguments to with_sequence: %rN(tpopR tstrtsetattrt ValueErrorRtformattkeys(R targstargtarg_rawtparsed((sG/usr/lib/python2.7/site-packages/ansible/plugins/lookup/chef_databag.pyt parse_kv_args@s   cK`s•tstdƒ‚nx!|D]}|jt|ƒƒqWtjƒ}t|tjjƒsitdƒ‚ntj |j ƒ}||j }t |ƒgS(Ns9PyChef needed for lookup plugin, try `pip install pychef`s%Unable to connect to Chef Server API.( tHAS_CHEFRRRtcheft autoconfiguret isinstancetapitChefAPItDataBagR R tdict(R ttermst variablesRttermt api_objecttdata_bag_objectt data_bag_item((sG/usr/lib/python2.7/site-packages/ansible/plugins/lookup/chef_databag.pytrunUs   N(t__name__t __module__t__doc__R RRR)(((sG/usr/lib/python2.7/site-packages/ansible/plugins/lookup/chef_databag.pyR4s (t __future__RRRttypet __metaclass__t DOCUMENTATIONtEXAMPLEStRETURNtansible.errorsRtansible.plugins.lookupRtansible.parsing.splitterRRtTrueRt ImportErrortmissing_moduletFalseR(((sG/usr/lib/python2.7/site-packages/ansible/plugins/lookup/chef_databag.pyts