Commits on Feb 18, 2015

  1. Remove purgedirs support

    As of R10K 1.0.0 the purgedirs functionality and configuration options
    have been removed. This module continues to configure the no longer
    acknowledged configuration options.
    
    This commit removes support for the purgedirs configuration option.
    trlinkin committed Feb 18, 2015
    Configuration menu
    Copy the full SHA
    30110d9 View commit details
    Browse the repository at this point in the history

Commits on May 1, 2015

  1. add check to prevent the pe_version fact from being evaluated unless …

    …the pe_gem provider is used. This prevents the puppet run from failing on foss puppet with strict variables enabled
    Trevor Smith committed May 1, 2015
    Configuration menu
    Copy the full SHA
    dbd3e58 View commit details
    Browse the repository at this point in the history

Commits on May 4, 2015

  1. change to use getvar to test for the existence of the pe_version fact…

    … rather than test for pe_gem being specified as the the provider for the package
    Trevor Smith committed May 4, 2015
    Configuration menu
    Copy the full SHA
    9b57cd6 View commit details
    Browse the repository at this point in the history
  2. fix comment to reflect previous commit

    Trevor Smith committed May 4, 2015
    Configuration menu
    Copy the full SHA
    262ceb1 View commit details
    Browse the repository at this point in the history
  3. change to only check the pe_version fact if the is_pe fact is 'true' …

    …or true, to account for stringified facts, as the getvar() approach still throws an error under future parser and puppet 4 on the foss version.
    Trevor Smith committed May 4, 2015
    Configuration menu
    Copy the full SHA
    c502605 View commit details
    Browse the repository at this point in the history

Commits on May 5, 2015

  1. fix test by setting is_pe fact to true

    Trevor Smith committed May 5, 2015
    Configuration menu
    Copy the full SHA
    6bf4d63 View commit details
    Browse the repository at this point in the history

Commits on May 9, 2015

  1. Add support for OpenBSD, some noteworthy points to mention:

      - Tested with OpenBSD -current, where there is a r10k package available
      - Ruby binaries on OpenBSD are prefixed with the Ruby version they are built
        for, therefore r10k is called r10k21, since that is the version Puppet
        and r10k relies on
        - that would also be the case if r10k would be installed with the 'gem'
          package provider
      - the service name of mcollective is called 'mcollectived' on OpenBSD
    
    Because of the last two mentioned points, added an osfamily dependent
     r10k_binary variable, as well as making the mc_service_name variable
    osfamily dependent too.
    
    What I tested was managing the installation of package and configuration
    file /etc/r10k.yaml as well as the prerun script added to /etc/puppet/puppet.conf
    file. Pre-run script comes in handy, since my modules/hieradata is on
    a ram disk, and on boot, it auto-fills itself before a first puppet agent
    run on the master.
    
    Not tested is the mcollective integration, since I first have to
    clean up my messed up mcollective setup. That's something that
    would come later.
    
    Further added lots of specs tests with regard to OpenBSD. Didn't specified
    a version, since the install via packages is only since AFTER OpenBSD 5.7,
    so its 5.7-current, and I didn't really wanted to base specs on such a fragile
    version number, so I better left it off.
    buzzdeee committed May 9, 2015
    Configuration menu
    Copy the full SHA
    272a005 View commit details
    Browse the repository at this point in the history

Commits on May 11, 2015

  1. Fix a few typos.

    Gabriel M Schuyler committed May 11, 2015
    3 Configuration menu
    Copy the full SHA
    c941cd0 View commit details
    Browse the repository at this point in the history

Commits on May 13, 2015

  1. Update stash_mco.rb

    * Ruby 1.8.7 does not like the trailing ','
    * Switch the path to ruby binary
    rdrgmnzs committed May 13, 2015
    Configuration menu
    Copy the full SHA
    90ab4ac View commit details
    Browse the repository at this point in the history
  2. Fix non-ssl usage

    If enable_ssl is false, the script still tries to read the
    public/private_key_path, and completely fails if the files are missing
    or invalid.
    
    This fixes the script to NOT pass those parameters (or try to read the
    files) unless enable_ssl is true.
    
    Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
    robbat2 committed May 13, 2015
    Configuration menu
    Copy the full SHA
    f627a07 View commit details
    Browse the repository at this point in the history
  3. parameterize template arguments.

    Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
    robbat2 committed May 13, 2015
    Configuration menu
    Copy the full SHA
    b748318 View commit details
    Browse the repository at this point in the history
  4. command_prefix: Ability to run mco/r10k via sudo

    It should be possible to run the webhook as an unprivileged user (eg
    nobody) and only invoke r10k/mco via sudo.
    
    sudoers examples:
    nobody ALL=(root) NOPASSWD: r10k deploy environment *, r10k deploy module *
    nobody ALL=(peadmin) NOPASSWD: mco r10k deploy *, mco r10k deploy_module *
    
    Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
    robbat2 committed May 13, 2015
    Configuration menu
    Copy the full SHA
    9a80bfa View commit details
    Browse the repository at this point in the history
  5. Merge pull request #169 from brdude/master

    Update stash_mco.rb
    acidprime committed May 13, 2015
    Configuration menu
    Copy the full SHA
    61e13f8 View commit details
    Browse the repository at this point in the history
  6. Merge pull request #163 from buzzdeee/master

    Add support for OpenBSD, some noteworthy points to mention:
    acidprime committed May 13, 2015
    Configuration menu
    Copy the full SHA
    a9c1ebf View commit details
    Browse the repository at this point in the history

Commits on May 14, 2015

  1. Merge pull request #170 from robbat2/master

    Fix non-ssl, abilliy to customize templates, and run with less privileges (but call r10k/mco via sudo)
    acidprime committed May 14, 2015
    Configuration menu
    Copy the full SHA
    f26a487 View commit details
    Browse the repository at this point in the history
  2. Add a Gentoo init script for webhook, based on the stock Gentoo init.…

    …d template.
    
    Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
    robbat2 committed May 14, 2015
    Configuration menu
    Copy the full SHA
    70e4518 View commit details
    Browse the repository at this point in the history
  3. Fix syntax.

    Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
    robbat2 committed May 14, 2015
    Configuration menu
    Copy the full SHA
    385abbd View commit details
    Browse the repository at this point in the history
  4. start-stop-daemon says startas is deprecated.

    Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
    robbat2 committed May 14, 2015
    Configuration menu
    Copy the full SHA
    ad3cd4e View commit details
    Browse the repository at this point in the history
  5. Working pidfile output!

    Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
    robbat2 committed May 14, 2015
    Configuration menu
    Copy the full SHA
    83e3005 View commit details
    Browse the repository at this point in the history
  6. Revert sysv init script to using pidfile.

    Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
    robbat2 committed May 14, 2015
    Configuration menu
    Copy the full SHA
    3e8674c View commit details
    Browse the repository at this point in the history
  7. Correctly status on Ubuntu with sysv.

    Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
    robbat2 committed May 14, 2015
    Configuration menu
    Copy the full SHA
    3f16422 View commit details
    Browse the repository at this point in the history
  8. Match Debian as string.

    Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
    robbat2 committed May 14, 2015
    Configuration menu
    Copy the full SHA
    52cd78c View commit details
    Browse the repository at this point in the history
  9. Fix whitespace.

    Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
    robbat2 committed May 14, 2015
    Configuration menu
    Copy the full SHA
    3abfb8b View commit details
    Browse the repository at this point in the history
  10. Trailing commas accidently introduced caused arrays to be in the :SSL…

    …VerifyClient parameter
    
    Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
    robbat2 committed May 14, 2015
    Configuration menu
    Copy the full SHA
    a2ec62a View commit details
    Browse the repository at this point in the history
  11. Merge pull request #172 from robbat2/gentoo

    Gentoo & Pidfile/Init fixes
    acidprime committed May 14, 2015
    Configuration menu
    Copy the full SHA
    8793bea View commit details
    Browse the repository at this point in the history
  12. Merge pull request #167 from fnaard/fix_typos

    Fix a few typos.
    acidprime committed May 14, 2015
    Configuration menu
    Copy the full SHA
    d571dc6 View commit details
    Browse the repository at this point in the history
  13. Merge branch 'master' of github.com:acidprime/r10k

    Zack Smith committed May 14, 2015
    Configuration menu
    Copy the full SHA
    87ada7d View commit details
    Browse the repository at this point in the history
  14. Add comma #167

    add @ghoneycutt 's comment
    Zack Smith committed May 14, 2015
    Configuration menu
    Copy the full SHA
    752eec0 View commit details
    Browse the repository at this point in the history
  15. Actually run as non-root, --user is for matching not chuid.

    Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
    robbat2 committed May 14, 2015
    Configuration menu
    Copy the full SHA
    6f42348 View commit details
    Browse the repository at this point in the history

Commits on May 15, 2015

  1. Merge pull request #173 from robbat2/gentoo

    Actually run as non-root, --user is for matching not chuid.
    acidprime committed May 15, 2015
    Configuration menu
    Copy the full SHA
    e9885be View commit details
    Browse the repository at this point in the history

Commits on May 17, 2015

  1. Deprecates $git_ssl_verify parameter

    * The parameter is `git_ssl_verify` b
    * But the value it's setting is the environment variable `GIT_SSL_NO_VERIFY`
    * So git_ssl_verify => 'true' is actually saying "Make sure SSL is not verified"
    * Better to rename it to `$git_no_ssl_verify` and add a deprecation to the old parameter
    * Followed by removal in a major bump
    
    Closes #165
    petems committed May 17, 2015
    Configuration menu
    Copy the full SHA
    1dfc1a0 View commit details
    Browse the repository at this point in the history
  2. Adds spec specific for $git_ssl_no_verify param

    * Both checks are happy path for now
    * But in a major bump, $git_no_verify should either be removed as a parameter, or given a specific error to say "Don't use this anymore"
    petems committed May 17, 2015
    Configuration menu
    Copy the full SHA
    d6eb4b1 View commit details
    Browse the repository at this point in the history

Commits on May 24, 2015

  1. webhook: include mcollective optionally

    When use_mcollective is set to false in the webhook.yaml, then avoid including
    the mcollective libraries
    tampakrap committed May 24, 2015
    Configuration menu
    Copy the full SHA
    cbec7dd View commit details
    Browse the repository at this point in the history
  2. Move the $webhook::{user,group} definition to params.pp

    Also, remove webhook::git_server as it seems useless
    tampakrap committed May 24, 2015
    Configuration menu
    Copy the full SHA
    b0afdf4 View commit details
    Browse the repository at this point in the history
  3. Add also service_{template,file} in webhook class declaration

    Also, drop the webhook_ prefix
    tampakrap committed May 24, 2015
    Configuration menu
    Copy the full SHA
    acdb948 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d7f0715 View commit details
    Browse the repository at this point in the history
  5. Remove the hardcoded hasstatus => false from the webhook service

    The systemd unit files do have status
    tampakrap committed May 24, 2015
    Configuration menu
    Copy the full SHA
    e5f29b8 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    2427a8b View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    8a76f37 View commit details
    Browse the repository at this point in the history
  8. Merge pull request #175 from tampakrap/webhook_optional_require_mco

    webhook: include mcollective optionally
    acidprime committed May 24, 2015
    Configuration menu
    Copy the full SHA
    937eb31 View commit details
    Browse the repository at this point in the history
  9. Merge pull request #176 from tampakrap/webhook_suse_service

    Use the webhook's systemd service file for openSUSE >= 12.1 and SLE12
    acidprime committed May 24, 2015
    Configuration menu
    Copy the full SHA
    c3c9aec View commit details
    Browse the repository at this point in the history
  10. Merge pull request #178 from tampakrap/webhook_remove_hardcoded_hasst…

    …atus
    
    Remove the hardcoded hasstatus => false from the webhook service
    acidprime committed May 24, 2015
    Configuration menu
    Copy the full SHA
    de1f053 View commit details
    Browse the repository at this point in the history
  11. Merge pull request #179 from tampakrap/webhook_init_suse

    Add SUSE support in the webhook init file
    acidprime committed May 24, 2015
    Configuration menu
    Copy the full SHA
    39fde0f View commit details
    Browse the repository at this point in the history
  12. Merge pull request #177 from tampakrap/webhook_user_group_params

    Move the $webhook::{user,group} definition to params.pp
    acidprime committed May 24, 2015
    Configuration menu
    Copy the full SHA
    0da3288 View commit details
    Browse the repository at this point in the history
  13. Merge pull request #84 from trlinkin/no_more_purgedirs

    [Deprecation] Remove purgedirs support
    acidprime committed May 24, 2015
    1 Configuration menu
    Copy the full SHA
    76f9ad2 View commit details
    Browse the repository at this point in the history

Commits on May 25, 2015

  1. Configuration menu
    Copy the full SHA
    a5b3c66 View commit details
    Browse the repository at this point in the history
  2. Conditionally install the webhook packages

    Add a $manage_packages switch on the webhook class that enables the
    installation of the webhook needed packages.
    Move the installation of the packages to a r10k::webhook::package class
    The reason is that we can skip installing the gems, and instead install distro
    packages.
    tampakrap committed May 25, 2015
    Configuration menu
    Copy the full SHA
    fdbe860 View commit details
    Browse the repository at this point in the history
  3. improve the webhook systemd unit file

    - Type=forking as webrick fails to start otherwise
    - PIDFile=$pidfile otherwise it fails to auto-detect it, and fails to stop the
      service
    - Removing the rest of the variables as they are not really needed, or their
      default values are sufficient
    tampakrap committed May 25, 2015
    Configuration menu
    Copy the full SHA
    5331cd9 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3928ecc View commit details
    Browse the repository at this point in the history

Commits on May 29, 2015

  1. Change the way the webhook logs the r10k deploy command

    Previously, the r10k run was logged in a separate file. Thus, the webhook
    returned always success if the r10k itself failed for some reason to run
    properly. This resulted in getting false positives in the CI job.
    
    With this commit the r10k stdout and stderr is sent to the web server, so that
    we can get a proper failure message in the json output
    tampakrap committed May 29, 2015
    Configuration menu
    Copy the full SHA
    a5d868a View commit details
    Browse the repository at this point in the history