title: Puppet Manifest: Install MySQL and PHP
body: <p>I am new to Puppet and writing my first manifest but it gives me an error
  whenever an agent tries to communicate with the master. </p>
  
  <p>Couldn't get it right, need some guidance. My OS is centos 7.</p>
  
  <p>My <code>init.pp</code>:</p>
  
  <pre><code> package { 'mysql':
            ensure =&gt; 'present',
   }
  
   package { 'php':
            ensure =&gt; 'present',
   }
  
   service { 'mysql':
             ensure =&gt; 'running',
   }
  
   service { 'php':
             ensure =&gt; 'running',
   }
  </code></pre>