diff --git a/docs/Puppet/Parser/Functions.html b/docs/Puppet/Parser/Functions.html deleted file mode 100644 index 54615e00..00000000 --- a/docs/Puppet/Parser/Functions.html +++ /dev/null @@ -1,105 +0,0 @@ - - - - - - - Module: Puppet::Parser::Functions - - — Documentation by YARD 0.9.9 - - - - - - - - - - - - - - - - - - - -
- - -

Module: Puppet::Parser::Functions - - - -

-
- - - - - - - - - - - -
-
Defined in:
-
lib/puppet/parser/functions/to_hash_settings.rb,
- lib/puppet/parser/functions/ensure_prefix.rb
-
-
- -
- - - - - - - - - - -
- - - -
- - \ No newline at end of file diff --git a/docs/_index.html b/docs/_index.html deleted file mode 100644 index 0da78276..00000000 --- a/docs/_index.html +++ /dev/null @@ -1,369 +0,0 @@ - - - - - - - Documentation by YARD 0.9.9 - - - - - - - - - - - - - - - - - - - -
- - -

Documentation by YARD 0.9.9

-
-

Alphabetic Index

- -

Puppet Class Listing A-Z

- - - - - - -
- - - - -
- - -

Defined Type Listing A-Z

- - - - - - -
- - - - -
- - - -

Puppet Provider Listing A-Z

- - - - - - -
- - -
    -
  • P
  • -
      - -
    • - pear - - (Resource type: package) - -
    • - -
    • - pecl - - (Resource type: package) - -
    • - -
    -
- -
- - -

Puppet Function Listing A-Z

- - - - - - -
- - - - - - - -
- - -

File Listing

- - -
- -

Ruby Namespace Listing A-Z

- - - - - - -
- - -
    -
  • F
  • -
      - -
    • - Functions - - (Puppet::Parser) - -
    • - -
    -
- -
- - -
- -
- - - -
- - \ No newline at end of file diff --git a/docs/css/common.css b/docs/css/common.css deleted file mode 100644 index d28b0936..00000000 --- a/docs/css/common.css +++ /dev/null @@ -1,8 +0,0 @@ -/* Ensure the search bar doesn't overlap with links */ -.fixed_header { - padding-bottom: 25px; -} - -#full_list { - padding-top: 15px; -} diff --git a/docs/css/full_list.css b/docs/css/full_list.css deleted file mode 100644 index fa359824..00000000 --- a/docs/css/full_list.css +++ /dev/null @@ -1,58 +0,0 @@ -body { - margin: 0; - font-family: "Lucida Sans", "Lucida Grande", Verdana, Arial, sans-serif; - font-size: 13px; - height: 101%; - overflow-x: hidden; - background: #fafafa; -} - -h1 { padding: 12px 10px; padding-bottom: 0; margin: 0; font-size: 1.4em; } -.clear { clear: both; } -.fixed_header { position: fixed; background: #fff; width: 100%; padding-bottom: 10px; margin-top: 0; top: 0; z-index: 9999; height: 70px; } -#search { position: absolute; right: 5px; top: 9px; padding-left: 24px; } -#content.insearch #search, #content.insearch #noresults { background: url(data:image/gif;base64,R0lGODlhEAAQAPYAAP///wAAAPr6+pKSkoiIiO7u7sjIyNjY2J6engAAAI6OjsbGxjIyMlJSUuzs7KamppSUlPLy8oKCghwcHLKysqSkpJqamvT09Pj4+KioqM7OzkRERAwMDGBgYN7e3ujo6Ly8vCoqKjY2NkZGRtTU1MTExDw8PE5OTj4+PkhISNDQ0MrKylpaWrS0tOrq6nBwcKysrLi4uLq6ul5eXlxcXGJiYoaGhuDg4H5+fvz8/KKiohgYGCwsLFZWVgQEBFBQUMzMzDg4OFhYWBoaGvDw8NbW1pycnOLi4ubm5kBAQKqqqiQkJCAgIK6urnJyckpKSjQ0NGpqatLS0sDAwCYmJnx8fEJCQlRUVAoKCggICLCwsOTk5ExMTPb29ra2tmZmZmhoaNzc3KCgoBISEiIiIgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh/hpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh+QQJCAAAACwAAAAAEAAQAAAHaIAAgoMgIiYlg4kACxIaACEJCSiKggYMCRselwkpghGJBJEcFgsjJyoAGBmfggcNEx0flBiKDhQFlIoCCA+5lAORFb4AJIihCRbDxQAFChAXw9HSqb60iREZ1omqrIPdJCTe0SWI09GBACH5BAkIAAAALAAAAAAQABAAAAdrgACCgwc0NTeDiYozCQkvOTo9GTmDKy8aFy+NOBA7CTswgywJDTIuEjYFIY0JNYMtKTEFiRU8Pjwygy4ws4owPyCKwsMAJSTEgiQlgsbIAMrO0dKDGMTViREZ14kYGRGK38nHguHEJcvTyIEAIfkECQgAAAAsAAAAABAAEAAAB2iAAIKDAggPg4iJAAMJCRUAJRIqiRGCBI0WQEEJJkWDERkYAAUKEBc4Po1GiKKJHkJDNEeKig4URLS0ICImJZAkuQAhjSi/wQyNKcGDCyMnk8u5rYrTgqDVghgZlYjcACTA1sslvtHRgQAh+QQJCAAAACwAAAAAEAAQAAAHZ4AAgoOEhYaCJSWHgxGDJCQARAtOUoQRGRiFD0kJUYWZhUhKT1OLhR8wBaaFBzQ1NwAlkIszCQkvsbOHL7Y4q4IuEjaqq0ZQD5+GEEsJTDCMmIUhtgk1lo6QFUwJVDKLiYJNUd6/hoEAIfkECQgAAAAsAAAAABAAEAAAB2iAAIKDhIWGgiUlh4MRgyQkjIURGRiGGBmNhJWHm4uen4ICCA+IkIsDCQkVACWmhwSpFqAABQoQF6ALTkWFnYMrVlhWvIKTlSAiJiVVPqlGhJkhqShHV1lCW4cMqSkAR1ofiwsjJyqGgQAh+QQJCAAAACwAAAAAEAAQAAAHZ4AAgoOEhYaCJSWHgxGDJCSMhREZGIYYGY2ElYebi56fhyWQniSKAKKfpaCLFlAPhl0gXYNGEwkhGYREUywag1wJwSkHNDU3D0kJYIMZQwk8MjPBLx9eXwuETVEyAC/BOKsuEjYFhoEAIfkECQgAAAAsAAAAABAAEAAAB2eAAIKDhIWGgiUlh4MRgyQkjIURGRiGGBmNhJWHm4ueICImip6CIQkJKJ4kigynKaqKCyMnKqSEK05StgAGQRxPYZaENqccFgIID4KXmQBhXFkzDgOnFYLNgltaSAAEpxa7BQoQF4aBACH5BAkIAAAALAAAAAAQABAAAAdogACCg4SFggJiPUqCJSWGgkZjCUwZACQkgxGEXAmdT4UYGZqCGWQ+IjKGGIUwPzGPhAc0NTewhDOdL7Ykji+dOLuOLhI2BbaFETICx4MlQitdqoUsCQ2vhKGjglNfU0SWmILaj43M5oEAOwAAAAAAAAAAAA==) no-repeat center left; } -#full_list { padding: 0; list-style: none; margin-left: 0; margin-top: 80px; font-size: 1.1em; } -#full_list ul { padding: 0; } -#full_list li { padding: 0; margin: 0; list-style: none; } -#full_list li .item { padding: 5px 5px 5px 12px; } -#noresults { padding: 7px 12px; background: #fff; } -#content.insearch #noresults { margin-left: 7px; } -li.collapsed ul { display: none; } -li a.toggle { cursor: default; position: relative; left: -5px; top: 4px; text-indent: -999px; width: 10px; height: 9px; margin-left: -10px; display: block; float: left; background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAASCAYAAABb0P4QAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAK8AAACvABQqw0mAAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTM5jWRgMAAAAVdEVYdENyZWF0aW9uIFRpbWUAMy8xNC8wOeNZPpQAAAE2SURBVDiNrZTBccIwEEXfelIAHUA6CZ24BGaWO+FuzZAK4k6gg5QAdGAq+Bxs2Yqx7BzyL7Llp/VfzZeQhCTc/ezuGzKKnKSzpCxXJM8fwNXda3df5RZETlIt6YUzSQDs93sl8w3wBZxCCE10GM1OcWbWjB2mWgEH4Mfdyxm3PSepBHibgQE2wLe7r4HjEidpnXMYdQPKEMJcsZ4zs2POYQOcaPfwMVOo58zsAdMt18BuoVDPxUJRacELbXv3hUIX2vYmOUvi8C8ydz/ThjXrqKqqLbDIAdsCKBd+Wo7GWa7o9qzOQHVVVXeAbs+yHHCH4aTsaCOQqunmUy1yBUAXkdMIfMlgF5EXLo2OpV/c/Up7jG4hhHcYLgWzAZXUc2b2ixsfvc/RmNNfOXD3Q/oeL9axJE1yT9IOoUu6MGUkAAAAAElFTkSuQmCC) no-repeat bottom left; } -li.collapsed a.toggle { opacity: 0.5; cursor: default; background-position: top left; } -li { color: #888; cursor: pointer; } -li.deprecated { text-decoration: line-through; font-style: italic; } -li.odd { background: #f0f0f0; } -li.even { background: #fafafa; } -.item:hover { background: #ddd; } -li small:before { content: "("; } -li small:after { content: ")"; } -li small.search_info { display: none; } -a, a:visited { text-decoration: none; color: #05a; } -li.clicked > .item { background: #05a; color: #ccc; } -li.clicked > .item a, li.clicked > .item a:visited { color: #eee; } -li.clicked > .item a.toggle { opacity: 0.5; background-position: bottom right; } -li.collapsed.clicked a.toggle { background-position: top right; } -#search input { border: 1px solid #bbb; border-radius: 3px; } -#full_list_nav { margin-left: 10px; font-size: 0.9em; display: block; color: #aaa; } -#full_list_nav a, #nav a:visited { color: #358; } -#full_list_nav a:hover { background: transparent; color: #5af; } -#full_list_nav span:after { content: ' | '; } -#full_list_nav span:last-child:after { content: ''; } - -#content h1 { margin-top: 0; } -li { white-space: nowrap; cursor: normal; } -li small { display: block; font-size: 0.8em; } -li small:before { content: ""; } -li small:after { content: ""; } -li small.search_info { display: none; } -#search { width: 170px; position: static; margin: 3px; margin-left: 10px; font-size: 0.9em; color: #888; padding-left: 0; padding-right: 24px; } -#content.insearch #search { background-position: center right; } -#search input { width: 110px; } - -#full_list.insearch ul { display: block; } -#full_list.insearch .item { display: none; } -#full_list.insearch .found { display: block; padding-left: 11px !important; } -#full_list.insearch li a.toggle { display: none; } -#full_list.insearch li small.search_info { display: block; } diff --git a/docs/css/style.css b/docs/css/style.css deleted file mode 100644 index f682a691..00000000 --- a/docs/css/style.css +++ /dev/null @@ -1,492 +0,0 @@ -html { - width: 100%; - height: 100%; -} -body { - font-family: "Lucida Sans", "Lucida Grande", Verdana, Arial, sans-serif; - font-size: 13px; - width: 100%; - margin: 0; - padding: 0; - display: flex; - display: -webkit-flex; - display: -ms-flexbox; -} - -#nav { - position: relative; - width: 100%; - height: 100%; - border: 0; - border-right: 1px dotted #eee; - overflow: auto; -} -.nav_wrap { - margin: 0; - padding: 0; - width: 20%; - height: 100%; - position: relative; - display: flex; - display: -webkit-flex; - display: -ms-flexbox; - flex-shrink: 0; - -webkit-flex-shrink: 0; - -ms-flex: 1 0; -} -#resizer { - position: absolute; - right: -5px; - top: 0; - width: 10px; - height: 100%; - cursor: col-resize; - z-index: 9999; -} -#main { - flex: 5 1; - -webkit-flex: 5 1; - -ms-flex: 5 1; - outline: none; - position: relative; - background: #fff; - padding: 1.2em; - padding-top: 0.2em; -} - -@media (max-width: 920px) { - .nav_wrap { width: 100%; top: 0; right: 0; overflow: visible; position: absolute; } - #resizer { display: none; } - #nav { - z-index: 9999; - background: #fff; - display: none; - position: absolute; - top: 40px; - right: 12px; - width: 500px; - max-width: 80%; - height: 80%; - overflow-y: scroll; - border: 1px solid #999; - border-collapse: collapse; - box-shadow: -7px 5px 25px #aaa; - border-radius: 2px; - } -} - -@media (min-width: 920px) { - body { height: 100%; overflow: hidden; } - #main { height: 100%; overflow: auto; } - #search { display: none; } -} - -#main img { max-width: 100%; } -h1 { font-size: 25px; margin: 1em 0 0.5em; padding-top: 4px; border-top: 1px dotted #d5d5d5; } -h1.noborder { border-top: 0px; margin-top: 0; padding-top: 4px; } -h1.title { margin-bottom: 10px; } -h1.alphaindex { margin-top: 0; font-size: 22px; } -h2 { - padding: 0; - padding-bottom: 3px; - border-bottom: 1px #aaa solid; - font-size: 1.4em; - margin: 1.8em 0 0.5em; - position: relative; -} -h2 small { font-weight: normal; font-size: 0.7em; display: inline; position: absolute; right: 0; } -h2 small a { - display: block; - height: 20px; - border: 1px solid #aaa; - border-bottom: 0; - border-top-left-radius: 5px; - background: #f8f8f8; - position: relative; - padding: 2px 7px; -} -.clear { clear: both; } -.inline { display: inline; } -.inline p:first-child { display: inline; } -.docstring, .tags, #filecontents { font-size: 15px; line-height: 1.5145em; } -.docstring p > code, .docstring p > tt, .tags p > code, .tags p > tt { - color: #c7254e; background: #f9f2f4; padding: 2px 4px; font-size: 1em; - border-radius: 4px; -} -.docstring h1, .docstring h2, .docstring h3, .docstring h4 { padding: 0; border: 0; border-bottom: 1px dotted #bbb; } -.docstring h1 { font-size: 1.2em; } -.docstring h2 { font-size: 1.1em; } -.docstring h3, .docstring h4 { font-size: 1em; border-bottom: 0; padding-top: 10px; } -.summary_desc .object_link a, .docstring .object_link a { - font-family: monospace; font-size: 1.05em; - color: #05a; background: #EDF4FA; padding: 2px 4px; font-size: 1em; - border-radius: 4px; -} -.rdoc-term { padding-right: 25px; font-weight: bold; } -.rdoc-list p { margin: 0; padding: 0; margin-bottom: 4px; } -.summary_desc pre.code .object_link a, .docstring pre.code .object_link a { - padding: 0px; background: inherit; color: inherit; border-radius: inherit; -} - -/* style for */ -#filecontents table, .docstring table { border-collapse: collapse; } -#filecontents table th, #filecontents table td, -.docstring table th, .docstring table td { border: 1px solid #ccc; padding: 8px; padding-right: 17px; } -#filecontents table tr:nth-child(odd), -.docstring table tr:nth-child(odd) { background: #eee; } -#filecontents table tr:nth-child(even), -.docstring table tr:nth-child(even) { background: #fff; } -#filecontents table th, .docstring table th { background: #fff; } - -/* style for
a",d=q.getElementsByTagName("*"),e=q.getElementsByTagName("a")[0];if(!d||!d.length||!e)return{};g=c.createElement("select"),h=g.appendChild(c.createElement("option")),i=q.getElementsByTagName("input")[0],b={leadingWhitespace:q.firstChild.nodeType===3,tbody:!q.getElementsByTagName("tbody").length,htmlSerialize:!!q.getElementsByTagName("link").length,style:/top/.test(e.getAttribute("style")),hrefNormalized:e.getAttribute("href")==="/a",opacity:/^0.55/.test(e.style.opacity),cssFloat:!!e.style.cssFloat,checkOn:i.value==="on",optSelected:h.selected,getSetAttribute:q.className!=="t",enctype:!!c.createElement("form").enctype,html5Clone:c.createElement("nav").cloneNode(!0).outerHTML!=="<:nav>",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0},i.checked=!0,b.noCloneChecked=i.cloneNode(!0).checked,g.disabled=!0,b.optDisabled=!h.disabled;try{delete q.test}catch(s){b.deleteExpando=!1}!q.addEventListener&&q.attachEvent&&q.fireEvent&&(q.attachEvent("onclick",function(){b.noCloneEvent=!1}),q.cloneNode(!0).fireEvent("onclick")),i=c.createElement("input"),i.value="t",i.setAttribute("type","radio"),b.radioValue=i.value==="t",i.setAttribute("checked","checked"),q.appendChild(i),k=c.createDocumentFragment(),k.appendChild(q.lastChild),b.checkClone=k.cloneNode(!0).cloneNode(!0).lastChild.checked,b.appendChecked=i.checked,k.removeChild(i),k.appendChild(q),q.innerHTML="",a.getComputedStyle&&(j=c.createElement("div"),j.style.width="0",j.style.marginRight="0",q.style.width="2px",q.appendChild(j),b.reliableMarginRight=(parseInt((a.getComputedStyle(j,null)||{marginRight:0}).marginRight,10)||0)===0);if(q.attachEvent)for(o in{submit:1,change:1,focusin:1})n="on"+o,p=n in q,p||(q.setAttribute(n,"return;"),p=typeof q[n]=="function"),b[o+"Bubbles"]=p;k.removeChild(q),k=g=h=j=q=i=null,f(function(){var a,d,e,g,h,i,j,k,m,n,o,r=c.getElementsByTagName("body")[0];!r||(j=1,k="position:absolute;top:0;left:0;width:1px;height:1px;margin:0;",m="visibility:hidden;border:0;",n="style='"+k+"border:5px solid #000;padding:0;'",o="
"+""+"
",a=c.createElement("div"),a.style.cssText=m+"width:0;height:0;position:static;top:0;margin-top:"+j+"px",r.insertBefore(a,r.firstChild),q=c.createElement("div"),a.appendChild(q),q.innerHTML="
t
",l=q.getElementsByTagName("td"),p=l[0].offsetHeight===0,l[0].style.display="",l[1].style.display="none",b.reliableHiddenOffsets=p&&l[0].offsetHeight===0,q.innerHTML="",q.style.width=q.style.paddingLeft="1px",f.boxModel=b.boxModel=q.offsetWidth===2,typeof q.style.zoom!="undefined"&&(q.style.display="inline",q.style.zoom=1,b.inlineBlockNeedsLayout=q.offsetWidth===2,q.style.display="",q.innerHTML="
",b.shrinkWrapBlocks=q.offsetWidth!==2),q.style.cssText=k+m,q.innerHTML=o,d=q.firstChild,e=d.firstChild,h=d.nextSibling.firstChild.firstChild,i={doesNotAddBorder:e.offsetTop!==5,doesAddBorderForTableAndCells:h.offsetTop===5},e.style.position="fixed",e.style.top="20px",i.fixedPosition=e.offsetTop===20||e.offsetTop===15,e.style.position=e.style.top="",d.style.overflow="hidden",d.style.position="relative",i.subtractsBorderForOverflowNotVisible=e.offsetTop===-5,i.doesNotIncludeMarginInBodyOffset=r.offsetTop!==j,r.removeChild(a),q=a=null,f.extend(b,i))});return b}();var j=/^(?:\{.*\}|\[.*\])$/,k=/([A-Z])/g;f.extend({cache:{},uuid:0,expando:"jQuery"+(f.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){a=a.nodeType?f.cache[a[f.expando]]:a[f.expando];return!!a&&!m(a)},data:function(a,c,d,e){if(!!f.acceptData(a)){var g,h,i,j=f.expando,k=typeof c=="string",l=a.nodeType,m=l?f.cache:a,n=l?a[j]:a[j]&&j,o=c==="events";if((!n||!m[n]||!o&&!e&&!m[n].data)&&k&&d===b)return;n||(l?a[j]=n=++f.uuid:n=j),m[n]||(m[n]={},l||(m[n].toJSON=f.noop));if(typeof c=="object"||typeof c=="function")e?m[n]=f.extend(m[n],c):m[n].data=f.extend(m[n].data,c);g=h=m[n],e||(h.data||(h.data={}),h=h.data),d!==b&&(h[f.camelCase(c)]=d);if(o&&!h[c])return g.events;k?(i=h[c],i==null&&(i=h[f.camelCase(c)])):i=h;return i}},removeData:function(a,b,c){if(!!f.acceptData(a)){var d,e,g,h=f.expando,i=a.nodeType,j=i?f.cache:a,k=i?a[h]:h;if(!j[k])return;if(b){d=c?j[k]:j[k].data;if(d){f.isArray(b)||(b in d?b=[b]:(b=f.camelCase(b),b in d?b=[b]:b=b.split(" ")));for(e=0,g=b.length;e-1)return!0;return!1},val:function(a){var c,d,e,g=this[0];{if(!!arguments.length){e=f.isFunction(a);return this.each(function(d){var g=f(this),h;if(this.nodeType===1){e?h=a.call(this,d,g.val()):h=a,h==null?h="":typeof h=="number"?h+="":f.isArray(h)&&(h=f.map(h,function(a){return a==null?"":a+""})),c=f.valHooks[this.nodeName.toLowerCase()]||f.valHooks[this.type];if(!c||!("set"in c)||c.set(this,h,"value")===b)this.value=h}})}if(g){c=f.valHooks[g.nodeName.toLowerCase()]||f.valHooks[g.type];if(c&&"get"in c&&(d=c.get(g,"value"))!==b)return d;d=g.value;return typeof d=="string"?d.replace(q,""):d==null?"":d}}}}),f.extend({valHooks:{option:{get:function(a){var b=a.attributes.value;return!b||b.specified?a.value:a.text}},select:{get:function(a){var b,c,d,e,g=a.selectedIndex,h=[],i=a.options,j=a.type==="select-one";if(g<0)return null;c=j?g:0,d=j?g+1:i.length;for(;c=0}),c.length||(a.selectedIndex=-1);return c}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(a,c,d,e){var g,h,i,j=a.nodeType;if(!!a&&j!==3&&j!==8&&j!==2){if(e&&c in f.attrFn)return f(a)[c](d);if(typeof a.getAttribute=="undefined")return f.prop(a,c,d);i=j!==1||!f.isXMLDoc(a),i&&(c=c.toLowerCase(),h=f.attrHooks[c]||(u.test(c)?x:w));if(d!==b){if(d===null){f.removeAttr(a,c);return}if(h&&"set"in h&&i&&(g=h.set(a,d,c))!==b)return g;a.setAttribute(c,""+d);return d}if(h&&"get"in h&&i&&(g=h.get(a,c))!==null)return g;g=a.getAttribute(c);return g===null?b:g}},removeAttr:function(a,b){var c,d,e,g,h=0;if(b&&a.nodeType===1){d=b.toLowerCase().split(p),g=d.length;for(;h=0}})});var z=/^(?:textarea|input|select)$/i,A=/^([^\.]*)?(?:\.(.+))?$/,B=/\bhover(\.\S+)?\b/,C=/^key/,D=/^(?:mouse|contextmenu)|click/,E=/^(?:focusinfocus|focusoutblur)$/,F=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,G=function(a){var b=F.exec(a);b&&(b[1]=(b[1]||"").toLowerCase(),b[3]=b[3]&&new RegExp("(?:^|\\s)"+b[3]+"(?:\\s|$)"));return b},H=function(a,b){var c=a.attributes||{};return(!b[1]||a.nodeName.toLowerCase()===b[1])&&(!b[2]||(c.id||{}).value===b[2])&&(!b[3]||b[3].test((c["class"]||{}).value))},I=function(a){return f.event.special.hover?a:a.replace(B,"mouseenter$1 mouseleave$1")}; -f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3||a.nodeType===8||!c||!d||!(h=f._data(a)))){d.handler&&(p=d,d=p.handler),d.guid||(d.guid=f.guid++),j=h.events,j||(h.events=j={}),i=h.handle,i||(h.handle=i=function(a){return typeof f!="undefined"&&(!a||f.event.triggered!==a.type)?f.event.dispatch.apply(i.elem,arguments):b},i.elem=a),c=f.trim(I(c)).split(" ");for(k=0;k=0&&(h=h.slice(0,-1),k=!0),h.indexOf(".")>=0&&(i=h.split("."),h=i.shift(),i.sort());if((!e||f.event.customEvent[h])&&!f.event.global[h])return;c=typeof c=="object"?c[f.expando]?c:new f.Event(h,c):new f.Event(h),c.type=h,c.isTrigger=!0,c.exclusive=k,c.namespace=i.join("."),c.namespace_re=c.namespace?new RegExp("(^|\\.)"+i.join("\\.(?:.*\\.)?")+"(\\.|$)"):null,o=h.indexOf(":")<0?"on"+h:"";if(!e){j=f.cache;for(l in j)j[l].events&&j[l].events[h]&&f.event.trigger(c,d,j[l].handle.elem,!0);return}c.result=b,c.target||(c.target=e),d=d!=null?f.makeArray(d):[],d.unshift(c),p=f.event.special[h]||{};if(p.trigger&&p.trigger.apply(e,d)===!1)return;r=[[e,p.bindType||h]];if(!g&&!p.noBubble&&!f.isWindow(e)){s=p.delegateType||h,m=E.test(s+h)?e:e.parentNode,n=null;for(;m;m=m.parentNode)r.push([m,s]),n=m;n&&n===e.ownerDocument&&r.push([n.defaultView||n.parentWindow||a,s])}for(l=0;le&&i.push({elem:this,matches:d.slice(e)});for(j=0;j0?this.on(b,null,a,c):this.trigger(b)},f.attrFn&&(f.attrFn[b]=!0),C.test(b)&&(f.event.fixHooks[b]=f.event.keyHooks),D.test(b)&&(f.event.fixHooks[b]=f.event.mouseHooks)}),function(){function x(a,b,c,e,f,g){for(var h=0,i=e.length;h0){k=j;break}}j=j[a]}e[h]=k}}}function w(a,b,c,e,f,g){for(var h=0,i=e.length;h+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,d="sizcache"+(Math.random()+"").replace(".",""),e=0,g=Object.prototype.toString,h=!1,i=!0,j=/\\/g,k=/\r\n/g,l=/\W/;[0,0].sort(function(){i=!1;return 0});var m=function(b,d,e,f){e=e||[],d=d||c;var h=d;if(d.nodeType!==1&&d.nodeType!==9)return[];if(!b||typeof b!="string")return e;var i,j,k,l,n,q,r,t,u=!0,v=m.isXML(d),w=[],x=b;do{a.exec(""),i=a.exec(x);if(i){x=i[3],w.push(i[1]);if(i[2]){l=i[3];break}}}while(i);if(w.length>1&&p.exec(b))if(w.length===2&&o.relative[w[0]])j=y(w[0]+w[1],d,f);else{j=o.relative[w[0]]?[d]:m(w.shift(),d);while(w.length)b=w.shift(),o.relative[b]&&(b+=w.shift()),j=y(b,j,f)}else{!f&&w.length>1&&d.nodeType===9&&!v&&o.match.ID.test(w[0])&&!o.match.ID.test(w[w.length-1])&&(n=m.find(w.shift(),d,v),d=n.expr?m.filter(n.expr,n.set)[0]:n.set[0]);if(d){n=f?{expr:w.pop(),set:s(f)}:m.find(w.pop(),w.length===1&&(w[0]==="~"||w[0]==="+")&&d.parentNode?d.parentNode:d,v),j=n.expr?m.filter(n.expr,n.set):n.set,w.length>0?k=s(j):u=!1;while(w.length)q=w.pop(),r=q,o.relative[q]?r=w.pop():q="",r==null&&(r=d),o.relative[q](k,r,v)}else k=w=[]}k||(k=j),k||m.error(q||b);if(g.call(k)==="[object Array]")if(!u)e.push.apply(e,k);else if(d&&d.nodeType===1)for(t=0;k[t]!=null;t++)k[t]&&(k[t]===!0||k[t].nodeType===1&&m.contains(d,k[t]))&&e.push(j[t]);else for(t=0;k[t]!=null;t++)k[t]&&k[t].nodeType===1&&e.push(j[t]);else s(k,e);l&&(m(l,h,e,f),m.uniqueSort(e));return e};m.uniqueSort=function(a){if(u){h=i,a.sort(u);if(h)for(var b=1;b0},m.find=function(a,b,c){var d,e,f,g,h,i;if(!a)return[];for(e=0,f=o.order.length;e":function(a,b){var c,d=typeof b=="string",e=0,f=a.length;if(d&&!l.test(b)){b=b.toLowerCase();for(;e=0)?c||d.push(h):c&&(b[g]=!1));return!1},ID:function(a){return a[1].replace(j,"")},TAG:function(a,b){return a[1].replace(j,"").toLowerCase()},CHILD:function(a){if(a[1]==="nth"){a[2]||m.error(a[0]),a[2]=a[2].replace(/^\+|\s*/g,"");var b=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0,a[3]=b[3]-0}else a[2]&&m.error(a[0]);a[0]=e++;return a},ATTR:function(a,b,c,d,e,f){var g=a[1]=a[1].replace(j,"");!f&&o.attrMap[g]&&(a[1]=o.attrMap[g]),a[4]=(a[4]||a[5]||"").replace(j,""),a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(b,c,d,e,f){if(b[1]==="not")if((a.exec(b[3])||"").length>1||/^\w/.test(b[3]))b[3]=m(b[3],null,null,c);else{var g=m.filter(b[3],c,d,!0^f);d||e.push.apply(e,g);return!1}else if(o.match.POS.test(b[0])||o.match.CHILD.test(b[0]))return!0;return b},POS:function(a){a.unshift(!0);return a}},filters:{enabled:function(a){return a.disabled===!1&&a.type!=="hidden"},disabled:function(a){return a.disabled===!0},checked:function(a){return a.checked===!0},selected:function(a){a.parentNode&&a.parentNode.selectedIndex;return a.selected===!0},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},has:function(a,b,c){return!!m(c[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){var b=a.getAttribute("type"),c=a.type;return a.nodeName.toLowerCase()==="input"&&"text"===c&&(b===c||b===null)},radio:function(a){return a.nodeName.toLowerCase()==="input"&&"radio"===a.type},checkbox:function(a){return a.nodeName.toLowerCase()==="input"&&"checkbox"===a.type},file:function(a){return a.nodeName.toLowerCase()==="input"&&"file"===a.type},password:function(a){return a.nodeName.toLowerCase()==="input"&&"password"===a.type},submit:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"submit"===a.type},image:function(a){return a.nodeName.toLowerCase()==="input"&&"image"===a.type},reset:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"reset"===a.type},button:function(a){var b=a.nodeName.toLowerCase();return b==="input"&&"button"===a.type||b==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)},focus:function(a){return a===a.ownerDocument.activeElement}},setFilters:{first:function(a,b){return b===0},last:function(a,b,c,d){return b===d.length-1},even:function(a,b){return b%2===0},odd:function(a,b){return b%2===1},lt:function(a,b,c){return bc[3]-0},nth:function(a,b,c){return c[3]-0===b},eq:function(a,b,c){return c[3]-0===b}},filter:{PSEUDO:function(a,b,c,d){var e=b[1],f=o.filters[e];if(f)return f(a,c,b,d);if(e==="contains")return(a.textContent||a.innerText||n([a])||"").indexOf(b[3])>=0;if(e==="not"){var g=b[3];for(var h=0,i=g.length;h=0}},ID:function(a,b){return a.nodeType===1&&a.getAttribute("id")===b},TAG:function(a,b){return b==="*"&&a.nodeType===1||!!a.nodeName&&a.nodeName.toLowerCase()===b},CLASS:function(a,b){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(b)>-1},ATTR:function(a,b){var c=b[1],d=m.attr?m.attr(a,c):o.attrHandle[c]?o.attrHandle[c](a):a[c]!=null?a[c]:a.getAttribute(c),e=d+"",f=b[2],g=b[4];return d==null?f==="!=":!f&&m.attr?d!=null:f==="="?e===g:f==="*="?e.indexOf(g)>=0:f==="~="?(" "+e+" ").indexOf(g)>=0:g?f==="!="?e!==g:f==="^="?e.indexOf(g)===0:f==="$="?e.substr(e.length-g.length)===g:f==="|="?e===g||e.substr(0,g.length+1)===g+"-":!1:e&&d!==!1},POS:function(a,b,c,d){var e=b[2],f=o.setFilters[e];if(f)return f(a,c,b,d)}}},p=o.match.POS,q=function(a,b){return"\\"+(b-0+1)};for(var r in o.match)o.match[r]=new RegExp(o.match[r].source+/(?![^\[]*\])(?![^\(]*\))/.source),o.leftMatch[r]=new RegExp(/(^(?:.|\r|\n)*?)/.source+o.match[r].source.replace(/\\(\d+)/g,q));var s=function(a,b){a=Array.prototype.slice.call(a,0);if(b){b.push.apply(b,a);return b}return a};try{Array.prototype.slice.call(c.documentElement.childNodes,0)[0].nodeType}catch(t){s=function(a,b){var c=0,d=b||[];if(g.call(a)==="[object Array]")Array.prototype.push.apply(d,a);else if(typeof a.length=="number")for(var e=a.length;c",e.insertBefore(a,e.firstChild),c.getElementById(d)&&(o.find.ID=function(a,c,d){if(typeof c.getElementById!="undefined"&&!d){var e=c.getElementById(a[1]);return e?e.id===a[1]||typeof e.getAttributeNode!="undefined"&&e.getAttributeNode("id").nodeValue===a[1]?[e]:b:[]}},o.filter.ID=function(a,b){var c=typeof a.getAttributeNode!="undefined"&&a.getAttributeNode("id");return a.nodeType===1&&c&&c.nodeValue===b}),e.removeChild(a),e=a=null}(),function(){var a=c.createElement("div");a.appendChild(c.createComment("")),a.getElementsByTagName("*").length>0&&(o.find.TAG=function(a,b){var c=b.getElementsByTagName(a[1]);if(a[1]==="*"){var d=[];for(var e=0;c[e];e++)c[e].nodeType===1&&d.push(c[e]);c=d}return c}),a.innerHTML="",a.firstChild&&typeof a.firstChild.getAttribute!="undefined"&&a.firstChild.getAttribute("href")!=="#"&&(o.attrHandle.href=function(a){return a.getAttribute("href",2)}),a=null}(),c.querySelectorAll&&function(){var a=m,b=c.createElement("div"),d="__sizzle__";b.innerHTML="

";if(!b.querySelectorAll||b.querySelectorAll(".TEST").length!==0){m=function(b,e,f,g){e=e||c;if(!g&&!m.isXML(e)){var h=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b);if(h&&(e.nodeType===1||e.nodeType===9)){if(h[1])return s(e.getElementsByTagName(b),f);if(h[2]&&o.find.CLASS&&e.getElementsByClassName)return s(e.getElementsByClassName(h[2]),f)}if(e.nodeType===9){if(b==="body"&&e.body)return s([e.body],f);if(h&&h[3]){var i=e.getElementById(h[3]);if(!i||!i.parentNode)return s([],f);if(i.id===h[3])return s([i],f)}try{return s(e.querySelectorAll(b),f)}catch(j){}}else if(e.nodeType===1&&e.nodeName.toLowerCase()!=="object"){var k=e,l=e.getAttribute("id"),n=l||d,p=e.parentNode,q=/^\s*[+~]/.test(b);l?n=n.replace(/'/g,"\\$&"):e.setAttribute("id",n),q&&p&&(e=e.parentNode);try{if(!q||p)return s(e.querySelectorAll("[id='"+n+"'] "+b),f)}catch(r){}finally{l||k.removeAttribute("id")}}}return a(b,e,f,g)};for(var e in a)m[e]=a[e];b=null}}(),function(){var a=c.documentElement,b=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector;if(b){var d=!b.call(c.createElement("div"),"div"),e=!1;try{b.call(c.documentElement,"[test!='']:sizzle")}catch(f){e=!0}m.matchesSelector=function(a,c){c=c.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!m.isXML(a))try{if(e||!o.match.PSEUDO.test(c)&&!/!=/.test(c)){var f=b.call(a,c);if(f||!d||a.document&&a.document.nodeType!==11)return f}}catch(g){}return m(c,null,null,[a]).length>0}}}(),function(){var a=c.createElement("div");a.innerHTML="
";if(!!a.getElementsByClassName&&a.getElementsByClassName("e").length!==0){a.lastChild.className="e";if(a.getElementsByClassName("e").length===1)return;o.order.splice(1,0,"CLASS"),o.find.CLASS=function(a,b,c){if(typeof b.getElementsByClassName!="undefined"&&!c)return b.getElementsByClassName(a[1])},a=null}}(),c.documentElement.contains?m.contains=function(a,b){return a!==b&&(a.contains?a.contains(b):!0)}:c.documentElement.compareDocumentPosition?m.contains=function(a,b){return!!(a.compareDocumentPosition(b)&16)}:m.contains=function(){return!1},m.isXML=function(a){var b=(a?a.ownerDocument||a:0).documentElement;return b?b.nodeName!=="HTML":!1};var y=function(a,b,c){var d,e=[],f="",g=b.nodeType?[b]:b;while(d=o.match.PSEUDO.exec(a))f+=d[0],a=a.replace(o.match.PSEUDO,"");a=o.relative[a]?a+"*":a;for(var h=0,i=g.length;h0)for(h=g;h=0:f.filter(a,this).length>0:this.filter(a).length>0)},closest:function(a,b){var c=[],d,e,g=this[0];if(f.isArray(a)){var h=1;while(g&&g.ownerDocument&&g!==b){for(d=0;d-1:f.find.matchesSelector(g,a)){c.push(g);break}g=g.parentNode;if(!g||!g.ownerDocument||g===b||g.nodeType===11)break}}c=c.length>1?f.unique(c):c;return this.pushStack(c,"closest",a)},index:function(a){if(!a)return this[0]&&this[0].parentNode?this.prevAll().length:-1;if(typeof a=="string")return f.inArray(this[0],f(a));return f.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var c=typeof a=="string"?f(a,b):f.makeArray(a&&a.nodeType?[a]:a),d=f.merge(this.get(),c);return this.pushStack(S(c[0])||S(d[0])?d:f.unique(d))},andSelf:function(){return this.add(this.prevObject)}}),f.each({parent:function(a){var b=a.parentNode;return b&&b.nodeType!==11?b:null},parents:function(a){return f.dir(a,"parentNode")},parentsUntil:function(a,b,c){return f.dir(a,"parentNode",c)},next:function(a){return f.nth(a,2,"nextSibling")},prev:function(a){return f.nth(a,2,"previousSibling")},nextAll:function(a){return f.dir(a,"nextSibling")},prevAll:function(a){return f.dir(a,"previousSibling")},nextUntil:function(a,b,c){return f.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return f.dir(a,"previousSibling",c)},siblings:function(a){return f.sibling(a.parentNode.firstChild,a)},children:function(a){return f.sibling(a.firstChild)},contents:function(a){return f.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:f.makeArray(a.childNodes)}},function(a,b){f.fn[a]=function(c,d){var e=f.map(this,b,c);L.test(a)||(d=c),d&&typeof d=="string"&&(e=f.filter(d,e)),e=this.length>1&&!R[a]?f.unique(e):e,(this.length>1||N.test(d))&&M.test(a)&&(e=e.reverse());return this.pushStack(e,a,P.call(arguments).join(","))}}),f.extend({filter:function(a,b,c){c&&(a=":not("+a+")");return b.length===1?f.find.matchesSelector(b[0],a)?[b[0]]:[]:f.find.matches(a,b)},dir:function(a,c,d){var e=[],g=a[c];while(g&&g.nodeType!==9&&(d===b||g.nodeType!==1||!f(g).is(d)))g.nodeType===1&&e.push(g),g=g[c];return e},nth:function(a,b,c,d){b=b||1;var e=0;for(;a;a=a[c])if(a.nodeType===1&&++e===b)break;return a},sibling:function(a,b){var c=[];for(;a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var V="abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",W=/ jQuery\d+="(?:\d+|null)"/g,X=/^\s+/,Y=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,Z=/<([\w:]+)/,$=/",""],legend:[1,"
","
"],thead:[1,"","
"],tr:[2,"","
"],td:[3,"","
"],col:[2,"","
"],area:[1,"",""],_default:[0,"",""]},bh=U(c);bg.optgroup=bg.option,bg.tbody=bg.tfoot=bg.colgroup=bg.caption=bg.thead,bg.th=bg.td,f.support.htmlSerialize||(bg._default=[1,"div
","
"]),f.fn.extend({text:function(a){if(f.isFunction(a))return this.each(function(b){var c=f(this);c.text(a.call(this,b,c.text()))});if(typeof a!="object"&&a!==b)return this.empty().append((this[0]&&this[0].ownerDocument||c).createTextNode(a));return f.text(this)},wrapAll:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapAll(a.call(this,b))});if(this[0]){var b=f(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&a.firstChild.nodeType===1)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapInner(a.call(this,b))});return this.each(function(){var b=f(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=f.isFunction(a);return this.each(function(c){f(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){f.nodeName(this,"body")||f(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});if(arguments.length){var a=f.clean(arguments);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,f.clean(arguments));return a}},remove:function(a,b){for(var c=0,d;(d=this[c])!=null;c++)if(!a||f.filter(a,[d]).length)!b&&d.nodeType===1&&(f.cleanData(d.getElementsByTagName("*")),f.cleanData([d])),d.parentNode&&d.parentNode.removeChild(d);return this},empty:function() -{for(var a=0,b;(b=this[a])!=null;a++){b.nodeType===1&&f.cleanData(b.getElementsByTagName("*"));while(b.firstChild)b.removeChild(b.firstChild)}return this},clone:function(a,b){a=a==null?!1:a,b=b==null?a:b;return this.map(function(){return f.clone(this,a,b)})},html:function(a){if(a===b)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(W,""):null;if(typeof a=="string"&&!ba.test(a)&&(f.support.leadingWhitespace||!X.test(a))&&!bg[(Z.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Y,"<$1>");try{for(var c=0,d=this.length;c1&&l0?this.clone(!0):this).get();f(e[h])[b](j),d=d.concat(j)}return this.pushStack(d,a,e.selector)}}),f.extend({clone:function(a,b,c){var d,e,g,h=f.support.html5Clone||!bc.test("<"+a.nodeName)?a.cloneNode(!0):bo(a);if((!f.support.noCloneEvent||!f.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!f.isXMLDoc(a)){bk(a,h),d=bl(a),e=bl(h);for(g=0;d[g];++g)e[g]&&bk(d[g],e[g])}if(b){bj(a,h);if(c){d=bl(a),e=bl(h);for(g=0;d[g];++g)bj(d[g],e[g])}}d=e=null;return h},clean:function(a,b,d,e){var g;b=b||c,typeof b.createElement=="undefined"&&(b=b.ownerDocument||b[0]&&b[0].ownerDocument||c);var h=[],i;for(var j=0,k;(k=a[j])!=null;j++){typeof k=="number"&&(k+="");if(!k)continue;if(typeof k=="string")if(!_.test(k))k=b.createTextNode(k);else{k=k.replace(Y,"<$1>");var l=(Z.exec(k)||["",""])[1].toLowerCase(),m=bg[l]||bg._default,n=m[0],o=b.createElement("div");b===c?bh.appendChild(o):U(b).appendChild(o),o.innerHTML=m[1]+k+m[2];while(n--)o=o.lastChild;if(!f.support.tbody){var p=$.test(k),q=l==="table"&&!p?o.firstChild&&o.firstChild.childNodes:m[1]===""&&!p?o.childNodes:[];for(i=q.length-1;i>=0;--i)f.nodeName(q[i],"tbody")&&!q[i].childNodes.length&&q[i].parentNode.removeChild(q[i])}!f.support.leadingWhitespace&&X.test(k)&&o.insertBefore(b.createTextNode(X.exec(k)[0]),o.firstChild),k=o.childNodes}var r;if(!f.support.appendChecked)if(k[0]&&typeof (r=k.length)=="number")for(i=0;i=0)return b+"px"}}}),f.support.opacity||(f.cssHooks.opacity={get:function(a,b){return br.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentStyle,e=f.isNumeric(b)?"alpha(opacity="+b*100+")":"",g=d&&d.filter||c.filter||"";c.zoom=1;if(b>=1&&f.trim(g.replace(bq,""))===""){c.removeAttribute("filter");if(d&&!d.filter)return}c.filter=bq.test(g)?g.replace(bq,e):g+" "+e}}),f(function(){f.support.reliableMarginRight||(f.cssHooks.marginRight={get:function(a,b){var c;f.swap(a,{display:"inline-block"},function(){b?c=bz(a,"margin-right","marginRight"):c=a.style.marginRight});return c}})}),c.defaultView&&c.defaultView.getComputedStyle&&(bA=function(a,b){var c,d,e;b=b.replace(bs,"-$1").toLowerCase(),(d=a.ownerDocument.defaultView)&&(e=d.getComputedStyle(a,null))&&(c=e.getPropertyValue(b),c===""&&!f.contains(a.ownerDocument.documentElement,a)&&(c=f.style(a,b)));return c}),c.documentElement.currentStyle&&(bB=function(a,b){var c,d,e,f=a.currentStyle&&a.currentStyle[b],g=a.style;f===null&&g&&(e=g[b])&&(f=e),!bt.test(f)&&bu.test(f)&&(c=g.left,d=a.runtimeStyle&&a.runtimeStyle.left,d&&(a.runtimeStyle.left=a.currentStyle.left),g.left=b==="fontSize"?"1em":f||0,f=g.pixelLeft+"px",g.left=c,d&&(a.runtimeStyle.left=d));return f===""?"auto":f}),bz=bA||bB,f.expr&&f.expr.filters&&(f.expr.filters.hidden=function(a){var b=a.offsetWidth,c=a.offsetHeight;return b===0&&c===0||!f.support.reliableHiddenOffsets&&(a.style&&a.style.display||f.css(a,"display"))==="none"},f.expr.filters.visible=function(a){return!f.expr.filters.hidden(a)});var bD=/%20/g,bE=/\[\]$/,bF=/\r?\n/g,bG=/#.*$/,bH=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,bI=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,bJ=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,bK=/^(?:GET|HEAD)$/,bL=/^\/\//,bM=/\?/,bN=/)<[^<]*)*<\/script>/gi,bO=/^(?:select|textarea)/i,bP=/\s+/,bQ=/([?&])_=[^&]*/,bR=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,bS=f.fn.load,bT={},bU={},bV,bW,bX=["*/"]+["*"];try{bV=e.href}catch(bY){bV=c.createElement("a"),bV.href="",bV=bV.href}bW=bR.exec(bV.toLowerCase())||[],f.fn.extend({load:function(a,c,d){if(typeof a!="string"&&bS)return bS.apply(this,arguments);if(!this.length)return this;var e=a.indexOf(" ");if(e>=0){var g=a.slice(e,a.length);a=a.slice(0,e)}var h="GET";c&&(f.isFunction(c)?(d=c,c=b):typeof c=="object"&&(c=f.param(c,f.ajaxSettings.traditional),h="POST"));var i=this;f.ajax({url:a,type:h,dataType:"html",data:c,complete:function(a,b,c){c=a.responseText,a.isResolved()&&(a.done(function(a){c=a}),i.html(g?f("
").append(c.replace(bN,"")).find(g):c)),d&&i.each(d,[c,b,a])}});return this},serialize:function(){return f.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?f.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||bO.test(this.nodeName)||bI.test(this.type))}).map(function(a,b){var c=f(this).val();return c==null?null:f.isArray(c)?f.map(c,function(a,c){return{name:b.name,value:a.replace(bF,"\r\n")}}):{name:b.name,value:c.replace(bF,"\r\n")}}).get()}}),f.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){f.fn[b]=function(a){return this.on(b,a)}}),f.each(["get","post"],function(a,c){f[c]=function(a,d,e,g){f.isFunction(d)&&(g=g||e,e=d,d=b);return f.ajax({type:c,url:a,data:d,success:e,dataType:g})}}),f.extend({getScript:function(a,c){return f.get(a,b,c,"script")},getJSON:function(a,b,c){return f.get(a,b,c,"json")},ajaxSetup:function(a,b){b?b_(a,f.ajaxSettings):(b=a,a=f.ajaxSettings),b_(a,b);return a},ajaxSettings:{url:bV,isLocal:bJ.test(bW[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":bX},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":a.String,"text html":!0,"text json":f.parseJSON,"text xml":f.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:bZ(bT),ajaxTransport:bZ(bU),ajax:function(a,c){function w(a,c,l,m){if(s!==2){s=2,q&&clearTimeout(q),p=b,n=m||"",v.readyState=a>0?4:0;var o,r,u,w=c,x=l?cb(d,v,l):b,y,z;if(a>=200&&a<300||a===304){if(d.ifModified){if(y=v.getResponseHeader("Last-Modified"))f.lastModified[k]=y;if(z=v.getResponseHeader("Etag"))f.etag[k]=z}if(a===304)w="notmodified",o=!0;else try{r=cc(d,x),w="success",o=!0}catch(A){w="parsererror",u=A}}else{u=w;if(!w||a)w="error",a<0&&(a=0)}v.status=a,v.statusText=""+(c||w),o?h.resolveWith(e,[r,w,v]):h.rejectWith(e,[v,w,u]),v.statusCode(j),j=b,t&&g.trigger("ajax"+(o?"Success":"Error"),[v,d,o?r:u]),i.fireWith(e,[v,w]),t&&(g.trigger("ajaxComplete",[v,d]),--f.active||f.event.trigger("ajaxStop"))}}typeof a=="object"&&(c=a,a=b),c=c||{};var d=f.ajaxSetup({},c),e=d.context||d,g=e!==d&&(e.nodeType||e instanceof f)?f(e):f.event,h=f.Deferred(),i=f.Callbacks("once memory"),j=d.statusCode||{},k,l={},m={},n,o,p,q,r,s=0,t,u,v={readyState:0,setRequestHeader:function(a,b){if(!s){var c=a.toLowerCase();a=m[c]=m[c]||a,l[a]=b}return this},getAllResponseHeaders:function(){return s===2?n:null},getResponseHeader:function(a){var c;if(s===2){if(!o){o={};while(c=bH.exec(n))o[c[1].toLowerCase()]=c[2]}c=o[a.toLowerCase()]}return c===b?null:c},overrideMimeType:function(a){s||(d.mimeType=a);return this},abort:function(a){a=a||"abort",p&&p.abort(a),w(0,a);return this}};h.promise(v),v.success=v.done,v.error=v.fail,v.complete=i.add,v.statusCode=function(a){if(a){var b;if(s<2)for(b in a)j[b]=[j[b],a[b]];else b=a[v.status],v.then(b,b)}return this},d.url=((a||d.url)+"").replace(bG,"").replace(bL,bW[1]+"//"),d.dataTypes=f.trim(d.dataType||"*").toLowerCase().split(bP),d.crossDomain==null&&(r=bR.exec(d.url.toLowerCase()),d.crossDomain=!(!r||r[1]==bW[1]&&r[2]==bW[2]&&(r[3]||(r[1]==="http:"?80:443))==(bW[3]||(bW[1]==="http:"?80:443)))),d.data&&d.processData&&typeof d.data!="string"&&(d.data=f.param(d.data,d.traditional)),b$(bT,d,c,v);if(s===2)return!1;t=d.global,d.type=d.type.toUpperCase(),d.hasContent=!bK.test(d.type),t&&f.active++===0&&f.event.trigger("ajaxStart");if(!d.hasContent){d.data&&(d.url+=(bM.test(d.url)?"&":"?")+d.data,delete d.data),k=d.url;if(d.cache===!1){var x=f.now(),y=d.url.replace(bQ,"$1_="+x);d.url=y+(y===d.url?(bM.test(d.url)?"&":"?")+"_="+x:"")}}(d.data&&d.hasContent&&d.contentType!==!1||c.contentType)&&v.setRequestHeader("Content-Type",d.contentType),d.ifModified&&(k=k||d.url,f.lastModified[k]&&v.setRequestHeader("If-Modified-Since",f.lastModified[k]),f.etag[k]&&v.setRequestHeader("If-None-Match",f.etag[k])),v.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+(d.dataTypes[0]!=="*"?", "+bX+"; q=0.01":""):d.accepts["*"]);for(u in d.headers)v.setRequestHeader(u,d.headers[u]);if(d.beforeSend&&(d.beforeSend.call(e,v,d)===!1||s===2)){v.abort();return!1}for(u in{success:1,error:1,complete:1})v[u](d[u]);p=b$(bU,d,c,v);if(!p)w(-1,"No Transport");else{v.readyState=1,t&&g.trigger("ajaxSend",[v,d]),d.async&&d.timeout>0&&(q=setTimeout(function(){v.abort("timeout")},d.timeout));try{s=1,p.send(l,w)}catch(z){if(s<2)w(-1,z);else throw z}}return v},param:function(a,c){var d=[],e=function(a,b){b=f.isFunction(b)?b():b,d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};c===b&&(c=f.ajaxSettings.traditional);if(f.isArray(a)||a.jquery&&!f.isPlainObject(a))f.each(a,function(){e(this.name,this.value)});else for(var g in a)ca(g,a[g],c,e);return d.join("&").replace(bD,"+")}}),f.extend({active:0,lastModified:{},etag:{}});var cd=f.now(),ce=/(\=)\?(&|$)|\?\?/i;f.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return f.expando+"_"+cd++}}),f.ajaxPrefilter("json jsonp",function(b,c,d){var e=b.contentType==="application/x-www-form-urlencoded"&&typeof b.data=="string";if(b.dataTypes[0]==="jsonp"||b.jsonp!==!1&&(ce.test(b.url)||e&&ce.test(b.data))){var g,h=b.jsonpCallback=f.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,i=a[h],j=b.url,k=b.data,l="$1"+h+"$2";b.jsonp!==!1&&(j=j.replace(ce,l),b.url===j&&(e&&(k=k.replace(ce,l)),b.data===k&&(j+=(/\?/.test(j)?"&":"?")+b.jsonp+"="+h))),b.url=j,b.data=k,a[h]=function(a){g=[a]},d.always(function(){a[h]=i,g&&f.isFunction(i)&&a[h](g[0])}),b.converters["script json"]=function(){g||f.error(h+" was not called");return g[0]},b.dataTypes[0]="json";return"script"}}),f.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){f.globalEval(a);return a}}}),f.ajaxPrefilter("script",function(a){a.cache===b&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),f.ajaxTransport("script",function(a){if(a.crossDomain){var d,e=c.head||c.getElementsByTagName("head")[0]||c.documentElement;return{send:function(f,g){d=c.createElement("script"),d.async="async",a.scriptCharset&&(d.charset=a.scriptCharset),d.src=a.url,d.onload=d.onreadystatechange=function(a,c){if(c||!d.readyState||/loaded|complete/.test(d.readyState))d.onload=d.onreadystatechange=null,e&&d.parentNode&&e.removeChild(d),d=b,c||g(200,"success")},e.insertBefore(d,e.firstChild)},abort:function(){d&&d.onload(0,1)}}}});var cf=a.ActiveXObject?function(){for(var a in ch)ch[a](0,1)}:!1,cg=0,ch;f.ajaxSettings.xhr=a.ActiveXObject?function(){return!this.isLocal&&ci()||cj()}:ci,function(a){f.extend(f.support,{ajax:!!a,cors:!!a&&"withCredentials"in a})}(f.ajaxSettings.xhr()),f.support.ajax&&f.ajaxTransport(function(c){if(!c.crossDomain||f.support.cors){var d;return{send:function(e,g){var h=c.xhr(),i,j;c.username?h.open(c.type,c.url,c.async,c.username,c.password):h.open(c.type,c.url,c.async);if(c.xhrFields)for(j in c.xhrFields)h[j]=c.xhrFields[j];c.mimeType&&h.overrideMimeType&&h.overrideMimeType(c.mimeType),!c.crossDomain&&!e["X-Requested-With"]&&(e["X-Requested-With"]="XMLHttpRequest");try{for(j in e)h.setRequestHeader(j,e[j])}catch(k){}h.send(c.hasContent&&c.data||null),d=function(a,e){var j,k,l,m,n;try{if(d&&(e||h.readyState===4)){d=b,i&&(h.onreadystatechange=f.noop,cf&&delete ch[i]);if(e)h.readyState!==4&&h.abort();else{j=h.status,l=h.getAllResponseHeaders(),m={},n=h.responseXML,n&&n.documentElement&&(m.xml=n),m.text=h.responseText;try{k=h.statusText}catch(o){k=""}!j&&c.isLocal&&!c.crossDomain?j=m.text?200:404:j===1223&&(j=204)}}}catch(p){e||g(-1,p)}m&&g(j,k,m,l)},!c.async||h.readyState===4?d():(i=++cg,cf&&(ch||(ch={},f(a).unload(cf)),ch[i]=d),h.onreadystatechange=d)},abort:function(){d&&d(0,1)}}}});var ck={},cl,cm,cn=/^(?:toggle|show|hide)$/,co=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,cp,cq=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],cr;f.fn.extend({show:function(a,b,c){var d,e;if(a||a===0)return this.animate(cu("show",3),a,b,c);for(var g=0,h=this.length;g=i.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),i.animatedProperties[this.prop]=!0;for(b in i.animatedProperties)i.animatedProperties[b]!==!0&&(g=!1);if(g){i.overflow!=null&&!f.support.shrinkWrapBlocks&&f.each(["","X","Y"],function(a,b){h.style["overflow"+b]=i.overflow[a]}),i.hide&&f(h).hide();if(i.hide||i.show)for(b in i.animatedProperties)f.style(h,b,i.orig[b]),f.removeData(h,"fxshow"+b,!0),f.removeData(h,"toggle"+b,!0);d=i.complete,d&&(i.complete=!1,d.call(h))}return!1}i.duration==Infinity?this.now=e:(c=e-this.startTime,this.state=c/i.duration,this.pos=f.easing[i.animatedProperties[this.prop]](this.state,c,0,1,i.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update();return!0}},f.extend(f.fx,{tick:function(){var a,b=f.timers,c=0;for(;c-1,k={},l={},m,n;j?(l=e.position(),m=l.top,n=l.left):(m=parseFloat(h)||0,n=parseFloat(i)||0),f.isFunction(b)&&(b=b.call(a,c,g)),b.top!=null&&(k.top=b.top-g.top+m),b.left!=null&&(k.left=b.left-g.left+n),"using"in b?b.using.call(a,k):e.css(k)}},f.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),c=this.offset(),d=cx.test(b[0].nodeName)?{top:0,left:0}:b.offset();c.top-=parseFloat(f.css(a,"marginTop"))||0,c.left-=parseFloat(f.css(a,"marginLeft"))||0,d.top+=parseFloat(f.css(b[0],"borderTopWidth"))||0,d.left+=parseFloat(f.css(b[0],"borderLeftWidth"))||0;return{top:c.top-d.top,left:c.left-d.left}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||c.body;while(a&&!cx.test(a.nodeName)&&f.css(a,"position")==="static")a=a.offsetParent;return a})}}),f.each(["Left","Top"],function(a,c){var d="scroll"+c;f.fn[d]=function(c){var e,g;if(c===b){e=this[0];if(!e)return null;g=cy(e);return g?"pageXOffset"in g?g[a?"pageYOffset":"pageXOffset"]:f.support.boxModel&&g.document.documentElement[d]||g.document.body[d]:e[d]}return this.each(function(){g=cy(this),g?g.scrollTo(a?f(g).scrollLeft():c,a?c:f(g).scrollTop()):this[d]=c})}}),f.each(["Height","Width"],function(a,c){var d=c.toLowerCase();f.fn["inner"+c]=function(){var a=this[0];return a?a.style?parseFloat(f.css(a,d,"padding")):this[d]():null},f.fn["outer"+c]=function(a){var b=this[0];return b?b.style?parseFloat(f.css(b,d,a?"margin":"border")):this[d]():null},f.fn[d]=function(a){var e=this[0];if(!e)return a==null?null:this;if(f.isFunction(a))return this.each(function(b){var c=f(this);c[d](a.call(this,b,c[d]()))});if(f.isWindow(e)){var g=e.document.documentElement["client"+c],h=e.document.body;return e.document.compatMode==="CSS1Compat"&&g||h&&h["client"+c]||g}if(e.nodeType===9)return Math.max(e.documentElement["client"+c],e.body["scroll"+c],e.documentElement["scroll"+c],e.body["offset"+c],e.documentElement["offset"+c]);if(a===b){var i=f.css(e,d),j=parseFloat(i);return f.isNumeric(j)?j:i}return this.css(d,typeof a=="string"?a:a+"px")}}),a.jQuery=a.$=f,typeof define=="function"&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return f})})(window); \ No newline at end of file diff --git a/docs/puppet_class_list.html b/docs/puppet_class_list.html deleted file mode 100644 index 7b465fab..00000000 --- a/docs/puppet_class_list.html +++ /dev/null @@ -1,209 +0,0 @@ - - - - - - - - - - - - - - - - - - Puppet Class List - - - -
-
-

Puppet Class List

- - - -
- - -
- - diff --git a/docs/puppet_classes/php.html b/docs/puppet_classes/php.html deleted file mode 100644 index 89fe3ec2..00000000 --- a/docs/puppet_classes/php.html +++ /dev/null @@ -1,906 +0,0 @@ - - - - - - - Puppet Class: php - - — Documentation by YARD 0.9.9 - - - - - - - - - - - - - - - - - - - -
- - -

Puppet Class: php

-
- -
-
Inherits:
-
::php::params
-
- - -
-
Defined in:
-
- manifests/init.pp -
-
-
- -

Overview

-
-
-

Base class with global configuration parameters that pulls in all -enabled components.

- -

=== Parameters

- -

[ensure] - Specify which version of PHP packages to install, defaults to 'present'. - Please note that 'absent' to remove packages is not supported!

- -

[manage_repos] - Include repository (dotdeb, ppa, etc.) to install recent PHP from

- -

[fpm] - Install and configure php-fpm

- -

[fpm_service_enable] - Enable/disable FPM service

- -

[fpm_service_ensure] - Ensure FPM service is either 'running' or 'stopped'

- -

[fpm_service_name] - This is the name of the php-fpm service. It defaults to reasonable OS - defaults but can be different in case of using php7.0/other OS/custom fpm service

- -

[fpm_service_provider] - This is the name of the service provider, in case there is a non - OS default service provider used to start FPM. - Defaults to 'undef', pick system defaults.

- -

[fpm_pools] - Hash of php::fpm::pool resources that will be created. Defaults - to a single php::fpm::pool named www with default parameters.

- -

[fpm_global_pool_settings] - Hash of defaults params php::fpm::pool resources that will be created. - Defaults to empty hash.

- -

[fpm_inifile] - Path to php.ini for fpm

- -

[fpm_package] - Name of fpm package to install

- -

[fpm_user] - The user that php-fpm should run as

- -

[fpm_group] - The group that php-fpm should run as

- -

[dev] - Install php header files, needed to install pecl modules

- -

[composer] - Install and auto-update composer

- -

[pear] - Install PEAR

- -

[phpunit] - Install phpunit

- -

[apache_config] - Manage apache's mod_php configuration

- -

[proxy_type] - proxy server type (none|http|https|ftp)

- -

[proxy_server] - specify a proxy server, with port number if needed. ie: https://example.com:8080.

- -

[extensions] - Install PHP extensions, this is overwritten by hiera hash php::extensions

- -

[package_prefix] - This is the prefix for constructing names of php packages. This defaults - to a sensible default depending on your operating system, like 'php-' or - 'php5-'.

- -

[config_root_ini] - This is the path to the config .ini files of the extensions. This defaults - to a sensible default depending on your operating system, like - '/etc/php5/mods-available' or '/etc/php5/conf.d'.

- -

[config_root_inifile] - The path to the global php.ini file. This defaults to a sensible default - depending on your operating system.

- -

[ext_tool_enable] - Absolute path to php tool for enabling extensions in debian/ubuntu systems. - This defaults to '/usr/sbin/php5enmod'.

- -

[ext_tool_query] - Absolute path to php tool for querying information about extensions in - debian/ubuntu systems. This defaults to '/usr/sbin/php5query'.

- -

[ext_tool_enabled] - Enable or disable the use of php tools on debian based systems - debian/ubuntu systems. This defaults to 'true'.

- -

[log_owner] - The php-fpm log owner

- -

[log_group] - The group owning php-fpm logs

- -

[embedded] - Enable embedded SAPI

- -

[pear_ensure] - The package ensure of PHP pear to install and run pear auto_discover

- -

[settings]

- -
-
-
-

Parameters:

-
    - -
  • - - ensure - - - (String) - - - (defaults to: $::php::params::ensure) - - -
  • - -
  • - - manage_repos - - - (Boolean) - - - (defaults to: $::php::params::manage_repos) - - -
  • - -
  • - - fpm - - - (Boolean) - - - (defaults to: true) - - -
  • - -
  • - - fpm_service_enable - - - (Any) - - - (defaults to: $::php::params::fpm_service_enable) - - -
  • - -
  • - - fpm_service_ensure - - - (Any) - - - (defaults to: $::php::params::fpm_service_ensure) - - -
  • - -
  • - - fpm_service_name - - - (Any) - - - (defaults to: $::php::params::fpm_service_name) - - -
  • - -
  • - - fpm_service_provider - - - (Any) - - - (defaults to: undef) - - -
  • - -
  • - - fpm_pools - - - (Hash) - - - (defaults to: { 'www' => {} }) - - -
  • - -
  • - - fpm_global_pool_settings - - - (Hash) - - - (defaults to: {}) - - -
  • - -
  • - - fpm_inifile - - - (Any) - - - (defaults to: $::php::params::fpm_inifile) - - -
  • - -
  • - - fpm_package - - - (Any) - - - (defaults to: undef) - - -
  • - -
  • - - fpm_user - - - (Any) - - - (defaults to: $::php::params::fpm_user) - - -
  • - -
  • - - fpm_group - - - (Any) - - - (defaults to: $::php::params::fpm_group) - - -
  • - -
  • - - embedded - - - (Boolean) - - - (defaults to: false) - - -
  • - -
  • - - dev - - - (Boolean) - - - (defaults to: true) - - -
  • - -
  • - - composer - - - (Boolean) - - - (defaults to: true) - - -
  • - -
  • - - pear - - - (Boolean) - - - (defaults to: true) - - -
  • - -
  • - - pear_ensure - - - (String) - - - (defaults to: $::php::params::pear_ensure) - - -
  • - -
  • - - phpunit - - - (Boolean) - - - (defaults to: false) - - -
  • - -
  • - - apache_config - - - (Boolean) - - - (defaults to: false) - - -
  • - -
  • - - proxy_type - - - (Any) - - - (defaults to: undef) - - -
  • - -
  • - - proxy_server - - - (Any) - - - (defaults to: undef) - - -
  • - -
  • - - extensions - - - (Hash) - - - (defaults to: {}) - - -
  • - -
  • - - settings - - - (Hash) - - - (defaults to: {}) - - -
  • - -
  • - - package_prefix - - - (Any) - - - (defaults to: $::php::params::package_prefix) - - -
  • - -
  • - - config_root_ini - - - (Stdlib::Absolutepath) - - - (defaults to: $::php::params::config_root_ini) - - -
  • - -
  • - - config_root_inifile - - - (Stdlib::Absolutepath) - - - (defaults to: $::php::params::config_root_inifile) - - -
  • - -
  • - - ext_tool_enable - - - (Optional[Stdlib::Absolutepath]) - - - (defaults to: $::php::params::ext_tool_enable) - - -
  • - -
  • - - ext_tool_query - - - (Optional[Stdlib::Absolutepath]) - - - (defaults to: $::php::params::ext_tool_query) - - -
  • - -
  • - - ext_tool_enabled - - - (Boolean) - - - (defaults to: $::php::params::ext_tool_enabled) - - -
  • - -
  • - - log_owner - - - (String) - - - (defaults to: $::php::params::fpm_user) - - -
  • - -
  • - - log_group - - - (String) - - - (defaults to: $::php::params::fpm_group) - - -
  • - -
- - -
-
- - - - -
-
-
-
-115
-116
-117
-118
-119
-120
-121
-122
-123
-124
-125
-126
-127
-128
-129
-130
-131
-132
-133
-134
-135
-136
-137
-138
-139
-140
-141
-142
-143
-144
-145
-146
-147
-148
-149
-150
-151
-152
-153
-154
-155
-156
-157
-158
-159
-160
-161
-162
-163
-164
-165
-166
-167
-168
-169
-170
-171
-172
-173
-174
-175
-176
-177
-178
-179
-180
-181
-182
-183
-184
-185
-186
-187
-188
-189
-190
-191
-192
-193
-194
-195
-196
-197
-198
-199
-200
-201
-202
-203
-204
-205
-206
-207
-208
-209
-210
-211
-212
-213
-214
-215
-216
-217
-218
-219
-220
-221
-222
-223
-224
-225
-226
-227
-228
-229
-230
-231
-232
-233
-234
-235
-236
-237
-238
-239
-240
-241
-242
-243
-244
-245
-
-
# File 'manifests/init.pp', line 115
-
-class php (
-  String $ensure                                  = $::php::params::ensure,
-  Boolean $manage_repos                           = $::php::params::manage_repos,
-  Boolean $fpm                                    = true,
-  $fpm_service_enable                             = $::php::params::fpm_service_enable,
-  $fpm_service_ensure                             = $::php::params::fpm_service_ensure,
-  $fpm_service_name                               = $::php::params::fpm_service_name,
-  $fpm_service_provider                           = undef,
-  Hash $fpm_pools                                 = { 'www' => {} },
-  Hash $fpm_global_pool_settings                  = {},
-  $fpm_inifile                                    = $::php::params::fpm_inifile,
-  $fpm_package                                    = undef,
-  $fpm_user                                       = $::php::params::fpm_user,
-  $fpm_group                                      = $::php::params::fpm_group,
-  Boolean $embedded                               = false,
-  Boolean $dev                                    = true,
-  Boolean $composer                               = true,
-  Boolean $pear                                   = true,
-  String $pear_ensure                             = $::php::params::pear_ensure,
-  Boolean $phpunit                                = false,
-  Boolean $apache_config                          = false,
-  $proxy_type                                     = undef,
-  $proxy_server                                   = undef,
-  Hash $extensions                                = {},
-  Hash $settings                                  = {},
-  $package_prefix                                 = $::php::params::package_prefix,
-  Stdlib::Absolutepath $config_root_ini           = $::php::params::config_root_ini,
-  Stdlib::Absolutepath $config_root_inifile       = $::php::params::config_root_inifile,
-  Optional[Stdlib::Absolutepath] $ext_tool_enable = $::php::params::ext_tool_enable,
-  Optional[Stdlib::Absolutepath] $ext_tool_query  = $::php::params::ext_tool_query,
-  Boolean $ext_tool_enabled                       = $::php::params::ext_tool_enabled,
-  String $log_owner                               = $::php::params::fpm_user,
-  String $log_group                               = $::php::params::fpm_group,
-) inherits ::php::params {
-
-  $real_fpm_package = pick($fpm_package, "${package_prefix}${::php::params::fpm_package_suffix}")
-
-  # Deep merge global php settings
-  $real_settings = deep_merge($settings, hiera_hash('php::settings', {}))
-
-  # Deep merge global php extensions
-  $real_extensions = deep_merge($extensions, hiera_hash('php::extensions', {}))
-
-  # Deep merge fpm_pools
-  $real_fpm_pools = deep_merge($fpm_pools, hiera_hash('php::fpm_pools', {}))
-
-  # Deep merge fpm_global_pool_settings
-  $real_fpm_global_pool_settings = deep_merge($fpm_global_pool_settings, hiera_hash('php::fpm_global_pool_settings', {}))
-
-  if $manage_repos {
-    class { '::php::repo': }
-    -> Anchor['php::begin']
-  }
-
-  anchor { 'php::begin': }
-    -> class { '::php::packages': }
-    -> class { '::php::cli':
-      settings => $real_settings,
-    }
-  -> anchor { 'php::end': }
-
-  # Configure global PHP settings in php.ini
-  if $facts['os']['family'] != 'Debian' {
-    Class['php::packages']
-    -> class {'::php::global':
-      settings => $real_settings,
-    }
-    -> Anchor['php::end']
-  }
-
-  if $fpm { contain '::php::fpm' }
-  if $embedded {
-    if $facts['os']['family'] == 'RedHat' and $fpm {
-      # Both fpm and embeded SAPIs are using same php.ini
-      fail('Enabling both cli and embedded sapis is not currently supported')
-    }
-
-    Anchor['php::begin']
-      -> class { '::php::embedded':
-        settings => $real_settings,
-      }
-    -> Anchor['php::end']
-  }
-  if $dev {
-    Anchor['php::begin']
-      -> class { '::php::dev': }
-    -> Anchor['php::end']
-  }
-  if $composer {
-    Anchor['php::begin']
-      -> class { '::php::composer':
-        proxy_type   => $proxy_type,
-        proxy_server => $proxy_server,
-      }
-    -> Anchor['php::end']
-  }
-  if $pear {
-    Anchor['php::begin']
-      -> class { '::php::pear':
-        ensure => $pear_ensure,
-      }
-    -> Anchor['php::end']
-  }
-  if $phpunit {
-    Anchor['php::begin']
-      -> class { '::php::phpunit': }
-    -> Anchor['php::end']
-  }
-  if $apache_config {
-    Anchor['php::begin']
-      -> class { '::php::apache_config':
-        settings => $real_settings,
-      }
-    -> Anchor['php::end']
-  }
-
-  create_resources('::php::extension', $real_extensions, {
-    require => Class['::php::cli'],
-    before  => Anchor['php::end']
-  })
-
-  # On FreeBSD purge the system-wide extensions.ini. It is going
-  # to be replaced with per-module configuration files.
-  if $::osfamily == 'FreeBSD' {
-    # Purge the system-wide extensions.ini
-    file { '/usr/local/etc/php/extensions.ini':
-      ensure  => absent,
-      require => Class['::php::packages'],
-    }
-  }
-}
-
- - - - - - - - \ No newline at end of file diff --git a/docs/puppet_classes/php_3A_3Aapache_config.html b/docs/puppet_classes/php_3A_3Aapache_config.html deleted file mode 100644 index a26cdb1d..00000000 --- a/docs/puppet_classes/php_3A_3Aapache_config.html +++ /dev/null @@ -1,182 +0,0 @@ - - - - - - - Puppet Class: php::apache_config - - — Documentation by YARD 0.9.9 - - - - - - - - - - - - - - - - - - - -
- - -

Puppet Class: php::apache_config

-
- -
-
Inherits:
-
::php::params
-
- - -
-
Defined in:
-
- manifests/apache_config.pp -
-
-
- -

Overview

-
-
-

Install and configure php apache settings

- -

=== Parameters

- -

[inifile] - The path to the ini php-apache ini file

- -

[settings] - Hash with nested hash of key => value to set in inifile

- -
-
-
-

Parameters:

-
    - -
  • - - inifile - - - (Stdlib::Absolutepath) - - - (defaults to: $::php::params::apache_inifile) - - -
  • - -
  • - - settings - - - (Hash) - - - (defaults to: {}) - - -
  • - -
- - -
- - - - - -
-
-
-
-11
-12
-13
-14
-15
-16
-17
-18
-19
-20
-21
-22
-23
-24
-25
-26
-
-
# File 'manifests/apache_config.pp', line 11
-
-class php::apache_config(
-  Stdlib::Absolutepath $inifile = $::php::params::apache_inifile,
-  Hash $settings                = {}
-) inherits ::php::params {
-
-  if $caller_module_name != $module_name {
-    warning('php::apache_config is private')
-  }
-
-  $real_settings = deep_merge($settings, hiera_hash('php::apache::settings', {}))
-
-  ::php::config { 'apache':
-    file   => $inifile,
-    config => $real_settings,
-  }
-}
-
-
-
- - - -
- - \ No newline at end of file diff --git a/docs/puppet_classes/php_3A_3Acli.html b/docs/puppet_classes/php_3A_3Acli.html deleted file mode 100644 index e58cc63c..00000000 --- a/docs/puppet_classes/php_3A_3Acli.html +++ /dev/null @@ -1,182 +0,0 @@ - - - - - - - Puppet Class: php::cli - - — Documentation by YARD 0.9.9 - - - - - - - - - - - - - - - - - - - -
- - -

Puppet Class: php::cli

-
- -
-
Inherits:
-
::php::params
-
- - -
-
Defined in:
-
- manifests/cli.pp -
-
-
- -

Overview

-
-
-

Install and configure php CLI

- -

=== Parameters

- -

[inifile] - The path to the ini php5-cli ini file

- -

[settings] - Hash with nested hash of key => value to set in inifile

- -
-
-
-

Parameters:

-
    - -
  • - - inifile - - - (Stdlib::Absolutepath) - - - (defaults to: $::php::params::cli_inifile) - - -
  • - -
  • - - settings - - - (Hash) - - - (defaults to: {}) - - -
  • - -
- - -
- - - - - -
-
-
-
-11
-12
-13
-14
-15
-16
-17
-18
-19
-20
-21
-22
-23
-24
-25
-26
-
-
# File 'manifests/cli.pp', line 11
-
-class php::cli(
-  Stdlib::Absolutepath $inifile = $::php::params::cli_inifile,
-  Hash $settings                = {}
-) inherits ::php::params {
-
-  if $caller_module_name != $module_name {
-    warning('php::cli is private')
-  }
-
-  $real_settings = deep_merge($settings, hiera_hash('php::cli::settings', {}))
-
-  ::php::config { 'cli':
-    file   => $inifile,
-    config => $real_settings,
-  }
-}
-
-
-
- - - -
- - \ No newline at end of file diff --git a/docs/puppet_classes/php_3A_3Acomposer.html b/docs/puppet_classes/php_3A_3Acomposer.html deleted file mode 100644 index 7dd52e23..00000000 --- a/docs/puppet_classes/php_3A_3Acomposer.html +++ /dev/null @@ -1,302 +0,0 @@ - - - - - - - Puppet Class: php::composer - - — Documentation by YARD 0.9.9 - - - - - - - - - - - - - - - - - - - -
- - -

Puppet Class: php::composer

-
- -
-
Inherits:
-
::php::params
-
- - -
-
Defined in:
-
- manifests/composer.pp -
-
-
- -

Overview

-
-
-

Install composer package manager

- -

=== Parameters

- -

[source] - Holds URL to the Composer source file

- -

[path] - Holds path to the Composer executable

- -

[proxy_type] - proxy server type (none|http|https|ftp)

- -

[proxy_server] - specify a proxy server, with port number if needed. ie: https://example.com:8080.

- -

[auto_update] - Defines if composer should be auto updated

- -

[max_age] - Defines the time in days after which an auto-update gets executed

- -

[root_group] - UNIX group of the root user

- -
-
-
-

Parameters:

-
    - -
  • - - source - - - (String) - - - (defaults to: $::php::params::composer_source) - - -
  • - -
  • - - path - - - (Stdlib::Absolutepath) - - - (defaults to: $::php::params::composer_path) - - -
  • - -
  • - - proxy_type - - - (Any) - - - (defaults to: undef) - - -
  • - -
  • - - proxy_server - - - (Any) - - - (defaults to: undef) - - -
  • - -
  • - - auto_update - - - (Boolean) - - - (defaults to: true) - - -
  • - -
  • - - max_age - - - (Integer) - - - (defaults to: $::php::params::composer_max_age) - - -
  • - -
  • - - root_group - - - (Variant[Integer, String]) - - - (defaults to: $::php::params::root_group) - - -
  • - -
- - -
- - - - - -
-
-
-
-26
-27
-28
-29
-30
-31
-32
-33
-34
-35
-36
-37
-38
-39
-40
-41
-42
-43
-44
-45
-46
-47
-48
-49
-50
-51
-52
-53
-54
-55
-56
-57
-58
-59
-60
-61
-
-
# File 'manifests/composer.pp', line 26
-
-class php::composer (
-  String $source                       = $::php::params::composer_source,
-  Stdlib::Absolutepath $path           = $::php::params::composer_path,
-  $proxy_type                          = undef,
-  $proxy_server                        = undef,
-  Boolean $auto_update                 = true,
-  Integer $max_age                     = $::php::params::composer_max_age,
-  Variant[Integer, String] $root_group = $::php::params::root_group,
-) inherits ::php::params {
-
-  if $caller_module_name != $module_name {
-    warning('php::composer is private')
-  }
-
-  archive { 'download composer':
-    path         => $path,
-    source       => $source,
-    proxy_type   => $proxy_type,
-    proxy_server => $proxy_server,
-  }
-  -> file { $path:
-    mode  => '0555',
-    owner => root,
-    group => $root_group,
-  }
-
-  if $auto_update {
-    class { '::php::composer::auto_update':
-      max_age      => $max_age,
-      source       => $source,
-      path         => $path,
-      proxy_type   => $proxy_type,
-      proxy_server => $proxy_server,
-    }
-  }
-}
-
-
-
- - - -
- - \ No newline at end of file diff --git a/docs/puppet_classes/php_3A_3Acomposer_3A_3Aauto_update.html b/docs/puppet_classes/php_3A_3Acomposer_3A_3Aauto_update.html deleted file mode 100644 index 16c20858..00000000 --- a/docs/puppet_classes/php_3A_3Acomposer_3A_3Aauto_update.html +++ /dev/null @@ -1,246 +0,0 @@ - - - - - - - Puppet Class: php::composer::auto_update - - — Documentation by YARD 0.9.9 - - - - - - - - - - - - - - - - - - - -
- - -

Puppet Class: php::composer::auto_update

-
- - -
-
Defined in:
-
- manifests/composer/auto_update.pp -
-
-
- -

Overview

-
-
-

Install composer package manager

- -

=== Parameters

- -

[max_age] - Defines number of days after which Composer should be updated

- -

[source] - Holds URL to the Composer source file

- -

[path] - Holds path to the Composer executable

- -

[proxy_type] - proxy server type (none|http|https|ftp)

- -

[proxy_server] - specify a proxy server, with port number if needed. ie: https://example.com:8080.

- -

=== Examples

- -

include php::composer::auto_update - class { "php::composer::auto_update": - "max_age" => 90 - }

- -
-
-
-

Parameters:

-
    - -
  • - - max_age - - - (Any) - - - -
  • - -
  • - - source - - - (Any) - - - -
  • - -
  • - - path - - - (Any) - - - -
  • - -
  • - - proxy_type - - - (Any) - - - (defaults to: undef) - - -
  • - -
  • - - proxy_server - - - (Any) - - - (defaults to: undef) - - -
  • - -
- - -
- - - - - -
-
-
-
-28
-29
-30
-31
-32
-33
-34
-35
-36
-37
-38
-39
-40
-41
-42
-43
-44
-45
-46
-47
-48
-49
-50
-51
-52
-53
-
-
# File 'manifests/composer/auto_update.pp', line 28
-
-class php::composer::auto_update (
-  $max_age,
-  $source,
-  $path,
-  $proxy_type   = undef,
-  $proxy_server = undef,
-) {
-
-  if $caller_module_name != $module_name {
-    warning('php::composer::auto_update is private')
-  }
-
-  if $proxy_type and $proxy_server {
-    $env = [ 'HOME=/root', "${proxy_type}_proxy=${proxy_server}" ]
-  } else {
-    $env = [ 'HOME=/root' ]
-  }
-
-  exec { 'update composer':
-    command     => "${path} --no-interaction --quiet self-update",
-    environment => $env,
-    onlyif      => "test `find '${path}' -mtime +${max_age}`",
-    path        => [ '/bin/', '/sbin/' , '/usr/bin/', '/usr/sbin/', '/usr/local/bin', '/usr/local/sbin' ],
-    require     => [File[$path], Class['::php::cli']],
-  }
-}
-
-
-
- - - -
- - \ No newline at end of file diff --git a/docs/puppet_classes/php_3A_3Adev.html b/docs/puppet_classes/php_3A_3Adev.html deleted file mode 100644 index 6e6ddcf8..00000000 --- a/docs/puppet_classes/php_3A_3Adev.html +++ /dev/null @@ -1,216 +0,0 @@ - - - - - - - Puppet Class: php::dev - - — Documentation by YARD 0.9.9 - - - - - - - - - - - - - - - - - - - -
- - -

Puppet Class: php::dev

-
- -
-
Inherits:
-
::php::params
-
- - -
-
Defined in:
-
- manifests/dev.pp -
-
-
- -

Overview

-
-
-

Install the development package with headers for PHP

- -

=== Parameters

- -

[ensure] - The PHP ensure of PHP dev to install

- -

[package] - The package name for the PHP development files

- -
-
-
-

Parameters:

-
    - -
  • - - ensure - - - (String) - - - (defaults to: $::php::ensure) - - -
  • - -
  • - - package - - - (String) - - - (defaults to: "${::php::package_prefix}${::php::params::dev_package_suffix}") - - -
  • - -
- - -
- - - - - -
-
-
-
-11
-12
-13
-14
-15
-16
-17
-18
-19
-20
-21
-22
-23
-24
-25
-26
-27
-28
-29
-30
-31
-32
-33
-34
-35
-36
-37
-38
-39
-40
-41
-42
-43
-
-
# File 'manifests/dev.pp', line 11
-
-class php::dev(
-  String $ensure  = $::php::ensure,
-  String $package = "${::php::package_prefix}${::php::params::dev_package_suffix}",
-) inherits ::php::params {
-
-  if $caller_module_name != $module_name {
-    warning('php::dev is private')
-  }
-
-  # On FreeBSD there is no 'devel' package.
-  $real_package = $facts['os']['family'] ? {
-    'FreeBSD' => [],
-    default   => $package,
-  }
-
-  # Default PHP come with xml module and no seperate package for it
-  if $facts['os']['name'] == 'Ubuntu' and versioncmp($facts['os']['release']['full'], '16.04') >= 0  {
-    ensure_packages(["${php::package_prefix}xml"], {
-      ensure  => present,
-      require => Class['::apt::update'],
-    })
-
-    package { $real_package:
-      ensure  => $ensure,
-      require => Class['::php::packages'],
-    }
-  } else {
-    package { $real_package:
-      ensure  => $ensure,
-      require => Class['::php::packages'],
-    }
-  }
-}
-
-
-
- - - -
- - \ No newline at end of file diff --git a/docs/puppet_classes/php_3A_3Aembedded.html b/docs/puppet_classes/php_3A_3Aembedded.html deleted file mode 100644 index 050916d1..00000000 --- a/docs/puppet_classes/php_3A_3Aembedded.html +++ /dev/null @@ -1,244 +0,0 @@ - - - - - - - Puppet Class: php::embedded - - — Documentation by YARD 0.9.9 - - - - - - - - - - - - - - - - - - - -
- - -

Puppet Class: php::embedded

-
- -
-
Inherits:
-
::php::params
-
- - -
-
Defined in:
-
- manifests/embedded.pp -
-
-
- -

Overview

-
-
-

Install and configure php embedded SAPI

- -

=== Parameters

- -

[inifile] - The path to the ini php5-embeded ini file

- -

[settings] - Hash with nested hash of key => value to set in inifile

- -

[package] - Specify which package to install

- -

[ensure] - Specify which version of the package to install

- -
-
-
-

Parameters:

-
    - -
  • - - ensure - - - (String) - - - (defaults to: $::php::ensure) - - -
  • - -
  • - - package - - - (String) - - - (defaults to: "${::php::package_prefix}${::php::params::embedded_package_suffix}") - - -
  • - -
  • - - inifile - - - (Stdlib::Absolutepath) - - - (defaults to: $::php::params::embedded_inifile) - - -
  • - -
  • - - settings - - - (Hash) - - - (defaults to: {}) - - -
  • - -
- - -
- - - - - -
-
-
-
-17
-18
-19
-20
-21
-22
-23
-24
-25
-26
-27
-28
-29
-30
-31
-32
-33
-34
-35
-36
-37
-38
-39
-40
-41
-42
-43
-44
-45
-46
-47
-
-
# File 'manifests/embedded.pp', line 17
-
-class php::embedded(
-  String $ensure                = $::php::ensure,
-  String $package               = "${::php::package_prefix}${::php::params::embedded_package_suffix}",
-  Stdlib::Absolutepath $inifile = $::php::params::embedded_inifile,
-  Hash $settings                = {},
-) inherits ::php::params {
-
-  if $caller_module_name != $module_name {
-    warning('php::embedded is private')
-  }
-
-  $real_settings = deep_merge(
-    $settings,
-    hiera_hash('php::embedded::settings', {})
-  )
-
-  $real_package = $facts['os']['family'] ? {
-    'Debian' => "lib${package}",
-    default   => $package,
-  }
-
-  package { $real_package:
-    ensure  => $ensure,
-    require => Class['::php::packages'],
-  }
-  -> ::php::config { 'embedded':
-    file   => $inifile,
-    config => $real_settings,
-  }
-
-}
-
-
-
- - - -
- - \ No newline at end of file diff --git a/docs/puppet_classes/php_3A_3Afpm.html b/docs/puppet_classes/php_3A_3Afpm.html deleted file mode 100644 index 0652b66f..00000000 --- a/docs/puppet_classes/php_3A_3Afpm.html +++ /dev/null @@ -1,482 +0,0 @@ - - - - - - - Puppet Class: php::fpm - - — Documentation by YARD 0.9.9 - - - - - - - - - - - - - - - - - - - -
- - -

Puppet Class: php::fpm

-
- - -
-
Defined in:
-
- manifests/fpm.pp -
-
-
- -

Overview

-
-
-

Install and configure mod_php for fpm

- -

=== Parameters

- -

[user] - The user that php-fpm should run as

- -

[group] - The group that php-fpm should run as

- -

[service_enable] - Enable/disable FPM service

- -

[service_ensure] - Ensure FPM service is either 'running' or 'stopped'

- -

[service_name] - This is the name of the php-fpm service. It defaults to reasonable OS - defaults but can be different in case of using php7.0/other OS/custom fpm service

- -

[service_provider] - This is the name of the service provider, in case there is a non - OS default service provider used to start FPM. - Defaults to 'undef', pick system defaults.

- -

[pools] - Hash of php::fpm::pool resources that will be created. Defaults - to a single php::fpm::pool named www with default parameters.

- -

[log_owner] - The php-fpm log owner

- -

[log_group] - The group owning php-fpm logs

- -

[package] - Specify which package to install

- -

[ensure] - Specify which version of the package to install

- -

[inifile] - Path to php.ini for fpm

- -

[settings] - fpm settings hash

- -

[global_pool_settings] - Hash of defaults params php::fpm::pool resources that will be created. - Defaults is empty hash.

- -
-
-
-

Parameters:

-
    - -
  • - - ensure - - - (String) - - - (defaults to: $::php::ensure) - - -
  • - -
  • - - user - - - (Any) - - - (defaults to: $::php::fpm_user) - - -
  • - -
  • - - group - - - (Any) - - - (defaults to: $::php::fpm_group) - - -
  • - -
  • - - service_ensure - - - (Any) - - - (defaults to: $::php::fpm_service_ensure) - - -
  • - -
  • - - service_enable - - - (Any) - - - (defaults to: $::php::fpm_service_enable) - - -
  • - -
  • - - service_name - - - (Any) - - - (defaults to: $::php::fpm_service_name) - - -
  • - -
  • - - service_provider - - - (Any) - - - (defaults to: $::php::fpm_service_provider) - - -
  • - -
  • - - package - - - (String) - - - (defaults to: $::php::real_fpm_package) - - -
  • - -
  • - - inifile - - - (Stdlib::Absolutepath) - - - (defaults to: $::php::fpm_inifile) - - -
  • - -
  • - - settings - - - (Hash) - - - (defaults to: $::php::real_settings) - - -
  • - -
  • - - global_pool_settings - - - (Any) - - - (defaults to: $::php::real_fpm_global_pool_settings) - - -
  • - -
  • - - pools - - - (Hash) - - - (defaults to: $::php::real_fpm_pools) - - -
  • - -
  • - - log_owner - - - (Any) - - - (defaults to: $::php::log_owner) - - -
  • - -
  • - - log_group - - - (Any) - - - (defaults to: $::php::log_group) - - -
  • - -
- - -
- - - - - -
-
-
-
-52
-53
-54
-55
-56
-57
-58
-59
-60
-61
-62
-63
-64
-65
-66
-67
-68
-69
-70
-71
-72
-73
-74
-75
-76
-77
-78
-79
-80
-81
-82
-83
-84
-85
-86
-87
-88
-89
-90
-91
-92
-93
-94
-95
-96
-97
-98
-99
-100
-101
-102
-103
-104
-105
-106
-107
-108
-109
-110
-111
-112
-113
-114
-115
-116
-117
-118
-119
-120
-121
-
-
# File 'manifests/fpm.pp', line 52
-
-class php::fpm (
-  String $ensure                = $::php::ensure,
-  $user                         = $::php::fpm_user,
-  $group                        = $::php::fpm_group,
-  $service_ensure               = $::php::fpm_service_ensure,
-  $service_enable               = $::php::fpm_service_enable,
-  $service_name                 = $::php::fpm_service_name,
-  $service_provider             = $::php::fpm_service_provider,
-  String $package               = $::php::real_fpm_package,
-  Stdlib::Absolutepath $inifile = $::php::fpm_inifile,
-  Hash $settings                = $::php::real_settings,
-  $global_pool_settings         = $::php::real_fpm_global_pool_settings,
-  Hash $pools                   = $::php::real_fpm_pools,
-  $log_owner                    = $::php::log_owner,
-  $log_group                    = $::php::log_group,
-) {
-
-  if ! defined(Class['php']) {
-    warning('php::fpm is private')
-  }
-
-  $real_settings = deep_merge($settings, hiera_hash('php::fpm::settings', {}))
-
-  # On FreeBSD fpm is not a separate package, but included in the 'php' package.
-  # Implies that the option SET+=FPM was set when building the port.
-  $real_package = $facts['os']['family'] ? {
-    'FreeBSD' => [],
-    default   => $package,
-  }
-
-  package { $real_package:
-    ensure  => $ensure,
-    require => Class['::php::packages'],
-  }
-
-  class { '::php::fpm::config':
-    user      => $user,
-    group     => $group,
-    inifile   => $inifile,
-    settings  => $real_settings,
-    log_owner => $log_owner,
-    log_group => $log_group,
-    require   => Package[$real_package],
-  }
-  contain '::php::fpm::config'
-  contain '::php::fpm::service'
-
-  Class['php::fpm::config'] ~> Class['php::fpm::service']
-
-  $real_global_pool_settings = hiera_hash('php::fpm::global_pool_settings', $global_pool_settings)
-  $real_pools = hiera_hash('php::fpm::pools', $pools)
-  create_resources(::php::fpm::pool, $real_pools, $real_global_pool_settings)
-
-  # Create an override to use a reload signal as trusty and utopic's
-  # upstart version supports this
-  if ($facts['os']['name'] == 'Ubuntu'
-      and versioncmp($facts['os']['release']['full'], '14') >= 0
-      and versioncmp($facts['os']['release']['full'], '16') < 0) {
-    if ($service_enable) {
-      $fpm_override = 'reload signal USR2'
-    }
-    else {
-      $fpm_override = "reload signal USR2\nmanual"
-    }
-    file { "/etc/init/${::php::fpm::service::service_name}.override":
-      content => $fpm_override,
-      before  => Package[$real_package],
-    }
-  }
-}
-
-
-
- - - -
- - \ No newline at end of file diff --git a/docs/puppet_classes/php_3A_3Afpm_3A_3Aconfig.html b/docs/puppet_classes/php_3A_3Afpm_3A_3Aconfig.html deleted file mode 100644 index 8dbc6439..00000000 --- a/docs/puppet_classes/php_3A_3Afpm_3A_3Aconfig.html +++ /dev/null @@ -1,596 +0,0 @@ - - - - - - - Puppet Class: php::fpm::config - - — Documentation by YARD 0.9.9 - - - - - - - - - - - - - - - - - - - -
- - -

Puppet Class: php::fpm::config

-
- -
-
Inherits:
-
::php::params
-
- - -
-
Defined in:
-
- manifests/fpm/config.pp -
-
-
- -

Overview

-
-
-

Configure php-fpm service

- -

=== Parameters

- -

[config_file] - The path to the fpm config file

- -

[user] - The user that runs php-fpm

- -

[group] - The group that runs php-fpm

- -

[inifile] - The path to ini file

- -

[settings] - Nested hash of key => value to apply to php.ini

- -

[pool_base_dir] - The folder that contains the php-fpm pool configs

- -

[pool_purge] - Whether to purge pool config files not created - by this module

- -

[error_log] - Path to error log file. If it's set to "syslog", log is - sent to syslogd instead of being written in a local file.

- -

[log_level] - The php-fpm log level

- -

[emergency_restart_threshold] - The php-fpm emergency_restart_threshold

- -

[emergency_restart_interval] - The php-fpm emergency_restart_interval

- -

[process_control_timeout] - The php-fpm process_control_timeout

- -

[process_max] - The maximum number of processes FPM will fork.

- -

[rlimit_files] - Set open file descriptor rlimit for the master process.

- -

[systemd_interval] - The interval between health report notification to systemd

- -

[log_owner] - The php-fpm log owner

- -

[log_group] - The group owning php-fpm logs

- -

[log_dir_mode] - The octal mode of the directory

- -

[syslog_facility] - Used to specify what type of program is logging the message

- -

[syslog_ident] - Prepended to every message

- -

[root_group] - UNIX group of the root user

- -

[pid_file] - Path to fpm pid file

- -
-
-
-

Parameters:

-
    - -
  • - - config_file - - - (Any) - - - (defaults to: $::php::params::fpm_config_file) - - -
  • - -
  • - - user - - - (String) - - - (defaults to: $::php::params::fpm_user) - - -
  • - -
  • - - group - - - (String) - - - (defaults to: $::php::params::fpm_group) - - -
  • - -
  • - - inifile - - - (String) - - - (defaults to: $::php::params::fpm_inifile) - - -
  • - -
  • - - pid_file - - - (Any) - - - (defaults to: $::php::params::fpm_pid_file) - - -
  • - -
  • - - settings - - - (Hash) - - - (defaults to: {}) - - -
  • - -
  • - - pool_base_dir - - - (Stdlib::Absolutepath) - - - (defaults to: $::php::params::fpm_pool_dir) - - -
  • - -
  • - - pool_purge - - - (Any) - - - (defaults to: false) - - -
  • - -
  • - - error_log - - - (String) - - - (defaults to: $::php::params::fpm_error_log) - - -
  • - -
  • - - log_level - - - (String) - - - (defaults to: 'notice') - - -
  • - -
  • - - emergency_restart_threshold - - - (Integer) - - - (defaults to: 0) - - -
  • - -
  • - - emergency_restart_interval - - - (Variant[Integer, Pattern[/^\d+[smhd]?$/]]) - - - (defaults to: 0) - - -
  • - -
  • - - process_control_timeout - - - (Variant[Integer, Pattern[/^\d+[smhd]?$/]]) - - - (defaults to: 0) - - -
  • - -
  • - - process_max - - - (Integer) - - - (defaults to: 0) - - -
  • - -
  • - - rlimit_files - - - (Any) - - - (defaults to: undef) - - -
  • - -
  • - - systemd_interval - - - (Optional[Variant[Integer,Pattern[/^\d+[smhd]?$/]]]) - - - (defaults to: undef) - - -
  • - -
  • - - log_owner - - - (String) - - - (defaults to: $::php::params::fpm_user) - - -
  • - -
  • - - log_group - - - (String) - - - (defaults to: $::php::params::fpm_group) - - -
  • - -
  • - - log_dir_mode - - - (Pattern[/^\d+$/]) - - - (defaults to: '0770') - - -
  • - -
  • - - root_group - - - (Any) - - - (defaults to: $::php::params::root_group) - - -
  • - -
  • - - syslog_facility - - - (String) - - - (defaults to: 'daemon') - - -
  • - -
  • - - syslog_ident - - - (String) - - - (defaults to: 'php-fpm') - - -
  • - -
- - -
- - - - - -
-
-
-
-73
-74
-75
-76
-77
-78
-79
-80
-81
-82
-83
-84
-85
-86
-87
-88
-89
-90
-91
-92
-93
-94
-95
-96
-97
-98
-99
-100
-101
-102
-103
-104
-105
-106
-107
-108
-109
-110
-111
-112
-113
-114
-115
-116
-117
-118
-119
-120
-121
-122
-123
-124
-125
-126
-127
-128
-129
-130
-131
-132
-133
-134
-
-
# File 'manifests/fpm/config.pp', line 73
-
-class php::fpm::config(
-  $config_file                                                          = $::php::params::fpm_config_file,
-  String $user                                                          = $::php::params::fpm_user,
-  String $group                                                         = $::php::params::fpm_group,
-  String $inifile                                                       = $::php::params::fpm_inifile,
-  $pid_file                                                             = $::php::params::fpm_pid_file,
-  Hash $settings                                                        = {},
-  Stdlib::Absolutepath $pool_base_dir                                   = $::php::params::fpm_pool_dir,
-  $pool_purge                                                           = false,
-  String $error_log                                                     = $::php::params::fpm_error_log,
-  String $log_level                                                     = 'notice',
-  Integer $emergency_restart_threshold                                  = 0,
-  Variant[Integer, Pattern[/^\d+[smhd]?$/]] $emergency_restart_interval = 0,
-  Variant[Integer, Pattern[/^\d+[smhd]?$/]] $process_control_timeout    = 0,
-  Integer $process_max                                                  = 0,
-  $rlimit_files                                                         = undef,
-  Optional[Variant[Integer,Pattern[/^\d+[smhd]?$/]]] $systemd_interval  = undef,
-  String $log_owner                                                     = $::php::params::fpm_user,
-  String $log_group                                                     = $::php::params::fpm_group,
-  Pattern[/^\d+$/] $log_dir_mode                                        = '0770',
-  $root_group                                                           = $::php::params::root_group,
-  String $syslog_facility                                               = 'daemon',
-  String $syslog_ident                                                  = 'php-fpm',
-) inherits ::php::params {
-
-  if $caller_module_name != $module_name {
-    warning('php::fpm::config is private')
-  }
-
-  # Hack-ish to default to user for group too
-  $log_group_final = $log_group ? {
-    undef   => $log_owner,
-    default => $log_group,
-  }
-
-  file { $config_file:
-    ensure  => file,
-    content => template('php/fpm/php-fpm.conf.erb'),
-    owner   => root,
-    group   => $root_group,
-    mode    => '0644',
-  }
-
-  file { $pool_base_dir:
-    ensure => directory,
-    owner  => root,
-    group  => $root_group,
-    mode   => '0755',
-  }
-
-  if $pool_purge {
-    File[$pool_base_dir] {
-      purge   => true,
-      recurse => true,
-    }
-  }
-
-  ::php::config { 'fpm':
-    file   => $inifile,
-    config => $settings,
-  }
-}
-
-
-
- - - -
- - \ No newline at end of file diff --git a/docs/puppet_classes/php_3A_3Afpm_3A_3Aservice.html b/docs/puppet_classes/php_3A_3Afpm_3A_3Aservice.html deleted file mode 100644 index 8bd9175f..00000000 --- a/docs/puppet_classes/php_3A_3Afpm_3A_3Aservice.html +++ /dev/null @@ -1,245 +0,0 @@ - - - - - - - Puppet Class: php::fpm::service - - — Documentation by YARD 0.9.9 - - - - - - - - - - - - - - - - - - - -
- - -

Puppet Class: php::fpm::service

-
- - -
-
Defined in:
-
- manifests/fpm/service.pp -
-
-
- -

Overview

-
-
-

Manage fpm service

- -

=== Parameters

- -

[service_name] - name of the php-fpm service

- -

[ensure] - 'ensure' value for the service

- -

[enable] - Defines if the service is enabled

- -

[provider] - Defines if the service provider to use

- -
-
-
-

Parameters:

-
    - -
  • - - service_name - - - (Any) - - - (defaults to: $::php::fpm::service_name) - - -
  • - -
  • - - ensure - - - (Any) - - - (defaults to: $::php::fpm::service_ensure) - - -
  • - -
  • - - enable - - - (Any) - - - (defaults to: $::php::fpm::service_enable) - - -
  • - -
  • - - provider - - - (Any) - - - (defaults to: $::php::fpm::service_provider) - - -
  • - -
- - -
- - - - - -
-
-
-
-17
-18
-19
-20
-21
-22
-23
-24
-25
-26
-27
-28
-29
-30
-31
-32
-33
-34
-35
-36
-37
-38
-39
-40
-41
-42
-43
-44
-45
-46
-47
-48
-49
-50
-
-
# File 'manifests/fpm/service.pp', line 17
-
-class php::fpm::service(
-  $service_name = $::php::fpm::service_name,
-  $ensure       = $::php::fpm::service_ensure,
-  $enable       = $::php::fpm::service_enable,
-  $provider     = $::php::fpm::service_provider,
-) {
-
-  if ! defined(Class['php::fpm']) {
-    warning('php::fpm::service is private')
-  }
-
-  $reload = "service ${service_name} reload"
-
-  if ($facts['os']['name'] == 'Ubuntu'
-      and versioncmp($facts['os']['release']['full'], '12') >= 0
-      and versioncmp($facts['os']['release']['full'], '14') < 0) {
-    # Precise upstart doesn't support reload signals, so use
-    # regular service restart instead
-    $restart = undef
-  } else {
-    $restart = $reload
-  }
-
-  service { $service_name:
-    ensure     => $ensure,
-    enable     => $enable,
-    provider   => $provider,
-    hasrestart => true,
-    restart    => $restart,
-    hasstatus  => true,
-  }
-
-  ::Php::Extension <| |> ~> Service[$service_name]
-}
-
-
-
- - - -
- - \ No newline at end of file diff --git a/docs/puppet_classes/php_3A_3Aglobal.html b/docs/puppet_classes/php_3A_3Aglobal.html deleted file mode 100644 index cf160e7a..00000000 --- a/docs/puppet_classes/php_3A_3Aglobal.html +++ /dev/null @@ -1,175 +0,0 @@ - - - - - - - Puppet Class: php::global - - — Documentation by YARD 0.9.9 - - - - - - - - - - - - - - - - - - - -
- - -

Puppet Class: php::global

-
- -
-
Inherits:
-
::php
-
- - -
-
Defined in:
-
- manifests/global.pp -
-
-
- -

Overview

-
-
- -
-
-
-

Parameters:

-
    - -
  • - - inifile - - - (Stdlib::Absolutepath) - - - (defaults to: $::php::config_root_inifile) - - -
  • - -
  • - - settings - - - (Hash) - - - (defaults to: {}) - - -
  • - -
- - -
- - - - - -
-
-
-
-14
-15
-16
-17
-18
-19
-20
-21
-22
-23
-24
-25
-26
-27
-28
-29
-30
-
-
# File 'manifests/global.pp', line 14
-
-class php::global(
-  Stdlib::Absolutepath $inifile = $::php::config_root_inifile,
-  Hash $settings                = {}
-) inherits ::php {
-
-  if $caller_module_name != $module_name {
-    warning('php::global is private')
-  }
-
-  # No deep merging required since the settings we have are the global settings.
-  $real_settings = $settings
-
-  ::php::config { 'global':
-    file   => $inifile,
-    config => $real_settings,
-  }
-}
-
-
-
- - - -
- - \ No newline at end of file diff --git a/docs/puppet_classes/php_3A_3Aglobals.html b/docs/puppet_classes/php_3A_3Aglobals.html deleted file mode 100644 index 445b935e..00000000 --- a/docs/puppet_classes/php_3A_3Aglobals.html +++ /dev/null @@ -1,384 +0,0 @@ - - - - - - - Puppet Class: php::globals - - — Documentation by YARD 0.9.9 - - - - - - - - - - - - - - - - - - - -
- - -

Puppet Class: php::globals

-
- - -
-
Inherited by:
-
- - php::params
- -
-
- -
-
Defined in:
-
- manifests/globals.pp -
-
-
- -

Overview

-
-
- -
-
-
-

Parameters:

-
    - -
  • - - php_version - - - (Optional[Pattern[/^[57].[0-9]/]]) - - - (defaults to: undef) - - -
  • - -
  • - - config_root - - - (Optional[Stdlib::Absolutepath]) - - - (defaults to: undef) - - -
  • - -
  • - - fpm_pid_file - - - (Optional[Stdlib::Absolutepath]) - - - (defaults to: undef) - - -
  • - -
- - -
- - - - - -
-
-
-
-14
-15
-16
-17
-18
-19
-20
-21
-22
-23
-24
-25
-26
-27
-28
-29
-30
-31
-32
-33
-34
-35
-36
-37
-38
-39
-40
-41
-42
-43
-44
-45
-46
-47
-48
-49
-50
-51
-52
-53
-54
-55
-56
-57
-58
-59
-60
-61
-62
-63
-64
-65
-66
-67
-68
-69
-70
-71
-72
-73
-74
-75
-76
-77
-78
-79
-80
-81
-82
-83
-84
-85
-86
-87
-88
-89
-90
-91
-92
-93
-94
-95
-96
-97
-98
-99
-100
-101
-102
-103
-104
-105
-106
-107
-108
-109
-110
-111
-112
-113
-114
-115
-116
-117
-118
-119
-120
-121
-122
-123
-124
-125
-126
-
-
# File 'manifests/globals.pp', line 14
-
-class php::globals (
-  Optional[Pattern[/^[57].[0-9]/]] $php_version = undef,
-  Optional[Stdlib::Absolutepath] $config_root   = undef,
-  Optional[Stdlib::Absolutepath] $fpm_pid_file  = undef,
-) {
-
-  $default_php_version = $facts['os']['family'] ? {
-    'Debian' => $facts['os']['name'] ? {
-      'Ubuntu' => $facts['os']['release']['full'] ? {
-        /^(1[67].04)$/ => '7.0',
-        default => '5.x',
-      },
-      default => '5.x',
-    },
-    default => '5.x',
-  }
-
-  $globals_php_version = pick($php_version, $default_php_version)
-
-  case $facts['os']['family'] {
-    'Debian': {
-      if $facts['os']['name'] == 'Ubuntu' {
-        case $globals_php_version {
-          /^5\.4/: {
-            $default_config_root  = '/etc/php5'
-            $default_fpm_pid_file = "/var/run/php/php${globals_php_version}-fpm.pid"
-            $fpm_error_log        = '/var/log/php5-fpm.log'
-            $fpm_service_name     = 'php5-fpm'
-            $ext_tool_enable      = '/usr/sbin/php5enmod'
-            $ext_tool_query       = '/usr/sbin/php5query'
-            $package_prefix       = 'php5-'
-          }
-          /^[57].[0-9]/: {
-            $default_config_root  = "/etc/php/${globals_php_version}"
-            $default_fpm_pid_file = "/var/run/php/php${globals_php_version}-fpm.pid"
-            $fpm_error_log        = "/var/log/php${globals_php_version}-fpm.log"
-            $fpm_service_name     = "php${globals_php_version}-fpm"
-            $ext_tool_enable      = "/usr/sbin/phpenmod -v ${globals_php_version}"
-            $ext_tool_query       = "/usr/sbin/phpquery -v ${globals_php_version}"
-            $package_prefix       = "php${globals_php_version}-"
-          }
-          default: {
-            # Default php installation from Ubuntu official repository use the following paths until 16.04
-            # For PPA please use the $php_version to override it.
-            $default_config_root  = '/etc/php5'
-            $default_fpm_pid_file = '/var/run/php5-fpm.pid'
-            $fpm_error_log        = '/var/log/php5-fpm.log'
-            $fpm_service_name     = 'php5-fpm'
-            $ext_tool_enable      = '/usr/sbin/php5enmod'
-            $ext_tool_query       = '/usr/sbin/php5query'
-            $package_prefix       = 'php5-'
-          }
-        }
-      } else {
-        case $globals_php_version {
-          /^7/: {
-            $default_config_root  = "/etc/php/${globals_php_version}"
-            $default_fpm_pid_file = "/var/run/php/php${globals_php_version}-fpm.pid"
-            $fpm_error_log        = "/var/log/php${globals_php_version}-fpm.log"
-            $fpm_service_name     = "php${globals_php_version}-fpm"
-            $ext_tool_enable      = "/usr/sbin/phpenmod -v ${globals_php_version}"
-            $ext_tool_query       = "/usr/sbin/phpquery -v ${globals_php_version}"
-            $package_prefix       = "php${globals_php_version}-"
-          }
-          default: {
-            $default_config_root  = '/etc/php5'
-            $default_fpm_pid_file = '/var/run/php5-fpm.pid'
-            $fpm_error_log        = '/var/log/php5-fpm.log'
-            $fpm_service_name     = 'php5-fpm'
-            $ext_tool_enable      = '/usr/sbin/php5enmod'
-            $ext_tool_query       = '/usr/sbin/php5query'
-            $package_prefix       = 'php5-'
-          }
-        }
-      }
-    }
-    'Suse': {
-      case $globals_php_version {
-        /^7/: {
-          $default_config_root  = '/etc/php7'
-          $package_prefix       = 'php7-'
-          $default_fpm_pid_file = '/var/run/php7-fpm.pid'
-          $fpm_error_log        = '/var/log/php7-fpm.log'
-        }
-        default: {
-          $default_config_root  = '/etc/php5'
-          $package_prefix       = 'php5-'
-          $default_fpm_pid_file = '/var/run/php5-fpm.pid'
-          $fpm_error_log        = '/var/log/php5-fpm.log'
-        }
-      }
-    }
-    'RedHat': {
-      $default_config_root  = '/etc/php.d'
-      $default_fpm_pid_file = '/var/run/php-fpm/php-fpm.pid'
-    }
-    'FreeBSD': {
-      $default_config_root  = '/usr/local/etc'
-      $default_fpm_pid_file = '/var/run/php-fpm.pid'
-    }
-    'Archlinux': {
-      $default_config_root  =  '/etc/php'
-      $default_fpm_pid_file = '/run/php-fpm/php-fpm.pid'
-    }
-    default: {
-      fail("Unsupported osfamily: ${facts['os']['family']}")
-    }
-  }
-
-  $globals_config_root = pick($config_root, $default_config_root)
-
-  $globals_fpm_pid_file = pick($fpm_pid_file, $default_fpm_pid_file)
-}
-
-
-
- - - -
- - \ No newline at end of file diff --git a/docs/puppet_classes/php_3A_3Apackages.html b/docs/puppet_classes/php_3A_3Apackages.html deleted file mode 100644 index 47cf51e0..00000000 --- a/docs/puppet_classes/php_3A_3Apackages.html +++ /dev/null @@ -1,232 +0,0 @@ - - - - - - - Puppet Class: php::packages - - — Documentation by YARD 0.9.9 - - - - - - - - - - - - - - - - - - - -
- - -

Puppet Class: php::packages

-
- -
-
Inherits:
-
::php::params
-
- - -
-
Defined in:
-
- manifests/packages.pp -
-
-
- -

Overview

-
-
-

Install common PHP packages

- -

=== Parameters

- -

[ensure] - Specify which version of PHP packages to install

- -

[names] - List of the names of the package to install

- -

[names_to_prefix] - List of packages names that should be prefixed with the common - package prefix $php::package_prefix

- -
-
-
-

Parameters:

-
    - -
  • - - ensure - - - (String) - - - (defaults to: $::php::ensure) - - -
  • - -
  • - - manage_repos - - - (Boolean) - - - (defaults to: $::php::manage_repos) - - -
  • - -
  • - - names_to_prefix - - - (Array) - - - (defaults to: prefix($::php::params::common_package_suffixes, $::php::package_prefix)) - - -
  • - -
  • - - names - - - (Array) - - - (defaults to: $::php::params::common_package_names) - - -
  • - -
- - -
- - - - - -
-
-
-
-15
-16
-17
-18
-19
-20
-21
-22
-23
-24
-25
-26
-27
-28
-29
-30
-31
-32
-33
-34
-35
-36
-37
-38
-39
-40
-
-
# File 'manifests/packages.pp', line 15
-
-class php::packages (
-  String $ensure         = $::php::ensure,
-  Boolean $manage_repos  = $::php::manage_repos,
-  Array $names_to_prefix = prefix($::php::params::common_package_suffixes, $::php::package_prefix),
-  Array $names           = $::php::params::common_package_names,
-) inherits ::php::params {
-
-  if $caller_module_name != $module_name {
-    warning('php::packages is private')
-  }
-
-  $real_names = union($names, $names_to_prefix)
-  if $facts['os']['family'] == 'debian' {
-    if $manage_repos {
-      include ::apt
-      Class['::apt::update'] -> Package[$real_names]
-    }
-    package { $real_names:
-      ensure => $ensure,
-    }
-  } else {
-    package { $real_names:
-      ensure => $ensure,
-    }
-  }
-}
-
-
-
- - - -
- - \ No newline at end of file diff --git a/docs/puppet_classes/php_3A_3Aparams.html b/docs/puppet_classes/php_3A_3Aparams.html deleted file mode 100644 index 5092403d..00000000 --- a/docs/puppet_classes/php_3A_3Aparams.html +++ /dev/null @@ -1,490 +0,0 @@ - - - - - - - Puppet Class: php::params - - — Documentation by YARD 0.9.9 - - - - - - - - - - - - - - - - - - - -
- - -

Puppet Class: php::params

-
- -
-
Inherits:
-
php::globals
-
- - -
-
Defined in:
-
- manifests/params.pp -
-
-
- -

Overview

-
-
-

PHP params class

- -
-
-
- - -
- - - - - -
-
-
-
-3
-4
-5
-6
-7
-8
-9
-10
-11
-12
-13
-14
-15
-16
-17
-18
-19
-20
-21
-22
-23
-24
-25
-26
-27
-28
-29
-30
-31
-32
-33
-34
-35
-36
-37
-38
-39
-40
-41
-42
-43
-44
-45
-46
-47
-48
-49
-50
-51
-52
-53
-54
-55
-56
-57
-58
-59
-60
-61
-62
-63
-64
-65
-66
-67
-68
-69
-70
-71
-72
-73
-74
-75
-76
-77
-78
-79
-80
-81
-82
-83
-84
-85
-86
-87
-88
-89
-90
-91
-92
-93
-94
-95
-96
-97
-98
-99
-100
-101
-102
-103
-104
-105
-106
-107
-108
-109
-110
-111
-112
-113
-114
-115
-116
-117
-118
-119
-120
-121
-122
-123
-124
-125
-126
-127
-128
-129
-130
-131
-132
-133
-134
-135
-136
-137
-138
-139
-140
-141
-142
-143
-144
-145
-146
-147
-148
-149
-150
-151
-152
-153
-154
-155
-156
-157
-158
-159
-160
-161
-162
-163
-164
-165
-166
-167
-168
-169
-170
-171
-172
-173
-174
-175
-176
-177
-178
-179
-180
-181
-182
-183
-184
-185
-186
-187
-188
-189
-190
-191
-
-
# File 'manifests/params.pp', line 3
-
-class php::params inherits php::globals {
-
-  $ensure              = 'present'
-  $fpm_service_enable  = true
-  $fpm_service_ensure  = 'running'
-  $composer_source     = 'https://getcomposer.org/composer.phar'
-  $composer_path       = '/usr/local/bin/composer'
-  $composer_max_age    = 30
-  $pear_ensure         = 'present'
-  $pear_package_suffix = 'pear'
-  $phpunit_source      = 'https://phar.phpunit.de/phpunit.phar'
-  $phpunit_path        = '/usr/local/bin/phpunit'
-  $phpunit_max_age     = 30
-
-  case $facts['os']['family'] {
-    'Debian': {
-      $config_root             = $php::globals::globals_config_root
-      $config_root_ini         = "${config_root}/mods-available"
-      $config_root_inifile     = "${config_root}/php.ini"
-      $common_package_names    = []
-      $common_package_suffixes = ['cli', 'common']
-      $cli_inifile             = "${config_root}/cli/php.ini"
-      $dev_package_suffix      = 'dev'
-      $fpm_pid_file            = $php::globals::globals_fpm_pid_file
-      $fpm_config_file         = "${config_root}/fpm/php-fpm.conf"
-      $fpm_error_log           = $php::globals::fpm_error_log
-      $fpm_inifile             = "${config_root}/fpm/php.ini"
-      $fpm_package_suffix      = 'fpm'
-      $fpm_pool_dir            = "${config_root}/fpm/pool.d"
-      $fpm_service_name        = $php::globals::fpm_service_name
-      $fpm_user                = 'www-data'
-      $fpm_group               = 'www-data'
-      $apache_inifile          = "${config_root}/apache2/php.ini"
-      $embedded_package_suffix = 'embed'
-      $embedded_inifile        = "${config_root}/embed/php.ini"
-      $package_prefix          = $php::globals::package_prefix
-      $compiler_packages       = 'build-essential'
-      $root_group              = 'root'
-      $ext_tool_enable         = $php::globals::ext_tool_enable
-      $ext_tool_query          = $php::globals::ext_tool_query
-      $ext_tool_enabled        = true
-
-      case $facts['os']['name'] {
-        'Debian': {
-          $manage_repos = (versioncmp($facts['os']['release']['major'], '8') < 0)
-        }
-
-        'Ubuntu': {
-          $manage_repos = false
-        }
-
-        default: {
-          $manage_repos = false
-        }
-      }
-    }
-
-    'Suse': {
-      if ($php::globals::php_version != undef) {
-        $php_version_major = regsubst($php::globals::php_version, '^(\d+)\.(\d+)$','\1')
-      } else {
-        $php_version_major = 5
-      }
-
-      $config_root             = $php::globals::globals_config_root
-      $config_root_ini         = "${config_root}/conf.d"
-      $config_root_inifile     = "${config_root}/php.ini"
-      $common_package_names    = ["php${php_version_major}"]
-      $common_package_suffixes = []
-      $cli_inifile             = "${config_root}/cli/php.ini"
-      $dev_package_suffix      = 'devel'
-      $fpm_pid_file            = $php::globals::globals_fpm_pid_file
-      $fpm_config_file         = "${config_root}/fpm/php-fpm.conf"
-      $fpm_error_log           = $php::globals::fpm_error_log
-      $fpm_inifile             = "${config_root}/fpm/php.ini"
-      $fpm_package_suffix      = 'fpm'
-      $fpm_pool_dir            = "${config_root}/fpm/pool.d"
-      $fpm_service_name        = 'php-fpm'
-      $fpm_user                = 'wwwrun'
-      $fpm_group               = 'www'
-      $embedded_package_suffix = 'embed'
-      $embedded_inifile        = "${config_root}/embed/php.ini"
-      $package_prefix          = $php::globals::package_prefix
-      $manage_repos            = true
-      $root_group              = 'root'
-      $ext_tool_enable         = undef
-      $ext_tool_query          = undef
-      $ext_tool_enabled        = false
-      case $facts['os']['name'] {
-        'SLES': {
-          $compiler_packages = []
-        }
-        'OpenSuSE': {
-          $compiler_packages = 'devel_basis'
-        }
-        default: {
-          fail("Unsupported operating system ${facts['os']['name']}")
-        }
-      }
-    }
-    'RedHat': {
-      $config_root_ini         = '/etc/php.d'
-      $config_root_inifile     = '/etc/php.ini'
-      $common_package_names    = []
-      $common_package_suffixes = ['cli', 'common']
-      $cli_inifile             = '/etc/php-cli.ini'
-      $dev_package_suffix      = 'devel'
-      $fpm_pid_file            = $php::globals::globals_fpm_pid_file
-      $fpm_config_file         = '/etc/php-fpm.conf'
-      $fpm_error_log           = '/var/log/php-fpm/error.log'
-      $fpm_inifile             = '/etc/php-fpm.ini'
-      $fpm_package_suffix      = 'fpm'
-      $fpm_pool_dir            = '/etc/php-fpm.d'
-      $fpm_service_name        = 'php-fpm'
-      $fpm_user                = 'apache'
-      $fpm_group               = 'apache'
-      $apache_inifile          = '/etc/php.ini'
-      $embedded_package_suffix = 'embedded'
-      $embedded_inifile        = '/etc/php.ini'
-      $package_prefix          = 'php-'
-      $compiler_packages       = ['gcc', 'gcc-c++', 'make']
-      $manage_repos            = false
-      $root_group              = 'root'
-      $ext_tool_enable         = undef
-      $ext_tool_query          = undef
-      $ext_tool_enabled        = false
-    }
-    'FreeBSD': {
-      $config_root             = $php::globals::globals_config_root
-      $config_root_ini         = "${config_root}/php"
-      $config_root_inifile     = "${config_root}/php.ini"
-      # No common packages, because the required PHP base package will be
-      # pulled in as a dependency. This preserves the ability to choose
-      # any available PHP version by setting the 'package_prefix' parameter.
-      $common_package_names    = []
-      $common_package_suffixes = ['extensions']
-      $cli_inifile             = "${config_root}/php-cli.ini"
-      $dev_package_suffix      = undef
-      $fpm_pid_file            = $php::globals::globals_fpm_pid_file
-      $fpm_config_file         = "${config_root}/php-fpm.conf"
-      $fpm_error_log           = '/var/log/php-fpm.log'
-      $fpm_inifile             = "${config_root}/php-fpm.ini"
-      $fpm_package_suffix      = undef
-      $fpm_pool_dir            = "${config_root}/php-fpm.d"
-      $fpm_service_name        = 'php-fpm'
-      $fpm_user                = 'www'
-      $fpm_group               = 'www'
-      $embedded_package_suffix = 'embed'
-      $embedded_inifile        = "${config_root}/php-embed.ini"
-      $package_prefix          = 'php56-'
-      $compiler_packages       = ['gcc']
-      $manage_repos            = false
-      $root_group              = 'wheel'
-      $ext_tool_enable         = undef
-      $ext_tool_query          = undef
-      $ext_tool_enabled        = false
-    }
-    'Archlinux': {
-      $config_root_ini         = '/etc/php/conf.d'
-      $config_root_inifile     = '/etc/php/php.ini'
-      $common_package_names    = []
-      $common_package_suffixes = ['cli', 'common']
-      $cli_inifile             = '/etc/php/php.ini'
-      $dev_package_suffix      = undef
-      $fpm_pid_file            = '/run/php-fpm/php-fpm.pid'
-      $fpm_config_file         = '/etc/php/php-fpm.conf'
-      $fpm_error_log           = '/var/log/php-fpm/error.log'
-      $fpm_inifile             = '/etc/php/php.ini'
-      $fpm_package_suffix      = 'fpm'
-      $fpm_pool_dir            = '/etc/php/php-fpm.d'
-      $fpm_service_name        = 'php-fpm'
-      $fpm_user                = 'root'
-      $fpm_group               = 'root'
-      $apache_inifile          = '/etc/php/php.ini'
-      $embedded_package_suffix = 'embedded'
-      $embedded_inifile        = '/etc/php/php.ini'
-      $package_prefix          = 'php-'
-      $compiler_packages       = ['gcc', 'make']
-      $manage_repos            = false
-      $root_group              = 'root'
-      $ext_tool_enable         = undef
-      $ext_tool_query          = undef
-      $ext_tool_enabled        = false
-    }
-    default: {
-      fail("Unsupported osfamily: ${facts['os']['family']}")
-    }
-  }
-}
-
-
-
- - - -
- - \ No newline at end of file diff --git a/docs/puppet_classes/php_3A_3Apear.html b/docs/puppet_classes/php_3A_3Apear.html deleted file mode 100644 index 29b72d5c..00000000 --- a/docs/puppet_classes/php_3A_3Apear.html +++ /dev/null @@ -1,258 +0,0 @@ - - - - - - - Puppet Class: php::pear - - — Documentation by YARD 0.9.9 - - - - - - - - - - - - - - - - - - - -
- - -

Puppet Class: php::pear

-
- -
-
Inherits:
-
::php::params
-
- - -
-
Defined in:
-
- manifests/pear.pp -
-
-
- -

Overview

-
-
-

Install PEAR package manager

- -

=== Parameters

- -

[ensure] - The package ensure of PHP pear to install and run pear auto_discover

- -

[package] - The package name for PHP pear

- -
-
-
-

Parameters:

-
    - -
  • - - ensure - - - (String) - - - (defaults to: $::php::pear_ensure) - - -
  • - -
  • - - package - - - (Optional[String]) - - - (defaults to: undef) - - -
  • - -
- - -
- - - - - -
-
-
-
-11
-12
-13
-14
-15
-16
-17
-18
-19
-20
-21
-22
-23
-24
-25
-26
-27
-28
-29
-30
-31
-32
-33
-34
-35
-36
-37
-38
-39
-40
-41
-42
-43
-44
-45
-46
-47
-48
-49
-50
-51
-52
-53
-54
-55
-56
-57
-58
-59
-60
-61
-62
-63
-64
-
-
# File 'manifests/pear.pp', line 11
-
-class php::pear (
-  String $ensure            = $::php::pear_ensure,
-  Optional[String] $package = undef,
-) inherits ::php::params {
-
-  if $caller_module_name != $module_name {
-    warning('php::pear is private')
-  }
-
-  # Defaults for the pear package name
-  if $package {
-    $package_name = $package
-  } else {
-    case $facts['os']['family'] {
-      'Debian': {
-        # Debian is a litte stupid: The pear package is called 'php-pear'
-        # even though others are called 'php5-fpm' or 'php5-dev'
-        $package_name = "php-${::php::params::pear_package_suffix}"
-      }
-      'Amazon': {
-        # On Amazon Linux the package name is also just 'php-pear'.
-        # This would normally not be problematic but if you specify a
-        # package_prefix other than 'php' then it will fail.
-        $package_name = "php-${::php::params::pear_package_suffix}"
-      }
-      'FreeBSD': {
-        # On FreeBSD the package name is just 'pear'.
-        $package_name = $::php::params::pear_package_suffix
-      }
-      default: {
-        # This is the default for all other architectures
-        $package_name = "${::php::package_prefix}${::php::params::pear_package_suffix}"
-      }
-    }
-  }
-
-  # Default PHP come with xml module and no seperate package for it
-  if $facts['os']['name'] == 'Ubuntu' and versioncmp($facts['os']['release']['full'], '16.04') >= 0 {
-    ensure_packages(["${php::package_prefix}xml"], {
-      ensure  => present,
-      require => Class['::apt::update'],
-    })
-
-    package { $package_name:
-      ensure  => $ensure,
-      require => [Class['::apt::update'],Class['::php::cli'],Package["${php::package_prefix}xml"]],
-    }
-  } else {
-    package { $package_name:
-      ensure  => $ensure,
-      require => Class['::php::cli'],
-    }
-  }
-}
-
-
-
- - - -
- - \ No newline at end of file diff --git a/docs/puppet_classes/php_3A_3Aphpunit.html b/docs/puppet_classes/php_3A_3Aphpunit.html deleted file mode 100644 index 582bc416..00000000 --- a/docs/puppet_classes/php_3A_3Aphpunit.html +++ /dev/null @@ -1,248 +0,0 @@ - - - - - - - Puppet Class: php::phpunit - - — Documentation by YARD 0.9.9 - - - - - - - - - - - - - - - - - - - -
- - -

Puppet Class: php::phpunit

-
- -
-
Inherits:
-
::php::params
-
- - -
-
Defined in:
-
- manifests/phpunit.pp -
-
-
- -

Overview

-
-
-

Install phpunit, PHP testing framework

- -

=== Parameters

- -

[source] - Holds URL to the phpunit source file

- -

[path] - Holds path to the phpunit executable

- -

[auto_update] - Defines if phpunit should be auto updated

- -

[max_age] - Defines the time in days after which an auto-update gets executed

- -
-
-
-

Parameters:

-
    - -
  • - - source - - - (String) - - - (defaults to: $::php::params::phpunit_source) - - -
  • - -
  • - - path - - - (Stdlib::Absolutepath) - - - (defaults to: $::php::params::phpunit_path) - - -
  • - -
  • - - auto_update - - - (Boolean) - - - (defaults to: true) - - -
  • - -
  • - - max_age - - - (Integer) - - - (defaults to: $::php::params::phpunit_max_age) - - -
  • - -
- - -
- - - - - -
-
-
-
-17
-18
-19
-20
-21
-22
-23
-24
-25
-26
-27
-28
-29
-30
-31
-32
-33
-34
-35
-36
-37
-38
-39
-40
-41
-42
-43
-44
-45
-46
-47
-48
-49
-
-
# File 'manifests/phpunit.pp', line 17
-
-class php::phpunit (
-  String $source             = $::php::params::phpunit_source,
-  Stdlib::Absolutepath $path = $::php::params::phpunit_path,
-  Boolean $auto_update       = true,
-  Integer $max_age           = $::php::params::phpunit_max_age,
-) inherits ::php::params {
-
-  if $caller_module_name != $module_name {
-    warning('php::phpunit is private')
-  }
-
-  ensure_packages(['wget'])
-
-  exec { 'download phpunit':
-    command => "wget ${source} -O ${path}",
-    creates => $path,
-    path    => ['/bin/', '/sbin/' , '/usr/bin/', '/usr/sbin/'],
-    require => [Class['::php::cli'],Package['wget']],
-  }
-  -> file { $path:
-    mode  => '0555',
-    owner => root,
-    group => root,
-  }
-
-  if $auto_update {
-    class { '::php::phpunit::auto_update':
-      max_age => $max_age,
-      source  => $source,
-      path    => $path,
-    }
-  }
-}
-
-
-
- - - -
- - \ No newline at end of file diff --git a/docs/puppet_classes/php_3A_3Aphpunit_3A_3Aauto_update.html b/docs/puppet_classes/php_3A_3Aphpunit_3A_3Aauto_update.html deleted file mode 100644 index 8f18a304..00000000 --- a/docs/puppet_classes/php_3A_3Aphpunit_3A_3Aauto_update.html +++ /dev/null @@ -1,189 +0,0 @@ - - - - - - - Puppet Class: php::phpunit::auto_update - - — Documentation by YARD 0.9.9 - - - - - - - - - - - - - - - - - - - -
- - -

Puppet Class: php::phpunit::auto_update

-
- - -
-
Defined in:
-
- manifests/phpunit/auto_update.pp -
-
-
- -

Overview

-
-
-

Install phpunit package manager

- -

=== Parameters

- -

[max_age] - Defines number of days after which phpunit should be updated

- -

[source] - Holds URL to the phpunit source file

- -

[path] - Holds path to the phpunit executable

- -
-
-
-

Parameters:

-
    - -
  • - - max_age - - - (Any) - - - -
  • - -
  • - - source - - - (Any) - - - -
  • - -
  • - - path - - - (Any) - - - -
  • - -
- - -
- - - - - -
-
-
-
-14
-15
-16
-17
-18
-19
-20
-21
-22
-23
-24
-25
-26
-27
-28
-29
-30
-
-
# File 'manifests/phpunit/auto_update.pp', line 14
-
-class php::phpunit::auto_update (
-  $max_age,
-  $source,
-  $path,
-) {
-
-  if $caller_module_name != $module_name {
-    warning('php::phpunit::auto_update is private')
-  }
-
-  exec { 'update phpunit':
-    command => "wget ${source} -O ${path}",
-    onlyif  => "test `find '${path}' -mtime +${max_age}`",
-    path    => [ '/bin/', '/sbin/' , '/usr/bin/', '/usr/sbin/' ],
-    require => File[$path],
-  }
-}
-
-
-
- - - -
- - \ No newline at end of file diff --git a/docs/puppet_classes/php_3A_3Arepo.html b/docs/puppet_classes/php_3A_3Arepo.html deleted file mode 100644 index 21009ea7..00000000 --- a/docs/puppet_classes/php_3A_3Arepo.html +++ /dev/null @@ -1,169 +0,0 @@ - - - - - - - Puppet Class: php::repo - - — Documentation by YARD 0.9.9 - - - - - - - - - - - - - - - - - - - -
- - -

Puppet Class: php::repo

-
- - -
-
Defined in:
-
- manifests/repo.pp -
-
-
- -

Overview

-
-
-

Configure package repository

- -
-
-
- - -
- - - - - -
-
-
-
-3
-4
-5
-6
-7
-8
-9
-10
-11
-12
-13
-14
-15
-16
-17
-18
-19
-20
-21
-22
-23
-24
-25
-26
-27
-28
-29
-30
-31
-32
-33
-
-
# File 'manifests/repo.pp', line 3
-
-class php::repo {
-
-  $msg_no_repo = "No repo available for ${facts['os']['family']}/${facts['os']['name']}"
-
-  case $facts['os']['family'] {
-    'Debian': {
-      # no contain here because apt does that already
-      case $facts['os']['name'] {
-        'Debian': {
-          include ::php::repo::debian
-        }
-        'Ubuntu': {
-          include ::php::repo::ubuntu
-        }
-        default: {
-          fail($msg_no_repo)
-        }
-      }
-    }
-    'FreeBSD': {}
-    'Suse': {
-      contain ::php::repo::suse
-    }
-    'RedHat': {
-      contain '::php::repo::redhat'
-    }
-    default: {
-      fail($msg_no_repo)
-    }
-  }
-}
-
-
-
- - - -
- - \ No newline at end of file diff --git a/docs/puppet_classes/php_3A_3Arepo_3A_3Adebian.html b/docs/puppet_classes/php_3A_3Arepo_3A_3Adebian.html deleted file mode 100644 index d58c119f..00000000 --- a/docs/puppet_classes/php_3A_3Arepo_3A_3Adebian.html +++ /dev/null @@ -1,312 +0,0 @@ - - - - - - - Puppet Class: php::repo::debian - - — Documentation by YARD 0.9.9 - - - - - - - - - - - - - - - - - - - -
- - -

Puppet Class: php::repo::debian

-
- - -
-
Defined in:
-
- manifests/repo/debian.pp -
-
-
- -

Overview

-
-
-

Configure debian apt repo

- -

=== Parameters

- -

[location] - Location of the apt repository

- -

[release] - Release of the apt repository

- -

[repos] - Apt repository names

- -

[include_src] - Add source source repository

- -

[key] - Public key in apt::key format

- -

[dotdeb] - Enable special dotdeb handling

- -
-
-
-

Parameters:

-
    - -
  • - - location - - - (Any) - - - (defaults to: 'http://packages.dotdeb.org') - - -
  • - -
  • - - release - - - (Any) - - - (defaults to: 'wheezy-php56') - - -
  • - -
  • - - repos - - - (Any) - - - (defaults to: 'all') - - -
  • - -
  • - - include_src - - - (Any) - - - (defaults to: false) - - -
  • - -
  • - - key - - - (Any) - - - (defaults to: { - 'id' => '6572BBEF1B5FF28B28B706837E3F070089DF5277', - 'source' => 'http://www.dotdeb.org/dotdeb.gpg', - }) - - -
  • - -
  • - - dotdeb - - - (Any) - - - (defaults to: true) - - -
  • - -
- - -
- - - - - -
-
-
-
-23
-24
-25
-26
-27
-28
-29
-30
-31
-32
-33
-34
-35
-36
-37
-38
-39
-40
-41
-42
-43
-44
-45
-46
-47
-48
-49
-50
-51
-52
-53
-54
-55
-56
-57
-58
-59
-60
-61
-62
-63
-64
-65
-66
-67
-68
-69
-70
-71
-72
-
-
# File 'manifests/repo/debian.pp', line 23
-
-class php::repo::debian(
-  $location     = 'http://packages.dotdeb.org',
-  $release      = 'wheezy-php56',
-  $repos        = 'all',
-  $include_src  = false,
-  $key          = {
-    'id'     => '6572BBEF1B5FF28B28B706837E3F070089DF5277',
-    'source' => 'http://www.dotdeb.org/dotdeb.gpg',
-  },
-  $dotdeb       = true,
-) {
-
-  if $caller_module_name != $module_name {
-    warning('php::repo::debian is private')
-  }
-
-  include '::apt'
-
-  create_resources(::apt::key, { 'php::repo::debian' => {
-    id     => $key['id'],
-    source => $key['source'],
-  }})
-
-  ::apt::source { "source_php_${release}":
-    location => $location,
-    release  => $release,
-    repos    => $repos,
-    include  => {
-      'src' => $include_src,
-      'deb' => true,
-    },
-    require  => Apt::Key['php::repo::debian'],
-  }
-
-  if ($dotdeb) {
-    # both repositories are required to work correctly
-    # See: http://www.dotdeb.org/instructions/
-    if $release == 'wheezy-php56' {
-      ::apt::source { 'dotdeb-wheezy':
-        location => $location,
-        release  => 'wheezy',
-        repos    => $repos,
-        include  => {
-          'src' => $include_src,
-          'deb' => true,
-        },
-      }
-    }
-  }
-}
-
-
-
- - - -
- - \ No newline at end of file diff --git a/docs/puppet_classes/php_3A_3Arepo_3A_3Aredhat.html b/docs/puppet_classes/php_3A_3Arepo_3A_3Aredhat.html deleted file mode 100644 index 05734b32..00000000 --- a/docs/puppet_classes/php_3A_3Arepo_3A_3Aredhat.html +++ /dev/null @@ -1,177 +0,0 @@ - - - - - - - Puppet Class: php::repo::redhat - - — Documentation by YARD 0.9.9 - - - - - - - - - - - - - - - - - - - -
- - -

Puppet Class: php::repo::redhat

-
- - -
-
Defined in:
-
- manifests/repo/redhat.pp -
-
-
- -

Overview

-
-
- -
-
-
-

Parameters:

-
    - -
  • - - yum_repo - - - (Any) - - - (defaults to: 'remi_php56') - - -
  • - -
- - -
- - - - - -
-
-
-
-9
-10
-11
-12
-13
-14
-15
-16
-17
-18
-19
-20
-21
-22
-23
-24
-25
-26
-27
-28
-29
-30
-31
-32
-33
-34
-35
-
-
# File 'manifests/repo/redhat.pp', line 9
-
-class php::repo::redhat (
-  $yum_repo = 'remi_php56',
-) {
-
-  $releasever = $facts['os']['name'] ? {
-    /(?i:Amazon)/ => '6',
-    default       => '$releasever',  # Yum var
-  }
-
-  yumrepo { 'remi':
-    descr      => 'Remi\'s RPM repository for Enterprise Linux $releasever - $basearch',
-    mirrorlist => "https://rpms.remirepo.net/enterprise/${releasever}/remi/mirror",
-    enabled    => 1,
-    gpgcheck   => 1,
-    gpgkey     => 'https://rpms.remirepo.net/RPM-GPG-KEY-remi',
-    priority   => 1,
-  }
-
-  yumrepo { 'remi-php56':
-    descr      => 'Remi\'s PHP 5.6 RPM repository for Enterprise Linux $releasever - $basearch',
-    mirrorlist => "https://rpms.remirepo.net/enterprise/${releasever}/php56/mirror",
-    enabled    => 1,
-    gpgcheck   => 1,
-    gpgkey     => 'https://rpms.remirepo.net/RPM-GPG-KEY-remi',
-    priority   => 1,
-  }
-}
-
-
-
- - - -
- - \ No newline at end of file diff --git a/docs/puppet_classes/php_3A_3Arepo_3A_3Asuse.html b/docs/puppet_classes/php_3A_3Arepo_3A_3Asuse.html deleted file mode 100644 index 43e07075..00000000 --- a/docs/puppet_classes/php_3A_3Arepo_3A_3Asuse.html +++ /dev/null @@ -1,175 +0,0 @@ - - - - - - - Puppet Class: php::repo::suse - - — Documentation by YARD 0.9.9 - - - - - - - - - - - - - - - - - - - -
- - -

Puppet Class: php::repo::suse

-
- - -
-
Defined in:
-
- manifests/repo/suse.pp -
-
-
- -

Overview

-
-
-

Configure suse repo

- -

=== Parameters

- -

[reponame] - Name of the Zypper repository

- -

[baseurl] - Base URL of the Zypper repository

- -
-
-
-

Parameters:

-
    - -
  • - - reponame - - - (Any) - - - (defaults to: 'mayflower-php56') - - -
  • - -
  • - - baseurl - - - (Any) - - - (defaults to: 'http://download.opensuse.org/repositories/home:/mayflower:/php5.6_based/SLE_11_SP3/') - - -
  • - -
- - -
- - - - - -
-
-
-
-11
-12
-13
-14
-15
-16
-17
-18
-19
-20
-21
-22
-23
-24
-25
-
-
# File 'manifests/repo/suse.pp', line 11
-
-class php::repo::suse (
-  $reponame = 'mayflower-php56',
-  $baseurl  = 'http://download.opensuse.org/repositories/home:/mayflower:/php5.6_based/SLE_11_SP3/',
-) {
-  zypprepo { $reponame:
-    baseurl     => $baseurl,
-    enabled     => 1,
-    autorefresh => 1,
-  }
-  ~> exec { 'zypprepo-accept-key':
-    command     => 'zypper --gpg-auto-import-keys update -y',
-    path        => '/usr/bin:/bin',
-    refreshonly => true,
-  }
-}
-
-
-
- - - -
- - \ No newline at end of file diff --git a/docs/puppet_classes/php_3A_3Arepo_3A_3Aubuntu.html b/docs/puppet_classes/php_3A_3Arepo_3A_3Aubuntu.html deleted file mode 100644 index f41785ac..00000000 --- a/docs/puppet_classes/php_3A_3Arepo_3A_3Aubuntu.html +++ /dev/null @@ -1,177 +0,0 @@ - - - - - - - Puppet Class: php::repo::ubuntu - - — Documentation by YARD 0.9.9 - - - - - - - - - - - - - - - - - - - -
- - -

Puppet Class: php::repo::ubuntu

-
- - -
-
Defined in:
-
- manifests/repo/ubuntu.pp -
-
-
- -

Overview

-
-
-

Configure ubuntu ppa

- -

=== Parameters

- -

[version] - PHP version to manage (e.g. 5.6)

- -
-
-
-

Parameters:

-
    - -
  • - - version - - - (Any) - - - (defaults to: undef) - - -
  • - -
- - -
- - - - - -
-
-
-
-8
-9
-10
-11
-12
-13
-14
-15
-16
-17
-18
-19
-20
-21
-22
-23
-24
-25
-26
-27
-28
-29
-30
-31
-
-
# File 'manifests/repo/ubuntu.pp', line 8
-
-class php::repo::ubuntu (
-  $version   = undef,
-) {
-  include '::apt'
-
-  if($version == undef) {
-    $version_real = '5.6'
-  } else {
-    $version_real = $version
-  }
-
-  if ($version_real == '5.5') {
-    fail('PHP 5.5 is no longer available for download')
-  }
-  assert_type(Pattern[/^\d\.\d/], $version_real)
-
-  $version_repo = $version_real ? {
-    '5.4' => 'ondrej/php5-oldstable',
-    '5.6' => 'ondrej/php',
-    '7.0' => 'ondrej/php'
-  }
-
-  ::apt::ppa { "ppa:${version_repo}": }
-}
-
-
-
- - - -
- - \ No newline at end of file diff --git a/docs/puppet_defined_type_list.html b/docs/puppet_defined_type_list.html deleted file mode 100644 index 344a86a7..00000000 --- a/docs/puppet_defined_type_list.html +++ /dev/null @@ -1,104 +0,0 @@ - - - - - - - - - - - - - - - - - - Defined Type List - - - -
-
-

Defined Type List

- - - -
- - -
- - diff --git a/docs/puppet_defined_types/php_3A_3Aapache_vhost.html b/docs/puppet_defined_types/php_3A_3Aapache_vhost.html deleted file mode 100644 index 03dea06f..00000000 --- a/docs/puppet_defined_types/php_3A_3Aapache_vhost.html +++ /dev/null @@ -1,223 +0,0 @@ - - - - - - - Defined Type: php::apache_vhost - - — Documentation by YARD 0.9.9 - - - - - - - - - - - - - - - - - - - -
- - -

Defined Type: php::apache_vhost

-
-
-
Defined in:
-
- manifests/apache_vhost.pp -
-
-
- -

Overview

-
-
-

Configures an apache vhost for php

- -

=== Parameters

- -

[vhost] - The vhost address

- -

[docroot] - The vhost docroot

- -

[port] - The vhost port

- -

[default_vhost] - defines if vhost is the default vhost

- -

[fastcgi_socket] - address of the fastcgi socket

- -
-
-
-

Parameters:

-
    - -
  • - - vhost - - - (Any) - - - (defaults to: 'example.com') - - -
  • - -
  • - - docroot - - - (Any) - - - (defaults to: '/var/www') - - -
  • - -
  • - - port - - - (Any) - - - (defaults to: 80) - - -
  • - -
  • - - default_vhost - - - (Any) - - - (defaults to: true) - - -
  • - -
  • - - fastcgi_socket - - - (Any) - - - (defaults to: 'fcgi://127.0.0.1:9000/$1') - - -
  • - -
- - -
- - - - - -
-
-
-
-20
-21
-22
-23
-24
-25
-26
-27
-28
-29
-30
-31
-32
-33
-34
-35
-
-
# File 'manifests/apache_vhost.pp', line 20
-
-define php::apache_vhost(
-  $vhost          = 'example.com',
-  $docroot        = '/var/www',
-  $port           = 80,
-  $default_vhost  = true,
-  $fastcgi_socket = 'fcgi://127.0.0.1:9000/$1'
-) {
-
-  ::apache::vhost { $vhost:
-    docroot         => $docroot,
-    default_vhost   => $default_vhost,
-    port            => $port,
-    override        => 'all',
-    custom_fragment => "ProxyPassMatch ^/(.*\\.php(/.*)?)$ ${fastcgi_socket}",
-  }
-}
-
-
-
- - - -
- - \ No newline at end of file diff --git a/docs/puppet_defined_types/php_3A_3Aconfig.html b/docs/puppet_defined_types/php_3A_3Aconfig.html deleted file mode 100644 index 4dcdc194..00000000 --- a/docs/puppet_defined_types/php_3A_3Aconfig.html +++ /dev/null @@ -1,174 +0,0 @@ - - - - - - - Defined Type: php::config - - — Documentation by YARD 0.9.9 - - - - - - - - - - - - - - - - - - - -
- - -

Defined Type: php::config

-
-
-
Defined in:
-
- manifests/config.pp -
-
-
- -

Overview

-
-
-

Configure php.ini settings for a PHP SAPI

- -

=== Parameters

- -

[file] - The path to ini file

- -

[config] - Nested hash of key => value to apply to php.ini

- -

=== Examples

- -

php::config { '$unique-name': - file => '$full_path_to_ini_file' - config => { - => 'Europe/Berlin' - } - }

- -
-
-
-

Parameters:

-
    - -
  • - - file - - - (Stdlib::Absolutepath) - - - -
  • - -
  • - - config - - - (Hash) - - - -
  • - -
- - -
- - - - - -
-
-
-
-20
-21
-22
-23
-24
-25
-26
-27
-28
-29
-30
-31
-32
-
-
# File 'manifests/config.pp', line 20
-
-define php::config(
-  Stdlib::Absolutepath $file,
-  Hash $config
-) {
-
-  if $caller_module_name != $module_name {
-    warning('php::config is private')
-  }
-
-  create_resources(::php::config::setting, to_hash_settings($config, $file), {
-    file => $file
-  })
-}
-
-
-
- - - -
- - \ No newline at end of file diff --git a/docs/puppet_defined_types/php_3A_3Aconfig_3A_3Asetting.html b/docs/puppet_defined_types/php_3A_3Aconfig_3A_3Asetting.html deleted file mode 100644 index c7b487bd..00000000 --- a/docs/puppet_defined_types/php_3A_3Aconfig_3A_3Asetting.html +++ /dev/null @@ -1,226 +0,0 @@ - - - - - - - Defined Type: php::config::setting - - — Documentation by YARD 0.9.9 - - - - - - - - - - - - - - - - - - - -
- - -

Defined Type: php::config::setting

-
-
-
Defined in:
-
- manifests/config/setting.pp -
-
-
- -

Overview

-
-
-

Configure php.ini settings

- -

=== Parameters

- -

[key] - The key of the value, like ini_setting

- -

[file] - The path to ini file

- -

[value] - The value to set

- -

=== Examples

- -

php::config::setting { 'Date/date.timezone': - file => '$full_path_to_ini_file' - value => 'Europe/Berlin' - }

- -
-
-
-

Parameters:

-
    - -
  • - - key - - - (Any) - - - -
  • - -
  • - - value - - - (Any) - - - -
  • - -
  • - - file - - - (Stdlib::Absolutepath) - - - -
  • - -
- - -
- - - - - -
-
-
-
-21
-22
-23
-24
-25
-26
-27
-28
-29
-30
-31
-32
-33
-34
-35
-36
-37
-38
-39
-40
-41
-42
-43
-44
-45
-46
-47
-48
-49
-50
-51
-52
-53
-
-
# File 'manifests/config/setting.pp', line 21
-
-define php::config::setting(
-  $key,
-  $value,
-  Stdlib::Absolutepath $file,
-) {
-
-  if $caller_module_name != $module_name {
-    warning('php::config::setting is private')
-  }
-
-  $split_name = split($key, '/')
-  if count($split_name) == 1 {
-    $section = '' # lint:ignore:empty_string_assignment
-    $setting = $split_name[0]
-  } else {
-    $section = $split_name[0]
-    $setting = $split_name[1]
-  }
-
-  if $value == undef {
-    $ensure = 'absent'
-  } else {
-    $ensure = 'present'
-  }
-
-  ini_setting { $name:
-    ensure  => $ensure,
-    value   => $value,
-    path    => $file,
-    section => $section,
-    setting => $setting,
-  }
-}
-
-
-
- - - -
- - \ No newline at end of file diff --git a/docs/puppet_defined_types/php_3A_3Aextension.html b/docs/puppet_defined_types/php_3A_3Aextension.html deleted file mode 100644 index 163e0674..00000000 --- a/docs/puppet_defined_types/php_3A_3Aextension.html +++ /dev/null @@ -1,460 +0,0 @@ - - - - - - - Defined Type: php::extension - - — Documentation by YARD 0.9.9 - - - - - - - - - - - - - - - - - - - -
- - -

Defined Type: php::extension

-
-
-
Defined in:
-
- manifests/extension.pp -
-
-
- -

Overview

-
-
-

Install a PHP extension package

- -

=== Parameters

- -

[ensure] - The ensure of the package to install - Could be "latest", "installed" or a pinned version

- -

[package_prefix] - Prefix to prepend to the package name for the package provider

- -

[provider] - The provider used to install the package - Could be "pecl", "apt", "dpkg" or any other OS package provider - If set to "none", no package will be installed

- -

[source] - The source to install the extension from. Possible values - depend on the provider used

- -

[so_name] - The DSO name of the package (e.g. opcache for zendopcache)

- -

[ini_prefix] - An optional filename prefix for the settings file of the extension

- -

[php_api_version] - This parameter is used to build the full path to the extension - directory for zend_extension in PHP < 5.5 (e.g. 20100525)

- -

[header_packages] - System packages dependencies to install for extensions (e.g. for - memcached libmemcached-dev on Debian)

- -

[compiler_packages] - System packages dependencies to install for compiling extensions - (e.g. build-essential on Debian)

- -

[zend] - Boolean parameter, whether to load extension as zend_extension. - Defaults to false.

- -

[settings] - Nested hash of global config parameters for php.ini

- -

[settings_prefix] - Boolean/String parameter, whether to prefix all setting keys with - the extension name or specified name. Defaults to false.

- -

[sapi] - String parameter, whether to specify ALL sapi or a specific sapi. - Defaults to ALL.

- -

[responsefile] - File containing answers for interactive extension setup. Supported - providers: pear, pecl.

- -

[install_options] - Array of String or Hash options to pass to the provider.

- -
-
-
-

Parameters:

-
    - -
  • - - ensure - - - (String) - - - (defaults to: 'installed') - - -
  • - -
  • - - provider - - - (Optional[Php::Provider]) - - - (defaults to: undef) - - -
  • - -
  • - - source - - - (Optional[String]) - - - (defaults to: undef) - - -
  • - -
  • - - so_name - - - (Optional[String]) - - - (defaults to: downcase($name)) - - -
  • - -
  • - - ini_prefix - - - (Optional[String]) - - - (defaults to: undef) - - -
  • - -
  • - - php_api_version - - - (Optional[String]) - - - (defaults to: undef) - - -
  • - -
  • - - package_prefix - - - (String) - - - (defaults to: $::php::package_prefix) - - -
  • - -
  • - - zend - - - (Boolean) - - - (defaults to: false) - - -
  • - -
  • - - settings - - - (Hash) - - - (defaults to: {}) - - -
  • - -
  • - - sapi - - - (Php::Sapi) - - - (defaults to: 'ALL') - - -
  • - -
  • - - settings_prefix - - - (Variant[Boolean, String]) - - - (defaults to: false) - - -
  • - -
  • - - responsefile - - - (Optional[Stdlib::AbsolutePath]) - - - (defaults to: undef) - - -
  • - -
  • - - header_packages - - - (Variant[String, Array[String]]) - - - (defaults to: []) - - -
  • - -
  • - - compiler_packages - - - (Variant[String, Array[String]]) - - - (defaults to: $::php::params::compiler_packages) - - -
  • - -
  • - - install_options - - - (Php::InstallOptions) - - - (defaults to: undef) - - -
  • - -
- - -
- - - - - -
-
-
-
-61
-62
-63
-64
-65
-66
-67
-68
-69
-70
-71
-72
-73
-74
-75
-76
-77
-78
-79
-80
-81
-82
-83
-84
-85
-86
-87
-88
-89
-90
-91
-92
-93
-94
-95
-96
-97
-98
-99
-100
-101
-102
-103
-104
-105
-106
-107
-108
-109
-
-
# File 'manifests/extension.pp', line 61
-
-define php::extension (
-  String           $ensure                          = 'installed',
-  Optional[Php::Provider] $provider                 = undef,
-  Optional[String] $source                          = undef,
-  Optional[String] $so_name                         = downcase($name),
-  Optional[String] $ini_prefix                      = undef,
-  Optional[String] $php_api_version                 = undef,
-  String           $package_prefix                  = $::php::package_prefix,
-  Boolean          $zend                            = false,
-  Hash             $settings                        = {},
-  Php::Sapi        $sapi                            = 'ALL',
-  Variant[Boolean, String]       $settings_prefix   = false,
-  Optional[Stdlib::AbsolutePath] $responsefile      = undef,
-  Variant[String, Array[String]] $header_packages   = [],
-  Variant[String, Array[String]] $compiler_packages = $::php::params::compiler_packages,
-  Php::InstallOptions $install_options              = undef,
-) {
-
-  if ! defined(Class['php']) {
-    warning('php::extension is private')
-  }
-
-  php::extension::install { $title:
-    ensure            => $ensure,
-    provider          => $provider,
-    source            => $source,
-    responsefile      => $responsefile,
-    package_prefix    => $package_prefix,
-    header_packages   => $header_packages,
-    compiler_packages => $compiler_packages,
-    install_options   => $install_options,
-  }
-
-  # PEAR packages don't require any further configuration, they just need to "be there".
-  if $provider != 'pear' {
-    php::extension::config { $title:
-      ensure          => $ensure,
-      provider        => $provider,
-      so_name         => $so_name,
-      ini_prefix      => $ini_prefix,
-      php_api_version => $php_api_version,
-      zend            => $zend,
-      settings        => $settings,
-      settings_prefix => $settings_prefix,
-      sapi            => $sapi,
-      subscribe       => Php::Extension::Install[$title],
-    }
-  }
-}
-
-
-
- - - -
- - \ No newline at end of file diff --git a/docs/puppet_defined_types/php_3A_3Aextension_3A_3Aconfig.html b/docs/puppet_defined_types/php_3A_3Aextension_3A_3Aconfig.html deleted file mode 100644 index 8b595692..00000000 --- a/docs/puppet_defined_types/php_3A_3Aextension_3A_3Aconfig.html +++ /dev/null @@ -1,418 +0,0 @@ - - - - - - - Defined Type: php::extension::config - - — Documentation by YARD 0.9.9 - - - - - - - - - - - - - - - - - - - -
- - -

Defined Type: php::extension::config

-
-
-
Defined in:
-
- manifests/extension/config.pp -
-
-
- -

Overview

-
-
-

Configure a PHP extension package

- -

=== Parameters

- -

[ensure] - The ensure of the package to install - Could be "latest", "installed" or a pinned version

- -

[provider] - The provider used to install the package - Could be "pecl", "apt", "dpkg" or any other OS package provider - If set to "none", no package will be installed

- -

[so_name] - The DSO name of the package (e.g. opcache for zendopcache)

- -

[ini_prefix] - An optional filename prefix for the settings file of the extension

- -

[php_api_version] - This parameter is used to build the full path to the extension - directory for zend_extension in PHP < 5.5 (e.g. 20100525)

- -

[header_packages] - System packages dependencies to install for extensions (e.g. for - memcached libmemcached-dev on Debian)

- -

[compiler_packages] - System packages dependencies to install for compiling extensions - (e.g. build-essential on Debian)

- -

[zend] - Boolean parameter, whether to load extension as zend_extension. - Defaults to false.

- -

[settings] - Nested hash of global config parameters for php.ini

- -

[settings_prefix] - Boolean/String parameter, whether to prefix all setting keys with - the extension name or specified name. Defaults to false.

- -

[sapi] - String parameter, whether to specify ALL sapi or a specific sapi. - Defaults to ALL.

- -
-
-
-

Parameters:

-
    - -
  • - - ensure - - - (String) - - - (defaults to: 'installed') - - -
  • - -
  • - - provider - - - (Optional[Php::Provider]) - - - (defaults to: undef) - - -
  • - -
  • - - so_name - - - (Optional[String]) - - - (defaults to: downcase($name)) - - -
  • - -
  • - - ini_prefix - - - (Optional[String]) - - - (defaults to: undef) - - -
  • - -
  • - - php_api_version - - - (Optional[String]) - - - (defaults to: undef) - - -
  • - -
  • - - zend - - - (Boolean) - - - (defaults to: false) - - -
  • - -
  • - - settings - - - (Hash) - - - (defaults to: {}) - - -
  • - -
  • - - settings_prefix - - - (Variant[Boolean, String]) - - - (defaults to: false) - - -
  • - -
  • - - sapi - - - (Php::Sapi) - - - (defaults to: 'ALL') - - -
  • - -
- - -
- - - - - -
-
-
-
-47
-48
-49
-50
-51
-52
-53
-54
-55
-56
-57
-58
-59
-60
-61
-62
-63
-64
-65
-66
-67
-68
-69
-70
-71
-72
-73
-74
-75
-76
-77
-78
-79
-80
-81
-82
-83
-84
-85
-86
-87
-88
-89
-90
-91
-92
-93
-94
-95
-96
-97
-98
-99
-100
-101
-102
-103
-104
-105
-106
-107
-108
-109
-110
-111
-112
-113
-114
-115
-116
-117
-118
-119
-120
-
-
# File 'manifests/extension/config.pp', line 47
-
-define php::extension::config (
-  String                   $ensure          = 'installed',
-  Optional[Php::Provider]  $provider        = undef,
-  Optional[String]         $so_name         = downcase($name),
-  Optional[String]         $ini_prefix      = undef,
-  Optional[String]         $php_api_version = undef,
-  Boolean                  $zend            = false,
-  Hash                     $settings        = {},
-  Variant[Boolean, String] $settings_prefix = false,
-  Php::Sapi                $sapi            = 'ALL',
-) {
-
-  if ! defined(Class['php']) {
-    warning('php::extension::config is private')
-  }
-
-  if $zend == true {
-    $extension_key = 'zend_extension'
-    $module_path = $php_api_version? {
-      undef   => undef,
-      default => "/usr/lib/php5/${php_api_version}/",
-    }
-  } else {
-    $extension_key = 'extension'
-    $module_path = undef
-  }
-
-  $ini_name = downcase($so_name)
-
-  # Ensure "<extension>." prefix is present in setting keys if requested
-  $full_settings = $settings_prefix? {
-    true   => ensure_prefix($settings, "${so_name}."),
-    false  => $settings,
-    String => ensure_prefix($settings, "${settings_prefix}."),
-  }
-
-  if $provider != 'pear' {
-    $final_settings = deep_merge(
-      {"${extension_key}" => "${module_path}${so_name}.so"},
-      $full_settings
-    )
-  } else {
-    $final_settings = $full_settings
-  }
-
-  $config_root_ini = pick_default($::php::config_root_ini, $::php::params::config_root_ini)
-  ::php::config { $title:
-    file   => "${config_root_ini}/${ini_prefix}${ini_name}.ini",
-    config => $final_settings,
-  }
-
-  # Ubuntu/Debian systems use the mods-available folder. We need to enable
-  # settings files ourselves with php5enmod command.
-  $ext_tool_enable   = pick_default($::php::ext_tool_enable, $::php::params::ext_tool_enable)
-  $ext_tool_query    = pick_default($::php::ext_tool_query, $::php::params::ext_tool_query)
-  $ext_tool_enabled  = pick_default($::php::ext_tool_enabled, $::php::params::ext_tool_enabled)
-
-  if $facts['os']['family'] == 'Debian' and $ext_tool_enabled {
-    $cmd = "${ext_tool_enable} -s ${sapi} ${so_name}"
-
-    $_sapi = $sapi? {
-      'ALL' => 'cli',
-      default => $sapi,
-    }
-    exec { $cmd:
-      onlyif  => "${ext_tool_query} -s ${_sapi} -m ${so_name} | /bin/grep 'No module matches ${so_name}'",
-      require => ::Php::Config[$title],
-    }
-
-    if $::php::fpm {
-      Package[$::php::fpm::package] ~> Exec[$cmd]
-    }
-  }
-}
-
-
-
- - - -
- - \ No newline at end of file diff --git a/docs/puppet_defined_types/php_3A_3Aextension_3A_3Ainstall.html b/docs/puppet_defined_types/php_3A_3Aextension_3A_3Ainstall.html deleted file mode 100644 index 3c73f7bf..00000000 --- a/docs/puppet_defined_types/php_3A_3Aextension_3A_3Ainstall.html +++ /dev/null @@ -1,356 +0,0 @@ - - - - - - - Defined Type: php::extension::install - - — Documentation by YARD 0.9.9 - - - - - - - - - - - - - - - - - - - -
- - -

Defined Type: php::extension::install

-
-
-
Defined in:
-
- manifests/extension/install.pp -
-
-
- -

Overview

-
-
-

Install a PHP extension package

- -

=== Parameters

- -

[ensure] - The ensure of the package to install - Could be "latest", "installed" or a pinned version

- -

[package_prefix] - Prefix to prepend to the package name for the package provider

- -

[provider] - The provider used to install the package - Could be "pecl", "apt", "dpkg" or any other OS package provider - If set to "none", no package will be installed

- -

[source] - The source to install the extension from. Possible values - depend on the provider used

- -

[header_packages] - System packages dependencies to install for extensions (e.g. for - memcached libmemcached-dev on Debian)

- -

[compiler_packages] - System packages dependencies to install for compiling extensions - (e.g. build-essential on Debian)

- -

[responsefile] - File containing answers for interactive extension setup. Supported - providers: pear, pecl.

- -

[install_options] - Array of String or Hash options to pass to the provider.

- -
-
-
-

Parameters:

-
    - -
  • - - ensure - - - (String) - - - (defaults to: 'installed') - - -
  • - -
  • - - provider - - - (Optional[Php::Provider]) - - - (defaults to: undef) - - -
  • - -
  • - - source - - - (Optional[String]) - - - (defaults to: undef) - - -
  • - -
  • - - package_prefix - - - (String) - - - (defaults to: $::php::package_prefix) - - -
  • - -
  • - - responsefile - - - (Optional[Stdlib::AbsolutePath]) - - - (defaults to: undef) - - -
  • - -
  • - - header_packages - - - (Variant[String, Array[String]]) - - - (defaults to: []) - - -
  • - -
  • - - compiler_packages - - - (Variant[String, Array[String]]) - - - (defaults to: $::php::params::compiler_packages) - - -
  • - -
  • - - install_options - - - (Php::InstallOptions) - - - (defaults to: undef) - - -
  • - -
- - -
- - - - - -
-
-
-
-36
-37
-38
-39
-40
-41
-42
-43
-44
-45
-46
-47
-48
-49
-50
-51
-52
-53
-54
-55
-56
-57
-58
-59
-60
-61
-62
-63
-64
-65
-66
-67
-68
-69
-70
-71
-72
-73
-74
-75
-76
-77
-78
-79
-80
-81
-82
-83
-84
-85
-86
-87
-88
-89
-90
-
-
# File 'manifests/extension/install.pp', line 36
-
-define php::extension::install (
-  String           $ensure                          = 'installed',
-  Optional[Php::Provider] $provider                 = undef,
-  Optional[String] $source                          = undef,
-  String           $package_prefix                  = $::php::package_prefix,
-  Optional[Stdlib::AbsolutePath] $responsefile      = undef,
-  Variant[String, Array[String]] $header_packages   = [],
-  Variant[String, Array[String]] $compiler_packages = $::php::params::compiler_packages,
-  Php::InstallOptions $install_options              = undef,
-) {
-
-  if ! defined(Class['php']) {
-    warning('php::extension::install is private')
-  }
-
-  case $provider {
-    /pecl|pear/: {
-      $real_package = $title
-
-      unless empty($header_packages) {
-        ensure_resource('package', $header_packages)
-        Package[$header_packages] -> Package[$real_package]
-      }
-      unless empty($compiler_packages) {
-        ensure_resource('package', $compiler_packages)
-        Package[$compiler_packages] -> Package[$real_package]
-      }
-
-      $package_require      = [
-        Class['::php::pear'],
-        Class['::php::dev'],
-      ]
-    }
-
-    'none' : {
-      debug("No package installed for php::extension: `${title}`.")
-    }
-
-    default: {
-      $real_package = "${package_prefix}${title}"
-      $package_require = undef
-    }
-  }
-
-  unless $provider == 'none' {
-    package { $real_package:
-      ensure          => $ensure,
-      provider        => $provider,
-      source          => $source,
-      responsefile    => $responsefile,
-      install_options => $install_options,
-      require         => $package_require,
-    }
-  }
-}
-
-
-
- - - -
- - \ No newline at end of file diff --git a/docs/puppet_defined_types/php_3A_3Afpm_3A_3Apool.html b/docs/puppet_defined_types/php_3A_3Afpm_3A_3Apool.html deleted file mode 100644 index c0e510c3..00000000 --- a/docs/puppet_defined_types/php_3A_3Afpm_3A_3Apool.html +++ /dev/null @@ -1,935 +0,0 @@ - - - - - - - Defined Type: php::fpm::pool - - — Documentation by YARD 0.9.9 - - - - - - - - - - - - - - - - - - - -
- - -

Defined Type: php::fpm::pool

-
-
-
Defined in:
-
- manifests/fpm/pool.pp -
-
-
- -

Overview

-
-
-

Configure fpm pools

- -

=== Parameters

- -

See the official php-fpm documentation for parameters that are not -documented here: http://php.net/manual/en/install.fpm.configuration.php.

- -

[ensure] - Remove pool if set to 'absent', add otherwise

- -

[listen] - On what socket to listen for FastCGI connections, i.e. - '127.0.0.1:9000'' or'/var/run/php5-fpm.sock'`

- -

[listen_backlog]

- -

[listen_allowed_clients]

- -

[listen_owner] - Set owner of the Unix socket

- -

[listen_group] - Set the group of the Unix socket

- -

[listen_mode]

- -

[user] - The user that php-fpm should run as

- -

[group] - The group that php-fpm should run as

- -

[pm]

- -

[pm_max_children]

- -

[pm_start_servers]

- -

[pm_min_spare_servers]

- -

[pm_max_spare_servers]

- -

[pm_max_requests]

- -

[pm_process_idle_timeout]

- -

[pm_status_path]

- -

[ping_path]

- -

[ping_response]

- -

[access_log] - The path to the file to write access log requests to

- -

[access_log_format] - The format to save the access log entries as

- -

[request_terminate_timeout]

- -

[request_slowlog_timeout]

- -

[security_limit_extensions]

- -

[slowlog]

- -

[template] - The template to use for the pool

- -

[rlimit_files]

- -

[rlimit_core]

- -

[chroot]

- -

[chdir]

- -

[catch_workers_output]

- -

[include] - Other configuration files to include on this pool

- -

[env] - List of environment variables that are passed to the php-fpm from the - outside and will be available to php scripts in this pool

- -

[env_value] - Hash of environment variables and values as strings to use in php - scripts in this pool

- -

[options] - An optional hash for any other data.

- -

[php_value] - Hash of php_value directives

- -

[php_flag] - Hash of php_flag directives

- -

[php_admin_value] - Hash of php_admin_value directives

- -

[php_admin_flag] - Hash of php_admin_flag directives

- -

[php_directives] - List of custom directives that are appended to the pool config

- -

[root_group] - UNIX group of the root user

- -

[base_dir] - The folder that contains the php-fpm pool configs. This defaults to a - sensible default depending on your operating system, like - '/etc/php5/fpm/pool.d' or '/etc/php-fpm.d'

- -
-
-
-

Parameters:

-
    - -
  • - - ensure - - - (Any) - - - (defaults to: 'present') - - -
  • - -
  • - - listen - - - (Any) - - - (defaults to: '127.0.0.1:9000') - - -
  • - -
  • - - listen_backlog - - - (Any) - - - (defaults to: '-1') - - -
  • - -
  • - - listen_allowed_clients - - - (Any) - - - (defaults to: undef) - - -
  • - -
  • - - listen_owner - - - (Any) - - - (defaults to: undef) - - -
  • - -
  • - - listen_group - - - (Any) - - - (defaults to: undef) - - -
  • - -
  • - - listen_mode - - - (Any) - - - (defaults to: undef) - - -
  • - -
  • - - user - - - (Any) - - - (defaults to: $::php::fpm::config::user) - - -
  • - -
  • - - group - - - (Any) - - - (defaults to: $::php::fpm::config::group) - - -
  • - -
  • - - pm - - - (Any) - - - (defaults to: 'dynamic') - - -
  • - -
  • - - pm_max_children - - - (Any) - - - (defaults to: '50') - - -
  • - -
  • - - pm_start_servers - - - (Any) - - - (defaults to: '5') - - -
  • - -
  • - - pm_min_spare_servers - - - (Any) - - - (defaults to: '5') - - -
  • - -
  • - - pm_max_spare_servers - - - (Any) - - - (defaults to: '35') - - -
  • - -
  • - - pm_max_requests - - - (Any) - - - (defaults to: '0') - - -
  • - -
  • - - pm_process_idle_timeout - - - (Any) - - - (defaults to: '10s') - - -
  • - -
  • - - pm_status_path - - - (Any) - - - (defaults to: undef) - - -
  • - -
  • - - ping_path - - - (Any) - - - (defaults to: undef) - - -
  • - -
  • - - ping_response - - - (Any) - - - (defaults to: 'pong') - - -
  • - -
  • - - access_log - - - (Any) - - - (defaults to: undef) - - -
  • - -
  • - - access_log_format - - - (Any) - - - (defaults to: '"%R - %u %t \"%m %r\" %s"') - - -
  • - -
  • - - request_terminate_timeout - - - (Any) - - - (defaults to: '0') - - -
  • - -
  • - - request_slowlog_timeout - - - (Any) - - - (defaults to: '0') - - -
  • - -
  • - - security_limit_extensions - - - (Any) - - - (defaults to: undef) - - -
  • - -
  • - - slowlog - - - (Any) - - - (defaults to: "/var/log/php-fpm/${name}-slow.log") - - -
  • - -
  • - - template - - - (Any) - - - (defaults to: 'php/fpm/pool.conf.erb') - - -
  • - -
  • - - rlimit_files - - - (Any) - - - (defaults to: undef) - - -
  • - -
  • - - rlimit_core - - - (Any) - - - (defaults to: undef) - - -
  • - -
  • - - chroot - - - (Any) - - - (defaults to: undef) - - -
  • - -
  • - - chdir - - - (Any) - - - (defaults to: undef) - - -
  • - -
  • - - catch_workers_output - - - (Any) - - - (defaults to: 'no') - - -
  • - -
  • - - include - - - (Any) - - - (defaults to: undef) - - -
  • - -
  • - - env - - - (Any) - - - (defaults to: []) - - -
  • - -
  • - - env_value - - - (Any) - - - (defaults to: {}) - - -
  • - -
  • - - options - - - (Any) - - - (defaults to: {}) - - -
  • - -
  • - - php_value - - - (Any) - - - (defaults to: {}) - - -
  • - -
  • - - php_flag - - - (Any) - - - (defaults to: {}) - - -
  • - -
  • - - php_admin_value - - - (Any) - - - (defaults to: {}) - - -
  • - -
  • - - php_admin_flag - - - (Any) - - - (defaults to: {}) - - -
  • - -
  • - - php_directives - - - (Any) - - - (defaults to: []) - - -
  • - -
  • - - root_group - - - (Any) - - - (defaults to: $::php::params::root_group) - - -
  • - -
  • - - base_dir - - - (Optional[Stdlib::Absolutepath]) - - - (defaults to: undef) - - -
  • - -
- - -
- - - - - -
-
-
-
-117
-118
-119
-120
-121
-122
-123
-124
-125
-126
-127
-128
-129
-130
-131
-132
-133
-134
-135
-136
-137
-138
-139
-140
-141
-142
-143
-144
-145
-146
-147
-148
-149
-150
-151
-152
-153
-154
-155
-156
-157
-158
-159
-160
-161
-162
-163
-164
-165
-166
-167
-168
-169
-170
-171
-172
-173
-174
-175
-176
-177
-178
-179
-180
-181
-182
-183
-184
-185
-186
-187
-188
-189
-190
-191
-192
-193
-194
-195
-196
-197
-198
-199
-
-
# File 'manifests/fpm/pool.pp', line 117
-
-define php::fpm::pool (
-  $ensure                                  = 'present',
-  $listen                                  = '127.0.0.1:9000',
-  $listen_backlog                          = '-1',
-  $listen_allowed_clients                  = undef,
-  $listen_owner                            = undef,
-  $listen_group                            = undef,
-  $listen_mode                             = undef,
-  $user                                    = $::php::fpm::config::user,
-  $group                                   = $::php::fpm::config::group,
-  $pm                                      = 'dynamic',
-  $pm_max_children                         = '50',
-  $pm_start_servers                        = '5',
-  $pm_min_spare_servers                    = '5',
-  $pm_max_spare_servers                    = '35',
-  $pm_max_requests                         = '0',
-  $pm_process_idle_timeout                 = '10s',
-  $pm_status_path                          = undef,
-  $ping_path                               = undef,
-  $ping_response                           = 'pong',
-  $access_log                              = undef,
-  $access_log_format                       = '"%R - %u %t \"%m %r\" %s"',
-  $request_terminate_timeout               = '0',
-  $request_slowlog_timeout                 = '0',
-  $security_limit_extensions               = undef,
-  $slowlog                                 = "/var/log/php-fpm/${name}-slow.log",
-  $template                                = 'php/fpm/pool.conf.erb',
-  $rlimit_files                            = undef,
-  $rlimit_core                             = undef,
-  $chroot                                  = undef,
-  $chdir                                   = undef,
-  $catch_workers_output                    = 'no',
-  $include                                 = undef,
-  $env                                     = [],
-  $env_value                               = {},
-  $options                                 = {},
-  $php_value                               = {},
-  $php_flag                                = {},
-  $php_admin_value                         = {},
-  $php_admin_flag                          = {},
-  $php_directives                          = [],
-  $root_group                              = $::php::params::root_group,
-  Optional[Stdlib::Absolutepath] $base_dir = undef,
-) {
-
-  # The base class must be included first because it is used by parameter defaults
-  if ! defined(Class['php']) {
-    warning('You must include the php base class before using any php defined resources')
-  }
-
-  $pool = $title
-
-  # Hack-ish to default to user for group too
-  $group_final = $group ? {
-    undef   => $user,
-    default => $group
-  }
-
-  # On FreeBSD fpm is not a separate package, but included in the 'php' package.
-  # Implies that the option SET+=FPM was set when building the port.
-  $real_package = $facts['os']['name'] ? {
-    'FreeBSD' => [],
-    default   => $::php::fpm::package,
-  }
-
-  $pool_base_dir = pick_default($base_dir, $::php::fpm::config::pool_base_dir, $::php::params::fpm_pool_dir)
-  if ($ensure == 'absent') {
-    file { "${pool_base_dir}/${pool}.conf":
-      ensure => absent,
-      notify => Class['::php::fpm::service'],
-    }
-  } else {
-    file { "${pool_base_dir}/${pool}.conf":
-      ensure  => file,
-      notify  => Class['::php::fpm::service'],
-      require => Package[$real_package],
-      content => template($template),
-      owner   => root,
-      group   => $root_group,
-      mode    => '0644',
-    }
-  }
-}
-
-
-
- - - -
- - \ No newline at end of file diff --git a/docs/puppet_function_list.html b/docs/puppet_function_list.html deleted file mode 100644 index 10ceb73b..00000000 --- a/docs/puppet_function_list.html +++ /dev/null @@ -1,71 +0,0 @@ - - - - - - - - - - - - - - - - - - Puppet Function List - - - -
-
-

Puppet Function List

- - - -
- - -
- - diff --git a/docs/puppet_functions_ruby3x/ensure_prefix.html b/docs/puppet_functions_ruby3x/ensure_prefix.html deleted file mode 100644 index c7601201..00000000 --- a/docs/puppet_functions_ruby3x/ensure_prefix.html +++ /dev/null @@ -1,259 +0,0 @@ - - - - - - - Puppet Function: ensure_prefix (Ruby 3.x API) - - — Documentation by YARD 0.9.9 - - - - - - - - - - - - - - - - - - - -
- - -

Puppet Function: ensure_prefix

-
-
-
Defined in:
-
- lib/puppet/parser/functions/ensure_prefix.rb -
-
-
-
Function type:
-
Ruby 3.x API
-
-
- -

Overview

-
- -
- - - ensure_prefix()Any - - -
- -
-
-

This function ensures a prefix for all elements in an array or the keys in a hash.

- -

Examples:

- -

ensure_prefix(=> 1, 'b' => 2, 'p.c' => 3, 'p.')

- -

Will return: - { - 'p.a' => 1, - 'p.b' => 2, - 'p.c' => 3, - }

- -

ensure_prefix(['a', 'p.b', 'c'], 'p.')

- -

Will return: - ['p.a', 'p.b', 'p.c']

- -
-
-
- - -

Returns:

-
    - -
  • - - - (Any) - - - -
  • - -
- -
- - - - - -
-
-
-
-3
-4
-5
-6
-7
-8
-9
-10
-11
-12
-13
-14
-15
-16
-17
-18
-19
-20
-21
-22
-23
-24
-25
-26
-27
-28
-29
-30
-31
-32
-33
-34
-35
-36
-37
-38
-39
-40
-41
-42
-43
-44
-45
-46
-47
-48
-49
-50
-51
-52
-53
-54
-55
-56
-
-
# File 'lib/puppet/parser/functions/ensure_prefix.rb', line 3
-
-newfunction(:ensure_prefix, type: :rvalue, doc: <<-EOS
-  This function ensures a prefix for all elements in an array or the keys in a hash.
-
-  *Examples:*
-
-    ensure_prefix({'a' => 1, 'b' => 2, 'p.c' => 3}, 'p.')
-
-  Will return:
-    {
-      'p.a' => 1,
-      'p.b' => 2,
-      'p.c' => 3,
-    }
-
-    ensure_prefix(['a', 'p.b', 'c'], 'p.')
-
-  Will return:
-    ['p.a', 'p.b', 'p.c']
-EOS
-           ) do |arguments|
-  if arguments.size < 2
-    raise(Puppet::ParseError, 'ensure_prefix(): Wrong number of arguments ' \
-      "given (#{arguments.size} for 2)")
-  end
-
-  enumerable = arguments[0]
-
-  unless enumerable.is_a?(Array) || enumerable.is_a?(Hash)
-    raise Puppet::ParseError, "ensure_prefix(): expected first argument to be an Array or a Hash, got #{enumerable.inspect}"
-  end
-
-  prefix = arguments[1] if arguments[1]
-
-  if prefix
-    unless prefix.is_a?(String)
-      raise Puppet::ParseError, "ensure_prefix(): expected second argument to be a String, got #{prefix.inspect}"
-    end
-  end
-
-  result = if enumerable.is_a?(Array)
-             # Turn everything into string same as join would do ...
-             enumerable.map do |i|
-               i = i.to_s
-               prefix && !i.start_with?(prefix) ? prefix + i : i
-             end
-           else
-             Hash[enumerable.map do |k, v|
-               k = k.to_s
-               [prefix && !k.start_with?(prefix) ? prefix + k : k, v]
-             end]
-           end
-
-  return result
-end
-
-
- -
-
- - - -
- - \ No newline at end of file diff --git a/docs/puppet_functions_ruby3x/to_hash_settings.html b/docs/puppet_functions_ruby3x/to_hash_settings.html deleted file mode 100644 index 973706b7..00000000 --- a/docs/puppet_functions_ruby3x/to_hash_settings.html +++ /dev/null @@ -1,224 +0,0 @@ - - - - - - - Puppet Function: to_hash_settings (Ruby 3.x API) - - — Documentation by YARD 0.9.9 - - - - - - - - - - - - - - - - - - - -
- - -

Puppet Function: to_hash_settings

-
-
-
Defined in:
-
- lib/puppet/parser/functions/to_hash_settings.rb -
-
-
-
Function type:
-
Ruby 3.x API
-
-
- -

Overview

-
- -
- - - to_hash_settings()Any - - -
- -
-
-

This function converts a +=> value+ hash into a nested hash and can add an id to the outer key. -The optional id string as second parameter is prepended to the resource name.

- -

Examples:

- -

to_hash_settings(=> 1, 'b' => 2)

- -

Would return: - { - 'a' => => 'a', 'value' => 1, - 'b' => => 'b', 'value' => 2 - }

- -

and:

- -

to_hash_settings(=> 1, 'b' => 2, 'foo')

- -

Would return: - { - 'foo: a' => => 'a', 'value' => 1, - 'foo: b' => => 'b', 'value' => 2 - }

- -
-
-
- - -

Returns:

-
    - -
  • - - - (Any) - - - -
  • - -
- -
- - - - - -
-
-
-
-3
-4
-5
-6
-7
-8
-9
-10
-11
-12
-13
-14
-15
-16
-17
-18
-19
-20
-21
-22
-23
-24
-25
-26
-27
-28
-29
-30
-31
-32
-33
-34
-35
-36
-
-
# File 'lib/puppet/parser/functions/to_hash_settings.rb', line 3
-
-newfunction(:to_hash_settings, type: :rvalue, doc: <<-EOS
-  This function converts a +{key => value}+ hash into a nested hash and can add an id to the outer key.
-  The optional id string as second parameter is prepended to the resource name.
-
-  *Examples:*
-
-    to_hash_settings({'a' => 1, 'b' => 2})
-
-  Would return:
-    {
-      'a' => {'key' => 'a', 'value' => 1},
-      'b' => {'key' => 'b', 'value' => 2}
-    }
-
-  and:
-
-    to_hash_settings({'a' => 1, 'b' => 2}, 'foo')
-
-  Would return:
-    {
-      'foo: a' => {'key' => 'a', 'value' => 1},
-      'foo: b' => {'key' => 'b', 'value' => 2}
-    }
-EOS
-           ) do |arguments|
-  hash, id = arguments
-  id = (id.nil? ? '' : "#{id}: ")
-
-  raise(Puppet::ParseError, 'to_hash_settings(): Requires hash to work with') unless hash.is_a?(Hash)
-
-  return hash.each_with_object({}) do |kv, acc|
-    acc[id + kv[0]] = { 'key' => kv[0], 'value' => kv[1] }
-  end
-end
-
-
- -
-
- - - -
- - \ No newline at end of file diff --git a/docs/puppet_provider_list.html b/docs/puppet_provider_list.html deleted file mode 100644 index 7881a220..00000000 --- a/docs/puppet_provider_list.html +++ /dev/null @@ -1,71 +0,0 @@ - - - - - - - - - - - - - - - - - - Provider List - - - -
- - -
    - - -
  • -
    - pear - Resource type: package -
    -
  • - - -
  • -
    - pecl - Resource type: package -
    -
  • - - - -
-
- - diff --git a/docs/puppet_providers_package/pear.html b/docs/puppet_providers_package/pear.html deleted file mode 100644 index 5621549a..00000000 --- a/docs/puppet_providers_package/pear.html +++ /dev/null @@ -1,129 +0,0 @@ - - - - - - - Provider: pear - - — Documentation by YARD 0.9.9 - - - - - - - - - - - - - - - - - - - -
- - -

Provider: pear

-
-
-
Defined in:
-
- lib/puppet/provider/package/pear.rb -
-
-
-
Resource type:
-
package
-
-
- -

Overview

-
-
-

Package management via pear.

- -
-
-
- - -
-
-

Features

-
    - -
  • - versionable -
  • - -
  • - upgradeable -
  • - -
  • - install_options -
  • - -
-
- - - - -
-

Commands

-
    - - - -
  • pear — pear
  • - - -
-
- -
- - - -
- - \ No newline at end of file diff --git a/docs/puppet_providers_package/pecl.html b/docs/puppet_providers_package/pecl.html deleted file mode 100644 index 29c68d69..00000000 --- a/docs/puppet_providers_package/pecl.html +++ /dev/null @@ -1,129 +0,0 @@ - - - - - - - Provider: pecl - - — Documentation by YARD 0.9.9 - - - - - - - - - - - - - - - - - - - -
- - -

Provider: pecl

-
-
-
Defined in:
-
- lib/puppet/provider/package/pecl.rb -
-
-
-
Resource type:
-
package
-
-
- -

Overview

-
-
-

Package management via pecl.

- -
-
-
- - -
-
-

Features

-
    - -
  • - versionable -
  • - -
  • - upgradeable -
  • - -
  • - install_options -
  • - -
-
- - - - -
-

Commands

-
    - - - -
  • pear — pear
  • - - -
-
- -
- - - -
- - \ No newline at end of file diff --git a/docs/top-level-namespace.html b/docs/top-level-namespace.html deleted file mode 100644 index a5696897..00000000 --- a/docs/top-level-namespace.html +++ /dev/null @@ -1,98 +0,0 @@ - - - - - - - Top Level Namespace - - — Documentation by YARD 0.9.9 - - - - - - - - - - - - - - - - - - - -
- - -

Top Level Namespace - - - -

-
- - - - - - - - - - - -
- - - - - - - - - - -
- - - -
- - \ No newline at end of file