Skip to content

mburger/puppet-adcli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Puppet module: adcli

This is a Puppet module for adcli.

Based on a template defined in http://github.com/Example42-templates/

Released under the terms of Apache 2 License.

USAGE - Basic management

  • Install adcli with default settings

      class { 'adcli': }
    
  • Install a specific version of adcli package

      class { 'adcli':
        version => '1.0.1',
      }
    
  • Disable adcli service.

      class { 'adcli':
        disable => true
      }
    
  • Remove adcli package

      class { 'adcli':
        absent => true
      }
    
  • Enable auditing without without making changes on existing adcli configuration files

      class { 'adcli':
        audit_only => true
      }
    
  • Module dry-run: Do not make any change on all the resources provided by the module

      class { 'adcli':
        noops => true
      }
    

USAGE - Overrides and Customizations

  • Use custom sources for main config file

      class { 'adcli':
        source => [ "puppet:///modules/example42/adcli/adcli.conf-${hostname}" , "puppet:///modules/example42/adcli/adcli.conf" ], 
      }
    
  • Use custom source directory for the whole configuration dir

      class { 'adcli':
        source_dir       => 'puppet:///modules/example42/adcli/conf/',
        source_dir_purge => false, # Set to true to purge any existing file not present in $source_dir
      }
    
  • Use custom template for main config file. Note that template and source arguments are alternative.

      class { 'adcli':
        template => 'example42/adcli/adcli.conf.erb',
      }
    
  • Automatically include a custom subclass

      class { 'adcli':
        my_class => 'example42::my_adcli',
      }
    

TESTING

Build Status

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors