1. 05 Aug, 2015 1 commit
  2. 26 Feb, 2015 1 commit
    • Sebastien Badia's avatar
      Check and lint documentation parameters · 63cbbda8
      Sebastien Badia authored
      This puppet-lint plugin checks if all parameters are documented. This commit
      also fix lint issues (due to puppet-lint upgrade) and puppet strings errors.
      
      Change-Id: If2e2be0e0c28649b0293f2988faf59b2a0e73437
      63cbbda8
  3. 12 Jun, 2014 1 commit
    • David Gurtner's avatar
      Configuring all dependencies in the manifests · 5125e5a6
      David Gurtner authored
      This patch defines the last missing dependencies between the different
      parts that make up a RADOS cluster.
      
      The entire module should now have sane dependencies and except where
      explicitely wanted, the integration tests should not need to specify
      them anymore and have been updated appropriately.
      
      Here is an overview of the dependencies:
      
      When installing:
      * packages:
        * need the repositories
      * configuration (ceph_config):
        * needs the packages, so the base folder exists
      * ceph::mon:
        * needs all configuration (ceph_config) to be done
      * ceph::key:
        * needs the binaries (package)
        * if injecting configuration needs to be available (to find the
          address of the monitor)
        * if injecting needs the monitor to be available
      * ceph::osd:
        * needs all configuration (ceph_config) to be done
        * needs monitors in the same cluster to be running
        * needs keys in the same cluster to be installed
      * ceph::pool:
        * needs all configuration (ceph_config) to be done
        * needs monitors to be running
        * needs keys to be installed
      
      When removing:
      * ceph::mon:
        * needs the binaries (package) still around
      * ceph::osd:
        * needs the monitors in the same cluster to still be available
      * ceph::pool:
        * needs the monitors to still be available
      
      Change-Id: I26933fcccdb4d953725070dc46456c36f2fee101
      5125e5a6
  4. 01 Jun, 2014 1 commit
    • David Gurtner's avatar
      Support for scenario_node_terminus for ceph::mon · 04f0f69c
      David Gurtner authored
      scenario_node_terminus allow users to specify a data layer that lives on
      top of Puppet and allows an additional level of flexibility to
      deployments.
      Is was designed to compose a set of core Puppet modules into multiple
      deployment permutations (or reference architectures) called scenarios
      while requiring as little duplicate code as possible.
      
      The above description is taken from the source:
      https://github.com/bodepd/scenario_node_terminus/
      
      This patch adds the necessary dependency information to support
      scenario_node_terminus:
      
      * Configuring the repositories before installing the package
      * Configuring /etc/ceph/ceph.conf before adding a monitor
      
      The last needed dependency of installing the package before configuring
      /etc/ceph/ceph.conf was already in place, but is necessary for this as
      well.
      
      To show the dependency information is correct, there is a basic
      integration test which installs one monitor without cephx on one host
      using scenario_node_terminus.
      
      Change-Id: Ie160c8f644d7324177b5ced00e7d5e75257e359b
      04f0f69c
  5. 18 Dec, 2013 1 commit
    • Loic Dachary's avatar
      ceph::mon create or destroy monitors · 66d91a3d
      Loic Dachary authored
      * ceph::mon resource
      
        create a MON if ensure == present or destroy one if absent
      
        all combinations of keys / keyring as specified in the blueprint are
        supported
      
      * integration tests cover all cases and unit tests are implemented to
        ensure syntax correctness
      
      * minor corrections to other classes are included ( two nodes for
        integration tests, default values for the ceph class etc. )
      
      * A ceph::mons class wrapper is created for compatibility with
        scenario_node_terminus
      
      Closes-Bug: #1251443
      
      Change-Id: Ic56a4124738006f7946ee9c166295f7048cb7854
      Signed-off-by: 's avatarLoic Dachary <loic@dachary.org>
      66d91a3d
  6. 02 Dec, 2013 1 commit
  7. 18 Nov, 2013 1 commit
    • Andrew Woodward's avatar
      Change 4 space indent to 2 · 143e4501
      Andrew Woodward authored
      In order to comply with puppet-opestack standard all files where changed to
       be a uniform 2 space indent.
      
      Change-Id: I1763f9229330fed3e6216cb2d2937a8154505981
      143e4501
  8. 15 Nov, 2013 1 commit
    • David Moreau Simard's avatar
      Introduction of ceph installation and configuration management · 1b884bdb
      David Moreau Simard authored
      * ceph is used to do the installation and configuration of
      common dependencies across classes (such as ceph package
      installation, global configuration namespaces in ceph.conf).
      
      * ceph::params is meant to hold defaults/constants for various
      classes and manage operating system differences in the future.
      
      * ceph::osd, ceph::mon, ceph::mds are introduced solely to manage
      their respective 'global' configuration for the time being.
      
      It was decided that we leave most default configurations up to Ceph
      unless they are necessary in installing the cluster.
      As such, the configurations that are probably most likely to be
      changed are available as parameters but optional. If they are not
      set (undef), the ceph_config provider will not write them to
      ceph.conf and thus, Ceph will handle the defaults.
      
      Other configuration options (exotic or otherwise) can always be
      set through the users' manifests with the help of ceph_config.
      If support is required, we can always add them if necessary.
      
      Change-Id: I0020a65fe1caada8bc46f6dc63254bcfefb64dbb
      1b884bdb