Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2017
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 56.98 KB | None | 0 0
  1. {
  2.       "bodies": [],
  3.       "bundles": [
  4.         {
  5.           "arguments": [],
  6.           "bundleType": "agent",
  7.           "line": 5,
  8.           "name": "RDC_Authentication_Config___S1",
  9.           "namespace": "default",
  10.           "promiseTypes": [
  11.             {
  12.               "contexts": [
  13.                 {
  14.                   "name": "any",
  15.                   "promises": [
  16.                     {
  17.                       "attributes": [
  18.                         {
  19.                           "line": 8,
  20.                           "lval": "string",
  21.                           "rval": {
  22.                             "arguments": [
  23.                               {
  24.                                 "arguments": [
  25.                                   {
  26.                                     "type": "string",
  27.                                     "value": "_"
  28.                                   },
  29.                                   {
  30.                                     "type": "string",
  31.                                     "value": "this.callers_promisers"
  32.                                   }
  33.                                 ],
  34.                                 "name": "join",
  35.                                 "type": "functionCall"
  36.                               }
  37.                             ],
  38.                             "name": "canonify",
  39.                             "type": "functionCall"
  40.                           }
  41.                         }
  42.                       ],
  43.                       "line": 8,
  44.                       "promiser": "class_prefix"
  45.                     }
  46.                   ]
  47.                 }
  48.               ],
  49.               "line": 7,
  50.               "name": "vars"
  51.             },
  52.             {
  53.               "contexts": [
  54.                 {
  55.                   "name": "any",
  56.                   "promises": [
  57.                     {
  58.                       "attributes": [
  59.                         {
  60.                           "line": 11,
  61.                           "lval": "usebundle",
  62.                           "rval": {
  63.                             "arguments": [
  64.                               {
  65.                                 "type": "string",
  66.                                 "value": "dconf"
  67.                               }
  68.                             ],
  69.                             "name": "package_install",
  70.                             "type": "functionCall"
  71.                           }
  72.                         },
  73.                         {
  74.                           "line": 12,
  75.                           "lval": "ifvarclass",
  76.                           "rval": {
  77.                             "arguments": [
  78.                               {
  79.                                 "type": "string",
  80.                                 "value": "any"
  81.                               }
  82.                             ],
  83.                             "name": "concat",
  84.                             "type": "functionCall"
  85.                           }
  86.                         }
  87.                       ],
  88.                       "line": 11,
  89.                       "promiser": "method_call"
  90.                     },
  91.                     {
  92.                       "attributes": [
  93.                         {
  94.                           "line": 13,
  95.                           "lval": "usebundle",
  96.                           "rval": {
  97.                             "arguments": [
  98.                               {
  99.                                 "type": "string",
  100.                                 "value": "samba-common"
  101.                               }
  102.                             ],
  103.                             "name": "package_install",
  104.                             "type": "functionCall"
  105.                           }
  106.                         },
  107.                         {
  108.                           "line": 14,
  109.                           "lval": "ifvarclass",
  110.                           "rval": {
  111.                             "arguments": [
  112.                               {
  113.                                 "type": "string",
  114.                                 "value": "any"
  115.                               }
  116.                             ],
  117.                             "name": "concat",
  118.                             "type": "functionCall"
  119.                           }
  120.                         }
  121.                       ],
  122.                       "line": 13,
  123.                       "promiser": "method_call"
  124.                     },
  125.                     {
  126.                       "attributes": [
  127.                         {
  128.                           "line": 15,
  129.                           "lval": "usebundle",
  130.                           "rval": {
  131.                             "arguments": [
  132.                               {
  133.                                 "type": "string",
  134.                                 "value": "samba-common-tools"
  135.                               }
  136.                             ],
  137.                             "name": "package_install",
  138.                             "type": "functionCall"
  139.                           }
  140.                         },
  141.                         {
  142.                           "line": 16,
  143.                           "lval": "ifvarclass",
  144.                           "rval": {
  145.                             "arguments": [
  146.                               {
  147.                                 "type": "string",
  148.                                 "value": "any"
  149.                               }
  150.                             ],
  151.                             "name": "concat",
  152.                             "type": "functionCall"
  153.                           }
  154.                         }
  155.                       ],
  156.                       "line": 15,
  157.                       "promiser": "method_call"
  158.                     },
  159.                     {
  160.                       "attributes": [
  161.                         {
  162.                           "line": 17,
  163.                           "lval": "usebundle",
  164.                           "rval": {
  165.                             "arguments": [
  166.                               {
  167.                                 "type": "string",
  168.                                 "value": "samba-common-libs"
  169.                               }
  170.                             ],
  171.                             "name": "package_install",
  172.                             "type": "functionCall"
  173.                           }
  174.                         },
  175.                         {
  176.                           "line": 18,
  177.                           "lval": "ifvarclass",
  178.                           "rval": {
  179.                             "arguments": [
  180.                               {
  181.                                 "type": "string",
  182.                                 "value": "any"
  183.                               }
  184.                             ],
  185.                             "name": "concat",
  186.                             "type": "functionCall"
  187.                           }
  188.                         }
  189.                       ],
  190.                       "line": 17,
  191.                       "promiser": "method_call"
  192.                     },
  193.                     {
  194.                       "attributes": [
  195.                         {
  196.                           "line": 19,
  197.                           "lval": "usebundle",
  198.                           "rval": {
  199.                             "arguments": [
  200.                               {
  201.                                 "type": "string",
  202.                                 "value": "samba-winbind"
  203.                               }
  204.                             ],
  205.                             "name": "package_install",
  206.                             "type": "functionCall"
  207.                           }
  208.                         },
  209.                         {
  210.                           "line": 20,
  211.                           "lval": "ifvarclass",
  212.                           "rval": {
  213.                             "arguments": [
  214.                               {
  215.                                 "type": "string",
  216.                                 "value": "any"
  217.                               }
  218.                             ],
  219.                             "name": "concat",
  220.                             "type": "functionCall"
  221.                           }
  222.                         }
  223.                       ],
  224.                       "line": 19,
  225.                       "promiser": "method_call"
  226.                     },
  227.                     {
  228.                       "attributes": [
  229.                         {
  230.                           "line": 21,
  231.                           "lval": "usebundle",
  232.                           "rval": {
  233.                             "arguments": [
  234.                               {
  235.                                 "type": "string",
  236.                                 "value": "samba-winbind-clients"
  237.                               }
  238.                             ],
  239.                             "name": "package_install",
  240.                             "type": "functionCall"
  241.                           }
  242.                         },
  243.                         {
  244.                           "line": 22,
  245.                           "lval": "ifvarclass",
  246.                           "rval": {
  247.                             "arguments": [
  248.                               {
  249.                                 "type": "string",
  250.                                 "value": "any"
  251.                               }
  252.                             ],
  253.                             "name": "concat",
  254.                             "type": "functionCall"
  255.                           }
  256.                         }
  257.                       ],
  258.                       "line": 21,
  259.                       "promiser": "method_call"
  260.                     },
  261.                     {
  262.                       "attributes": [
  263.                         {
  264.                           "line": 23,
  265.                           "lval": "usebundle",
  266.                           "rval": {
  267.                             "arguments": [
  268.                               {
  269.                                 "type": "string",
  270.                                 "value": "samba-winbind-modules"
  271.                               }
  272.                             ],
  273.                             "name": "package_install",
  274.                             "type": "functionCall"
  275.                           }
  276.                         },
  277.                         {
  278.                           "line": 24,
  279.                           "lval": "ifvarclass",
  280.                           "rval": {
  281.                             "arguments": [
  282.                               {
  283.                                 "type": "string",
  284.                                 "value": "any"
  285.                               }
  286.                             ],
  287.                             "name": "concat",
  288.                             "type": "functionCall"
  289.                           }
  290.                         }
  291.                       ],
  292.                       "line": 23,
  293.                       "promiser": "method_call"
  294.                     },
  295.                     {
  296.                       "attributes": [
  297.                         {
  298.                           "line": 25,
  299.                           "lval": "usebundle",
  300.                           "rval": {
  301.                             "arguments": [
  302.                               {
  303.                                 "type": "string",
  304.                                 "value": "samba-client"
  305.                               }
  306.                             ],
  307.                             "name": "package_install",
  308.                             "type": "functionCall"
  309.                           }
  310.                         },
  311.                         {
  312.                           "line": 26,
  313.                           "lval": "ifvarclass",
  314.                           "rval": {
  315.                             "arguments": [
  316.                               {
  317.                                 "type": "string",
  318.                                 "value": "any"
  319.                               }
  320.                             ],
  321.                             "name": "concat",
  322.                             "type": "functionCall"
  323.                           }
  324.                         }
  325.                       ],
  326.                       "line": 25,
  327.                       "promiser": "method_call"
  328.                     },
  329.                     {
  330.                       "attributes": [
  331.                         {
  332.                           "line": 27,
  333.                           "lval": "usebundle",
  334.                           "rval": {
  335.                             "arguments": [
  336.                               {
  337.                                 "type": "string",
  338.                                 "value": "samba-libs"
  339.                               }
  340.                             ],
  341.                             "name": "package_install",
  342.                             "type": "functionCall"
  343.                           }
  344.                         },
  345.                         {
  346.                           "line": 28,
  347.                           "lval": "ifvarclass",
  348.                           "rval": {
  349.                             "arguments": [
  350.                               {
  351.                                 "type": "string",
  352.                                 "value": "any"
  353.                               }
  354.                             ],
  355.                             "name": "concat",
  356.                             "type": "functionCall"
  357.                           }
  358.                         }
  359.                       ],
  360.                       "line": 27,
  361.                       "promiser": "method_call"
  362.                     },
  363.                     {
  364.                       "attributes": [
  365.                         {
  366.                           "line": 29,
  367.                           "lval": "usebundle",
  368.                           "rval": {
  369.                             "arguments": [
  370.                               {
  371.                                 "type": "string",
  372.                                 "value": "samba-client-libs"
  373.                               }
  374.                             ],
  375.                             "name": "package_install",
  376.                             "type": "functionCall"
  377.                           }
  378.                         },
  379.                         {
  380.                           "line": 30,
  381.                           "lval": "ifvarclass",
  382.                           "rval": {
  383.                             "arguments": [
  384.                               {
  385.                                 "type": "string",
  386.                                 "value": "any"
  387.                               }
  388.                             ],
  389.                             "name": "concat",
  390.                             "type": "functionCall"
  391.                           }
  392.                         }
  393.                       ],
  394.                       "line": 29,
  395.                       "promiser": "method_call"
  396.                     },
  397.                     {
  398.                       "attributes": [
  399.                         {
  400.                           "line": 31,
  401.                           "lval": "usebundle",
  402.                           "rval": {
  403.                             "arguments": [
  404.                               {
  405.                                 "type": "string",
  406.                                 "value": "/var/rudder/configuration-repository/shared-files/authconfig_rhel7/backup-rdc"
  407.                               },
  408.                               {
  409.                                 "type": "string",
  410.                                 "value": "/var/lib/authconfig/backup-rdc"
  411.                               },
  412.                               {
  413.                                 "type": "string",
  414.                                 "value": "inf"
  415.                               }
  416.                             ],
  417.                             "name": "file_copy_from_remote_source_recursion",
  418.                             "type": "functionCall"
  419.                           }
  420.                         },
  421.                         {
  422.                           "line": 32,
  423.                           "lval": "ifvarclass",
  424.                           "rval": {
  425.                             "arguments": [
  426.                               {
  427.                                 "type": "string",
  428.                                 "value": "any"
  429.                               }
  430.                             ],
  431.                             "name": "concat",
  432.                             "type": "functionCall"
  433.                           }
  434.                         }
  435.                       ],
  436.                       "line": 31,
  437.                       "promiser": "method_call"
  438.                     },
  439.                     {
  440.                       "attributes": [
  441.                         {
  442.                           "line": 33,
  443.                           "lval": "usebundle",
  444.                           "rval": {
  445.                             "arguments": [
  446.                               {
  447.                                 "type": "string",
  448.                                 "value": "authconfig --restorebackup=rdc"
  449.                               }
  450.                             ],
  451.                             "name": "command_execution",
  452.                             "type": "functionCall"
  453.                           }
  454.                         },
  455.                         {
  456.                           "line": 34,
  457.                           "lval": "ifvarclass",
  458.                           "rval": {
  459.                             "arguments": [
  460.                               {
  461.                                 "type": "string",
  462.                                 "value": "any"
  463.                               }
  464.                             ],
  465.                             "name": "concat",
  466.                             "type": "functionCall"
  467.                           }
  468.                         }
  469.                       ],
  470.                       "line": 33,
  471.                       "promiser": "method_call"
  472.                     }
  473.                   ]
  474.                 }
  475.               ],
  476.               "line": 10,
  477.               "name": "methods"
  478.             }
  479.           ],
  480.           "sourcePath": "/var/rudder/configuration-repository/ncf/50_techniques/RDC_Authentication_Config___S1/RDC_Authentication_Config___S1.cf"
  481.         }
  482.       ]
  483.     }   error: Variable reference bracket mismatch '${rudder.param.header)'
  484.    error: Variable reference close mismatch '${rudder.param.header)'
  485.    error: Variable reference bracket mismatch '${rudder.param.header)'
  486.    error: Variable reference close mismatch '${rudder.param.header)'
  487. {
  488.       "bodies": [],
  489.       "bundles": [
  490.         {
  491.           "arguments": [],
  492.           "bundleType": "agent",
  493.           "line": 5,
  494.           "name": "RHEL7_default_SMTP__postfix_",
  495.           "namespace": "default",
  496.           "promiseTypes": [
  497.             {
  498.               "contexts": [
  499.                 {
  500.                   "name": "any",
  501.                   "promises": [
  502.                     {
  503.                       "attributes": [
  504.                         {
  505.                           "line": 8,
  506.                           "lval": "string",
  507.                           "rval": {
  508.                             "arguments": [
  509.                               {
  510.                                 "arguments": [
  511.                                   {
  512.                                     "type": "string",
  513.                                     "value": "_"
  514.                                   },
  515.                                   {
  516.                                     "type": "string",
  517.                                     "value": "this.callers_promisers"
  518.                                   }
  519.                                 ],
  520.                                 "name": "join",
  521.                                 "type": "functionCall"
  522.                               }
  523.                             ],
  524.                             "name": "canonify",
  525.                             "type": "functionCall"
  526.                           }
  527.                         }
  528.                       ],
  529.                       "line": 8,
  530.                       "promiser": "class_prefix"
  531.                     }
  532.                   ]
  533.                 }
  534.               ],
  535.               "line": 7,
  536.               "name": "vars"
  537.             },
  538.             {
  539.               "contexts": [
  540.                 {
  541.                   "name": "any",
  542.                   "promises": [
  543.                     {
  544.                       "attributes": [
  545.                         {
  546.                           "line": 11,
  547.                           "lval": "usebundle",
  548.                           "rval": {
  549.                             "arguments": [
  550.                               {
  551.                                 "type": "string",
  552.                                 "value": "postfix"
  553.                               }
  554.                             ],
  555.                             "name": "package_install",
  556.                             "type": "functionCall"
  557.                           }
  558.                         },
  559.                         {
  560.                           "line": 12,
  561.                           "lval": "ifvarclass",
  562.                           "rval": {
  563.                             "arguments": [
  564.                               {
  565.                                 "type": "string",
  566.                                 "value": "any"
  567.                               }
  568.                             ],
  569.                             "name": "concat",
  570.                             "type": "functionCall"
  571.                           }
  572.                         }
  573.                       ],
  574.                       "line": 11,
  575.                       "promiser": "method_call"
  576.                     },
  577.                     {
  578.                       "attributes": [
  579.                         {
  580.                           "line": 13,
  581.                           "lval": "usebundle",
  582.                           "rval": {
  583.                             "arguments": [
  584.                               {
  585.                                 "type": "string",
  586.                                 "value": "/etc/postfix/main.cf"
  587.                               },
  588.                               {
  589.                                 "type": "string",
  590.                                 "value": "${rudder.param.header)"
  591.                               },
  592.                               {
  593.                                 "type": "string",
  594.                                 "value": "$(rudder.param.footer)"
  595.                               },
  596.                               {
  597.                                 "type": "string",
  598.                                 "value": "relayhost = [mail.rdc.com]"
  599.                               }
  600.                             ],
  601.                             "name": "file_ensure_block_in_section",
  602.                             "type": "functionCall"
  603.                           }
  604.                         },
  605.                         {
  606.                           "line": 14,
  607.                           "lval": "ifvarclass",
  608.                           "rval": {
  609.                             "arguments": [
  610.                               {
  611.                                 "type": "string",
  612.                                 "value": "any"
  613.                               }
  614.                             ],
  615.                             "name": "concat",
  616.                             "type": "functionCall"
  617.                           }
  618.                         }
  619.                       ],
  620.                       "line": 13,
  621.                       "promiser": "method_call"
  622.                     },
  623.                     {
  624.                       "attributes": [
  625.                         {
  626.                           "line": 15,
  627.                           "lval": "usebundle",
  628.                           "rval": {
  629.                             "arguments": [
  630.                               {
  631.                                 "type": "string",
  632.                                 "value": "postfix"
  633.                               }
  634.                             ],
  635.                             "name": "service_ensure_started_at_boot",
  636.                             "type": "functionCall"
  637.                           }
  638.                         },
  639.                         {
  640.                           "line": 16,
  641.                           "lval": "ifvarclass",
  642.                           "rval": {
  643.                             "arguments": [
  644.                               {
  645.                                 "type": "string",
  646.                                 "value": "any"
  647.                               }
  648.                             ],
  649.                             "name": "concat",
  650.                             "type": "functionCall"
  651.                           }
  652.                         }
  653.                       ],
  654.                       "line": 15,
  655.                       "promiser": "method_call"
  656.                     },
  657.                     {
  658.                       "attributes": [
  659.                         {
  660.                           "line": 17,
  661.                           "lval": "usebundle",
  662.                           "rval": {
  663.                             "arguments": [
  664.                               {
  665.                                 "type": "string",
  666.                                 "value": "postfix"
  667.                               }
  668.                             ],
  669.                             "name": "service_restart",
  670.                             "type": "functionCall"
  671.                           }
  672.                         },
  673.                         {
  674.                           "line": 18,
  675.                           "lval": "ifvarclass",
  676.                           "rval": {
  677.                             "arguments": [
  678.                               {
  679.                                 "type": "string",
  680.                                 "value": "any"
  681.                               }
  682.                             ],
  683.                             "name": "concat",
  684.                             "type": "functionCall"
  685.                           }
  686.                         }
  687.                       ],
  688.                       "line": 17,
  689.                       "promiser": "method_call"
  690.                     }
  691.                   ]
  692.                 }
  693.               ],
  694.               "line": 10,
  695.               "name": "methods"
  696.             }
  697.           ],
  698.           "sourcePath": "/var/rudder/configuration-repository/ncf/50_techniques/RHEL7_default_SMTP__postfix_/RHEL7_default_SMTP__postfix_.cf"
  699.         }
  700.       ]
  701.     }{
  702.       "bodies": [],
  703.       "bundles": [
  704.         {
  705.           "arguments": [],
  706.           "bundleType": "agent",
  707.           "line": 5,
  708.           "name": "Install_MariaDB_10",
  709.           "namespace": "default",
  710.           "promiseTypes": [
  711.             {
  712.               "contexts": [
  713.                 {
  714.                   "name": "any",
  715.                   "promises": [
  716.                     {
  717.                       "attributes": [
  718.                         {
  719.                           "line": 8,
  720.                           "lval": "string",
  721.                           "rval": {
  722.                             "arguments": [
  723.                               {
  724.                                 "arguments": [
  725.                                   {
  726.                                     "type": "string",
  727.                                     "value": "_"
  728.                                   },
  729.                                   {
  730.                                     "type": "string",
  731.                                     "value": "this.callers_promisers"
  732.                                   }
  733.                                 ],
  734.                                 "name": "join",
  735.                                 "type": "functionCall"
  736.                               }
  737.                             ],
  738.                             "name": "canonify",
  739.                             "type": "functionCall"
  740.                           }
  741.                         }
  742.                       ],
  743.                       "line": 8,
  744.                       "promiser": "class_prefix"
  745.                     }
  746.                   ]
  747.                 }
  748.               ],
  749.               "line": 7,
  750.               "name": "vars"
  751.             },
  752.             {
  753.               "contexts": [
  754.                 {
  755.                   "name": "any",
  756.                   "promises": [
  757.                     {
  758.                       "attributes": [
  759.                         {
  760.                           "line": 17,
  761.                           "lval": "usebundle",
  762.                           "rval": {
  763.                             "arguments": [
  764.                               {
  765.                                 "type": "string",
  766.                                 "value": "/etc/yum.repos.d/MariaDB.repo"
  767.                               },
  768.                               {
  769.                                 "type": "string",
  770.                                 "value": "# MariaDB 10.1 CentOS repository list - created 2017-01-09 17:07 UTC\n# http://downloads.mariadb.org/mariadb/repositories/\n[mariadb]\nname = MariaDB\nbaseurl = http://yum.mariadb.org/10.1/centos7-amd64\ngpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB\ngpgcheck=1"
  771.                               },
  772.                               {
  773.                                 "type": "string",
  774.                                 "value": "true"
  775.                               }
  776.                             ],
  777.                             "name": "file_enforce_content",
  778.                             "type": "functionCall"
  779.                           }
  780.                         },
  781.                         {
  782.                           "line": 18,
  783.                           "lval": "ifvarclass",
  784.                           "rval": {
  785.                             "arguments": [
  786.                               {
  787.                                 "type": "string",
  788.                                 "value": "any"
  789.                               }
  790.                             ],
  791.                             "name": "concat",
  792.                             "type": "functionCall"
  793.                           }
  794.                         }
  795.                       ],
  796.                       "line": 11,
  797.                       "promiser": "method_call"
  798.                     },
  799.                     {
  800.                       "attributes": [
  801.                         {
  802.                           "line": 19,
  803.                           "lval": "usebundle",
  804.                           "rval": {
  805.                             "arguments": [
  806.                               {
  807.                                 "type": "string",
  808.                                 "value": "MariaDB-common"
  809.                               }
  810.                             ],
  811.                             "name": "package_install",
  812.                             "type": "functionCall"
  813.                           }
  814.                         },
  815.                         {
  816.                           "line": 20,
  817.                           "lval": "ifvarclass",
  818.                           "rval": {
  819.                             "arguments": [
  820.                               {
  821.                                 "type": "string",
  822.                                 "value": "any.file_ensure_lines_present__etc_yum_repos_d_MariaDB_repo_kept||file_ensure_lines_present__etc_yum_repos_d_MariaDB_repo_repaired"
  823.                               }
  824.                             ],
  825.                             "name": "concat",
  826.                             "type": "functionCall"
  827.                           }
  828.                         }
  829.                       ],
  830.                       "line": 19,
  831.                       "promiser": "method_call"
  832.                     },
  833.                     {
  834.                       "attributes": [
  835.                         {
  836.                           "line": 21,
  837.                           "lval": "usebundle",
  838.                           "rval": {
  839.                             "arguments": [
  840.                               {
  841.                                 "type": "string",
  842.                                 "value": "MariaDB-shared"
  843.                               }
  844.                             ],
  845.                             "name": "package_install",
  846.                             "type": "functionCall"
  847.                           }
  848.                         },
  849.                         {
  850.                           "line": 22,
  851.                           "lval": "ifvarclass",
  852.                           "rval": {
  853.                             "arguments": [
  854.                               {
  855.                                 "type": "string",
  856.                                 "value": "any.file_ensure_lines_present__etc_yum_repos_d_MariaDB_repo_kept||file_ensure_lines_present__etc_yum_repos_d_MariaDB_repo_repaired"
  857.                               }
  858.                             ],
  859.                             "name": "concat",
  860.                             "type": "functionCall"
  861.                           }
  862.                         }
  863.                       ],
  864.                       "line": 21,
  865.                       "promiser": "method_call"
  866.                     },
  867.                     {
  868.                       "attributes": [
  869.                         {
  870.                           "line": 23,
  871.                           "lval": "usebundle",
  872.                           "rval": {
  873.                             "arguments": [
  874.                               {
  875.                                 "type": "string",
  876.                                 "value": "MariaDB-server"
  877.                               }
  878.                             ],
  879.                             "name": "package_install",
  880.                             "type": "functionCall"
  881.                           }
  882.                         },
  883.                         {
  884.                           "line": 24,
  885.                           "lval": "ifvarclass",
  886.                           "rval": {
  887.                             "arguments": [
  888.                               {
  889.                                 "type": "string",
  890.                                 "value": "any.file_ensure_lines_present__etc_yum_repos_d_MariaDB_repo_kept||file_ensure_lines_present__etc_yum_repos_d_MariaDB_repo_repaired"
  891.                               }
  892.                             ],
  893.                             "name": "concat",
  894.                             "type": "functionCall"
  895.                           }
  896.                         }
  897.                       ],
  898.                       "line": 23,
  899.                       "promiser": "method_call"
  900.                     },
  901.                     {
  902.                       "attributes": [
  903.                         {
  904.                           "line": 25,
  905.                           "lval": "usebundle",
  906.                           "rval": {
  907.                             "arguments": [
  908.                               {
  909.                                 "type": "string",
  910.                                 "value": "MariaDB-client"
  911.                               }
  912.                             ],
  913.                             "name": "package_install",
  914.                             "type": "functionCall"
  915.                           }
  916.                         },
  917.                         {
  918.                           "line": 26,
  919.                           "lval": "ifvarclass",
  920.                           "rval": {
  921.                             "arguments": [
  922.                               {
  923.                                 "type": "string",
  924.                                 "value": "any.file_ensure_lines_present__etc_yum_repos_d_MariaDB_repo_kept||file_ensure_lines_present__etc_yum_repos_d_MariaDB_repo_repaired"
  925.                               }
  926.                             ],
  927.                             "name": "concat",
  928.                             "type": "functionCall"
  929.                           }
  930.                         }
  931.                       ],
  932.                       "line": 25,
  933.                       "promiser": "method_call"
  934.                     },
  935.                     {
  936.                       "attributes": [
  937.                         {
  938.                           "line": 27,
  939.                           "lval": "usebundle",
  940.                           "rval": {
  941.                             "arguments": [
  942.                               {
  943.                                 "type": "string",
  944.                                 "value": "MariaDB-connect-engine"
  945.                               }
  946.                             ],
  947.                             "name": "package_install",
  948.                             "type": "functionCall"
  949.                           }
  950.                         },
  951.                         {
  952.                           "line": 28,
  953.                           "lval": "ifvarclass",
  954.                           "rval": {
  955.                             "arguments": [
  956.                               {
  957.                                 "type": "string",
  958.                                 "value": "any"
  959.                               }
  960.                             ],
  961.                             "name": "concat",
  962.                             "type": "functionCall"
  963.                           }
  964.                         }
  965.                       ],
  966.                       "line": 27,
  967.                       "promiser": "method_call"
  968.                     }
  969.                   ]
  970.                 }
  971.               ],
  972.               "line": 10,
  973.               "name": "methods"
  974.             }
  975.           ],
  976.           "sourcePath": "/var/rudder/configuration-repository/ncf/50_techniques/Install_MariaDB_10/Install_MariaDB_10.cf"
  977.         }
  978.       ]
  979.     }{
  980.       "bodies": [],
  981.       "bundles": [
  982.         {
  983.           "arguments": [],
  984.           "bundleType": "agent",
  985.           "line": 5,
  986.           "name": "update_Rudder_agent",
  987.           "namespace": "default",
  988.           "promiseTypes": [
  989.             {
  990.               "contexts": [
  991.                 {
  992.                   "name": "any",
  993.                   "promises": [
  994.                     {
  995.                       "attributes": [
  996.                         {
  997.                           "line": 8,
  998.                           "lval": "string",
  999.                           "rval": {
  1000.                             "arguments": [
  1001.                               {
  1002.                                 "arguments": [
  1003.                                   {
  1004.                                     "type": "string",
  1005.                                     "value": "_"
  1006.                                   },
  1007.                                   {
  1008.                                     "type": "string",
  1009.                                     "value": "this.callers_promisers"
  1010.                                   }
  1011.                                 ],
  1012.                                 "name": "join",
  1013.                                 "type": "functionCall"
  1014.                               }
  1015.                             ],
  1016.                             "name": "canonify",
  1017.                             "type": "functionCall"
  1018.                           }
  1019.                         }
  1020.                       ],
  1021.                       "line": 8,
  1022.                       "promiser": "class_prefix"
  1023.                     }
  1024.                   ]
  1025.                 }
  1026.               ],
  1027.               "line": 7,
  1028.               "name": "vars"
  1029.             },
  1030.             {
  1031.               "contexts": [
  1032.                 {
  1033.                   "name": "any",
  1034.                   "promises": [
  1035.                     {
  1036.                       "attributes": [
  1037.                         {
  1038.                           "line": 11,
  1039.                           "lval": "usebundle",
  1040.                           "rval": {
  1041.                             "arguments": [
  1042.                               {
  1043.                                 "type": "string",
  1044.                                 "value": "ftp://s1-plconfig00.rdc.com/rudder_agent_402.rpm"
  1045.                               },
  1046.                               {
  1047.                                 "type": "string",
  1048.                                 "value": "/tmp/rudder_agent_402.rpm"
  1049.                               }
  1050.                             ],
  1051.                             "name": "file_download",
  1052.                             "type": "functionCall"
  1053.                           }
  1054.                         },
  1055.                         {
  1056.                           "line": 12,
  1057.                           "lval": "ifvarclass",
  1058.                           "rval": {
  1059.                             "arguments": [
  1060.                               {
  1061.                                 "type": "string",
  1062.                                 "value": "linux"
  1063.                               }
  1064.                             ],
  1065.                             "name": "concat",
  1066.                             "type": "functionCall"
  1067.                           }
  1068.                         }
  1069.                       ],
  1070.                       "line": 11,
  1071.                       "promiser": "method_call"
  1072.                     },
  1073.                     {
  1074.                       "attributes": [
  1075.                         {
  1076.                           "line": 13,
  1077.                           "lval": "usebundle",
  1078.                           "rval": {
  1079.                             "arguments": [
  1080.                               {
  1081.                                 "type": "string",
  1082.                                 "value": "rpm -F /tmp/rudder_agent_402.rpm"
  1083.                               }
  1084.                             ],
  1085.                             "name": "command_execution",
  1086.                             "type": "functionCall"
  1087.                           }
  1088.                         },
  1089.                         {
  1090.                           "line": 14,
  1091.                           "lval": "ifvarclass",
  1092.                           "rval": {
  1093.                             "arguments": [
  1094.                               {
  1095.                                 "type": "string",
  1096.                                 "value": "linux"
  1097.                               }
  1098.                             ],
  1099.                             "name": "concat",
  1100.                             "type": "functionCall"
  1101.                           }
  1102.                         }
  1103.                       ],
  1104.                       "line": 13,
  1105.                       "promiser": "method_call"
  1106.                     },
  1107.                     {
  1108.                       "attributes": [
  1109.                         {
  1110.                           "line": 15,
  1111.                           "lval": "usebundle",
  1112.                           "rval": {
  1113.                             "arguments": [
  1114.                               {
  1115.                                 "type": "string",
  1116.                                 "value": "/tmp/rudder_agent_402.rpm"
  1117.                               }
  1118.                             ],
  1119.                             "name": "file_remove",
  1120.                             "type": "functionCall"
  1121.                           }
  1122.                         },
  1123.                         {
  1124.                           "line": 16,
  1125.                           "lval": "ifvarclass",
  1126.                           "rval": {
  1127.                             "arguments": [
  1128.                               {
  1129.                                 "type": "string",
  1130.                                 "value": "any.command_execution_rpm__F__tmp_rudder_agent_402_rpm_repaired"
  1131.                               }
  1132.                             ],
  1133.                             "name": "concat",
  1134.                             "type": "functionCall"
  1135.                           }
  1136.                         }
  1137.                       ],
  1138.                       "line": 15,
  1139.                       "promiser": "method_call"
  1140.                     }
  1141.                   ]
  1142.                 }
  1143.               ],
  1144.               "line": 10,
  1145.               "name": "methods"
  1146.             }
  1147.           ],
  1148.           "sourcePath": "/var/rudder/configuration-repository/ncf/50_techniques/update_Rudder_agent/update_Rudder_agent.cf"
  1149.         }
  1150.       ]
  1151.     }{
  1152.       "bodies": [],
  1153.       "bundles": [
  1154.         {
  1155.           "arguments": [],
  1156.           "bundleType": "agent",
  1157.           "line": 5,
  1158.           "name": "remount_DR_shares",
  1159.           "namespace": "default",
  1160.           "promiseTypes": [
  1161.             {
  1162.               "contexts": [
  1163.                 {
  1164.                   "name": "any",
  1165.                   "promises": [
  1166.                     {
  1167.                       "attributes": [
  1168.                         {
  1169.                           "line": 8,
  1170.                           "lval": "string",
  1171.                           "rval": {
  1172.                             "arguments": [
  1173.                               {
  1174.                                 "arguments": [
  1175.                                   {
  1176.                                     "type": "string",
  1177.                                     "value": "_"
  1178.                                   },
  1179.                                   {
  1180.                                     "type": "string",
  1181.                                     "value": "this.callers_promisers"
  1182.                                   }
  1183.                                 ],
  1184.                                 "name": "join",
  1185.                                 "type": "functionCall"
  1186.                               }
  1187.                             ],
  1188.                             "name": "canonify",
  1189.                             "type": "functionCall"
  1190.                           }
  1191.                         }
  1192.                       ],
  1193.                       "line": 8,
  1194.                       "promiser": "class_prefix"
  1195.                     }
  1196.                   ]
  1197.                 }
  1198.               ],
  1199.               "line": 7,
  1200.               "name": "vars"
  1201.             },
  1202.             {
  1203.               "contexts": [
  1204.                 {
  1205.                   "name": "any",
  1206.                   "promises": [
  1207.                     {
  1208.                       "attributes": [
  1209.                         {
  1210.                           "line": 11,
  1211.                           "lval": "usebundle",
  1212.                           "rval": {
  1213.                             "arguments": [
  1214.                               {
  1215.                                 "type": "string",
  1216.                                 "value": "umount /SG/*"
  1217.                               }
  1218.                             ],
  1219.                             "name": "command_execution",
  1220.                             "type": "functionCall"
  1221.                           }
  1222.                         },
  1223.                         {
  1224.                           "line": 12,
  1225.                           "lval": "ifvarclass",
  1226.                           "rval": {
  1227.                             "arguments": [
  1228.                               {
  1229.                                 "type": "string",
  1230.                                 "value": "any"
  1231.                               }
  1232.                             ],
  1233.                             "name": "concat",
  1234.                             "type": "functionCall"
  1235.                           }
  1236.                         }
  1237.                       ],
  1238.                       "line": 11,
  1239.                       "promiser": "method_call"
  1240.                     },
  1241.                     {
  1242.                       "attributes": [
  1243.                         {
  1244.                           "line": 13,
  1245.                           "lval": "usebundle",
  1246.                           "rval": {
  1247.                             "arguments": [
  1248.                               {
  1249.                                 "type": "string",
  1250.                                 "value": "mount -a"
  1251.                               }
  1252.                             ],
  1253.                             "name": "command_execution",
  1254.                             "type": "functionCall"
  1255.                           }
  1256.                         },
  1257.                         {
  1258.                           "line": 14,
  1259.                           "lval": "ifvarclass",
  1260.                           "rval": {
  1261.                             "arguments": [
  1262.                               {
  1263.                                 "type": "string",
  1264.                                 "value": "any"
  1265.                               }
  1266.                             ],
  1267.                             "name": "concat",
  1268.                             "type": "functionCall"
  1269.                           }
  1270.                         }
  1271.                       ],
  1272.                       "line": 13,
  1273.                       "promiser": "method_call"
  1274.                     }
  1275.                   ]
  1276.                 }
  1277.               ],
  1278.               "line": 10,
  1279.               "name": "methods"
  1280.             }
  1281.           ],
  1282.           "sourcePath": "/var/rudder/configuration-repository/ncf/50_techniques/remount_DR_shares/remount_DR_shares.cf"
  1283.         }
  1284.       ]
  1285.     }{
  1286.       "bodies": [],
  1287.       "bundles": [
  1288.         {
  1289.           "arguments": [],
  1290.           "bundleType": "agent",
  1291.           "line": 5,
  1292.           "name": "Sendmail___set_to_w_plmail01",
  1293.           "namespace": "default",
  1294.           "promiseTypes": [
  1295.             {
  1296.               "contexts": [
  1297.                 {
  1298.                   "name": "any",
  1299.                   "promises": [
  1300.                     {
  1301.                       "attributes": [
  1302.                         {
  1303.                           "line": 8,
  1304.                           "lval": "string",
  1305.                           "rval": {
  1306.                             "arguments": [
  1307.                               {
  1308.                                 "arguments": [
  1309.                                   {
  1310.                                     "type": "string",
  1311.                                     "value": "_"
  1312.                                   },
  1313.                                   {
  1314.                                     "type": "string",
  1315.                                     "value": "this.callers_promisers"
  1316.                                   }
  1317.                                 ],
  1318.                                 "name": "join",
  1319.                                 "type": "functionCall"
  1320.                               }
  1321.                             ],
  1322.                             "name": "canonify",
  1323.                             "type": "functionCall"
  1324.                           }
  1325.                         }
  1326.                       ],
  1327.                       "line": 8,
  1328.                       "promiser": "class_prefix"
  1329.                     }
  1330.                   ]
  1331.                 }
  1332.               ],
  1333.               "line": 7,
  1334.               "name": "vars"
  1335.             },
  1336.             {
  1337.               "contexts": [
  1338.                 {
  1339.                   "name": "any",
  1340.                   "promises": [
  1341.                     {
  1342.                       "attributes": [
  1343.                         {
  1344.                           "line": 11,
  1345.                           "lval": "usebundle",
  1346.                           "rval": {
  1347.                             "arguments": [
  1348.                               {
  1349.                                 "type": "string",
  1350.                                 "value": "sendmail-cf"
  1351.                               }
  1352.                             ],
  1353.                             "name": "package_install",
  1354.                             "type": "functionCall"
  1355.                           }
  1356.                         },
  1357.                         {
  1358.                           "line": 12,
  1359.                           "lval": "ifvarclass",
  1360.                           "rval": {
  1361.                             "arguments": [
  1362.                               {
  1363.                                 "type": "string",
  1364.                                 "value": "any"
  1365.                               }
  1366.                             ],
  1367.                             "name": "concat",
  1368.                             "type": "functionCall"
  1369.                           }
  1370.                         }
  1371.                       ],
  1372.                       "line": 11,
  1373.                       "promiser": "method_call"
  1374.                     },
  1375.                     {
  1376.                       "attributes": [
  1377.                         {
  1378.                           "line": 13,
  1379.                           "lval": "usebundle",
  1380.                           "rval": {
  1381.                             "arguments": [
  1382.                               {
  1383.                                 "type": "string",
  1384.                                 "value": "/etc/mail/sendmail.mc"
  1385.                               },
  1386.                               {
  1387.                                 "type": "string",
  1388.                                 "value": "^\\^define\\(`SMART_HOST\\\\', `w-plmail01.rdc.com\\\\'\\)dnl"
  1389.                               }
  1390.                             ],
  1391.                             "name": "file_ensure_lines_absent",
  1392.                             "type": "functionCall"
  1393.                           }
  1394.                         },
  1395.                         {
  1396.                           "line": 14,
  1397.                           "lval": "ifvarclass",
  1398.                           "rval": {
  1399.                             "arguments": [
  1400.                               {
  1401.                                 "type": "string",
  1402.                                 "value": "any"
  1403.                               }
  1404.                             ],
  1405.                             "name": "concat",
  1406.                             "type": "functionCall"
  1407.                           }
  1408.                         }
  1409.                       ],
  1410.                       "line": 13,
  1411.                       "promiser": "method_call"
  1412.                     },
  1413.                     {
  1414.                       "attributes": [
  1415.                         {
  1416.                           "line": 15,
  1417.                           "lval": "usebundle",
  1418.                           "rval": {
  1419.                             "arguments": [
  1420.                               {
  1421.                                 "type": "string",
  1422.                                 "value": "/etc/mail/sendmail.mc"
  1423.                               },
  1424.                               {
  1425.                                 "type": "string",
  1426.                                 "value": "dnl define\\(`SMART_HOST\\', `smtp.rdc.com\\'\\)dnl"
  1427.                               },
  1428.                               {
  1429.                                 "type": "string",
  1430.                                 "value": "dnl define(`SMART_HOST\\', `w-plmail01.rdc.com\\')dnl"
  1431.                               }
  1432.                             ],
  1433.                             "name": "file_replace_lines",
  1434.                             "type": "functionCall"
  1435.                           }
  1436.                         },
  1437.                         {
  1438.                           "line": 16,
  1439.                           "lval": "ifvarclass",
  1440.                           "rval": {
  1441.                             "arguments": [
  1442.                               {
  1443.                                 "type": "string",
  1444.                                 "value": "any"
  1445.                               }
  1446.                             ],
  1447.                             "name": "concat",
  1448.                             "type": "functionCall"
  1449.                           }
  1450.                         }
  1451.                       ],
  1452.                       "line": 15,
  1453.                       "promiser": "method_call"
  1454.                     },
  1455.                     {
  1456.                       "attributes": [
  1457.                         {
  1458.                           "line": 17,
  1459.                           "lval": "usebundle",
  1460.                           "rval": {
  1461.                             "arguments": [
  1462.                               {
  1463.                                 "type": "string",
  1464.                                 "value": "make -C /etc/mail"
  1465.                               }
  1466.                             ],
  1467.                             "name": "command_execution",
  1468.                             "type": "functionCall"
  1469.                           }
  1470.                         },
  1471.                         {
  1472.                           "line": 18,
  1473.                           "lval": "ifvarclass",
  1474.                           "rval": {
  1475.                             "arguments": [
  1476.                               {
  1477.                                 "type": "string",
  1478.                                 "value": "any"
  1479.                               }
  1480.                             ],
  1481.                             "name": "concat",
  1482.                             "type": "functionCall"
  1483.                           }
  1484.                         }
  1485.                       ],
  1486.                       "line": 17,
  1487.                       "promiser": "method_call"
  1488.                     },
  1489.                     {
  1490.                       "attributes": [
  1491.                         {
  1492.                           "line": 19,
  1493.                           "lval": "usebundle",
  1494.                           "rval": {
  1495.                             "arguments": [
  1496.                               {
  1497.                                 "type": "string",
  1498.                                 "value": "sendmail"
  1499.                               }
  1500.                             ],
  1501.                             "name": "service_restart",
  1502.                             "type": "functionCall"
  1503.                           }
  1504.                         },
  1505.                         {
  1506.                           "line": 20,
  1507.                           "lval": "ifvarclass",
  1508.                           "rval": {
  1509.                             "arguments": [
  1510.                               {
  1511.                                 "type": "string",
  1512.                                 "value": "any"
  1513.                               }
  1514.                             ],
  1515.                             "name": "concat",
  1516.                             "type": "functionCall"
  1517.                           }
  1518.                         }
  1519.                       ],
  1520.                       "line": 19,
  1521.                       "promiser": "method_call"
  1522.                     }
  1523.                   ]
  1524.                 }
  1525.               ],
  1526.               "line": 10,
  1527.               "name": "methods"
  1528.             }
  1529.           ],
  1530.           "sourcePath": "/var/rudder/configuration-repository/ncf/50_techniques/Sendmail___set_to_w_plmail01/Sendmail___set_to_w_plmail01.cf"
  1531.         }
  1532.       ]
  1533.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement