tmux: Lint fixes
This commit is contained in:
parent
966cac5728
commit
418407b8fe
1 changed files with 21 additions and 21 deletions
|
@ -7,24 +7,24 @@
|
|||
#
|
||||
class tmux($source=undef) {
|
||||
|
||||
if $::operatingsystem != "OpenBSD" {
|
||||
package { "tmux":
|
||||
if $::operatingsystem != 'OpenBSD' {
|
||||
package { 'tmux':
|
||||
ensure => installed,
|
||||
before => $source ? {
|
||||
undef => undef,
|
||||
default => File["/etc/tmux.conf"],
|
||||
default => File['/etc/tmux.conf'],
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
if $source {
|
||||
file { "/etc/tmux.conf":
|
||||
file { '/etc/tmux.conf':
|
||||
ensure => present,
|
||||
mode => "0644",
|
||||
owner => "root",
|
||||
mode => '0644',
|
||||
owner => 'root',
|
||||
group => $::operatingsystem ? {
|
||||
"openbsd" => "wheel",
|
||||
default => "root",
|
||||
'openbsd' => 'wheel',
|
||||
default => 'root',
|
||||
},
|
||||
source => $source,
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue