Clean tabs and trailing whitespace from manifests

This commit is contained in:
Ossi Salmi 2013-08-03 00:10:27 +03:00
parent ebde843cc6
commit bfb661b0e1
6 changed files with 16 additions and 14 deletions

View file

@ -221,7 +221,7 @@ class bacula::director($password=undef,
selinux::manage_fcontext { "${datadir}(/.*)?": selinux::manage_fcontext { "${datadir}(/.*)?":
type => "var_spool_t", type => "var_spool_t",
before => File[$datadir], before => File[$datadir],
} }
if $datadir != "/srv/bacula" { if $datadir != "/srv/bacula" {
file { "/srv/bacula": file { "/srv/bacula":
ensure => link, ensure => link,
@ -421,7 +421,7 @@ class bacula::storage($password = undef) {
# device => "/dev/nst0", # device => "/dev/nst0",
# media => "LTO3", # media => "LTO3",
# } # }
# #
define bacula::device($device, $media) { define bacula::device($device, $media) {
include bacula::storage include bacula::storage

View file

@ -17,7 +17,7 @@ class cyrus {
} }
} }
include ssl include ssl
if !$cyrus_key { if !$cyrus_key {
$postfix_key = "${puppet_ssldir}/private_keys/${homename}.pem" $postfix_key = "${puppet_ssldir}/private_keys/${homename}.pem"
@ -32,10 +32,11 @@ class cyrus {
} }
package { [ package { [
"cyrus-imapd-2.4", "cyrus-imapd-2.4",
"cyrus-clients-2.4", "cyrus-clients-2.4",
"cyrus-admin-2.4", "cyrus-admin-2.4",
"cyrus-doc-2.4", ]: "cyrus-doc-2.4",
]:
ensure => present, ensure => present,
} }
@ -62,7 +63,7 @@ class cyrus {
group => "mail", group => "mail",
notify => Service["cyrus-imapd"], notify => Service["cyrus-imapd"],
} }
exec { "usermod-cyrus-ssl-cert": exec { "usermod-cyrus-ssl-cert":
path => "/bin:/usr/bin:/sbin:/usr/sbin", path => "/bin:/usr/bin:/sbin:/usr/sbin",
command => "usermod -a -G ssl-cert cyrus", command => "usermod -a -G ssl-cert cyrus",
@ -112,4 +113,5 @@ class cyrus {
owner => "cyrus", owner => "cyrus",
group => "mail", group => "mail",
} }
}
}

View file

@ -1,6 +1,6 @@
# Install FlexLM license tools # Install FlexLM license tools
# #
class flexlm::client { class flexlm::client {
if $::kernel == "Linux" { if $::kernel == "Linux" {
@ -29,7 +29,7 @@ class flexlm::client {
"/usr/local/bin/lmstat", "/usr/local/bin/lmstat",
"/usr/local/bin/lmswitch", "/usr/local/bin/lmswitch",
"/usr/local/bin/lmver", "/usr/local/bin/lmver",
]: ]:
ensure => link, ensure => link,
target => "lmutil", target => "lmutil",
owner => "root", owner => "root",

View file

@ -336,7 +336,7 @@ class nagios::target::nrpe inherits nagios::target {
# default => "nagios-plugins-disk", # default => "nagios-plugins-disk",
# } # }
# } # }
# #
define nagios::target::nrpe::service($source=undef, define nagios::target::nrpe::service($source=undef,
$description=undef, $description=undef,
$package=undef) { $package=undef) {

View file

@ -347,7 +347,7 @@ class puppet::server::common inherits puppet::client {
require => Package["puppetmaster"], require => Package["puppetmaster"],
} }
selinux::manage_fcontext { "/srv/puppet(/.*)?": selinux::manage_fcontext { "/srv/puppet(/.*)?":
type => $seltype, type => $seltype,
before => File["/srv/puppet"], before => File["/srv/puppet"],
} }
} }

View file

@ -72,7 +72,7 @@ class samba::server::configs {
# Server description. Defaults to "Samba Server Version %v". # Server description. Defaults to "Samba Server Version %v".
# $interfaces: # $interfaces:
# Array of intefaces samba should listen to. See "interfaces" option # Array of intefaces samba should listen to. See "interfaces" option
# from smb.conf manual page for syntax. Localhost interface is # from smb.conf manual page for syntax. Localhost interface is
# added automatically. Defaults to all active interfaces. # added automatically. Defaults to all active interfaces.
# $names: # $names:
# Array of NetBIOS names that host will be advertised. Defaults to # Array of NetBIOS names that host will be advertised. Defaults to