diff options
Diffstat (limited to 'manifests/defaults.pp')
-rw-r--r-- | manifests/defaults.pp | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/manifests/defaults.pp b/manifests/defaults.pp index de92d54e..9273a627 100644 --- a/manifests/defaults.pp +++ b/manifests/defaults.pp @@ -1,19 +1,19 @@ # to not repeat the settings everywhere -Exec { - path => "/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/sbin/", +Exec { + path => '/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/sbin/', } Package { - ensure => "present", + ensure => present, } File { - ensure => "present", - owner => root, - group => root, + ensure => present, + owner => 'root', + group => 'root', # on directory, this will be 755 # see http://docs.puppetlabs.com/references/2.7.0/type.html#file - mode => 644, + mode => '0644', } Group { @@ -21,23 +21,23 @@ Group { } User { - ensure => present, + ensure => present, managehome => true, - shell => "/bin/bash", + shell => '/bin/bash', } Service { ensure => running, } -define local_script($content, - $owner = "root", - $group = 'root', - $mode = '755') { +define local_script($content, + $owner = 'root', + $group = 'root', + $mode = '0755') { file { "/usr/local/bin/$name": - owner => $owner, - group => $group, - mode => $mode, + owner => $owner, + group => $group, + mode => $mode, content => $content, } } |