docs: def installed(name, user, admin_user, admin_password, admin_email, title, url):
      '''
      Run the initial setup of wordpress
  
      name
          path to the wordpress installation
  
      user
          user that owns the files for the wordpress installation
  
      admin_user
          username for wordpress website administrator user
  
      admin_password
          password for wordpress website administrator user
  
      admin_email
          email for wordpress website administrator user
  
      title
          title for the wordpress website
  
      url
          url for the wordpress website
  
      .. code-block:: yaml
  
          /var/www/html:
            wordpress.installed:
              - title: Daniel's Awesome Blog
              - user: apache
              - admin_user: dwallace
              - admin_email: dwallace@example.com
              - admin_password: password123
              - url: https://blog.dwallace.com
      '''
      ret = {'name': name,
             'changes': {},
             'comment': '',
             'result': False}
  
      check = __salt__['wordpress.is_installed'](name, user)
  
      if check:
          ret['result'] = True
          ret['comment'] = 'Wordpress is already installed: {0}'.format(name)
          return ret
      elif __opts__['test']:
          ret['result'] = None
          ret['comment'] = 'Wordpress will be installed: {0}'.format(name)
          return ret
  
      resp = __salt__['wordpress.install'](name, user, admin_user, admin_password, admin_email, title, url)
      if resp:
          ret['result'] = True
          ret['comment'] = 'Wordpress Installed: {0}'.format(name)
          ret['changes'] = {
              'new': resp
          }
      else:
          ret['comment'] = 'Failed to install wordpress: {0}'.format(name)
  
      return ret