-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from jordiprats/master
lint
- Loading branch information
Showing
6 changed files
with
49 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,3 +5,7 @@ controller-v4.0.6.1.sh | |
junit | ||
log | ||
spec/fixtures/ | ||
Gemfile.lock | ||
/.yardwarns | ||
/.yardoc | ||
/doc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# CHANGELOG | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,49 +1,15 @@ | ||
# == Class: nscd | ||
# | ||
# Full description of class nscd here. | ||
# | ||
# === Parameters | ||
# | ||
# Document parameters here. | ||
# | ||
# [*sample_parameter*] | ||
# Explanation of what this parameter affects and what it defaults to. | ||
# e.g. "Specify one or more upstream ntp servers as an array." | ||
# | ||
# === Variables | ||
# | ||
# Here you should define a list of variables that this module would require. | ||
# | ||
# [*sample_variable*] | ||
# Explanation of how this variable affects the funtion of this class and if | ||
# it has a default. e.g. "The parameter enc_ntp_servers must be set by the | ||
# External Node Classifier as a comma separated list of hostnames." (Note, | ||
# global variables should be avoided in favor of class parameters as | ||
# of Puppet 2.6.) | ||
# | ||
# === Examples | ||
# | ||
# class { 'nscd': | ||
# servers => [ 'pool.ntp.org', 'ntp.local.company.com' ], | ||
# } | ||
# | ||
# === Authors | ||
# | ||
# Author Name <[email protected]> | ||
# | ||
# === Copyright | ||
# | ||
# Copyright 2015 Your name here, unless otherwise noted. | ||
# | ||
class nscd($ensure='running', $enable=true) inherits nscd::params { | ||
class nscd( | ||
$ensure='running', | ||
$enable=true | ||
) inherits nscd::params { | ||
|
||
package { 'nscd': | ||
ensure => 'installed', | ||
} | ||
|
||
service { 'nscd': | ||
ensure => $ensure, | ||
enable => $enable, | ||
ensure => $ensure, | ||
enable => $enable, | ||
require => Package['nscd'], | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters