aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorThomas Backlund <tmb@mageia.org>2015-10-20 00:28:29 +0300
committerThomas Backlund <tmb@mageia.org>2015-10-20 00:28:29 +0300
commit462e0e2ffd1ee64785307048d7aafd27bf9a4fc4 (patch)
tree5096ab50eb99c1f373d106cad657bb0f7d7a123b /modules
parent544b4fe3761088699ebad6a493b3b3c91cc72ea1 (diff)
downloadpuppet-462e0e2ffd1ee64785307048d7aafd27bf9a4fc4.tar
puppet-462e0e2ffd1ee64785307048d7aafd27bf9a4fc4.tar.gz
puppet-462e0e2ffd1ee64785307048d7aafd27bf9a4fc4.tar.bz2
puppet-462e0e2ffd1ee64785307048d7aafd27bf9a4fc4.tar.xz
puppet-462e0e2ffd1ee64785307048d7aafd27bf9a4fc4.zip
lint fixes for draklive
Diffstat (limited to 'modules')
-rw-r--r--modules/draklive/manifests/init.pp34
1 files changed, 17 insertions, 17 deletions
diff --git a/modules/draklive/manifests/init.pp b/modules/draklive/manifests/init.pp
index c9a9757f..0fce54ab 100644
--- a/modules/draklive/manifests/init.pp
+++ b/modules/draklive/manifests/init.pp
@@ -1,15 +1,15 @@
class draklive {
$login = 'draklive'
$home = '/home/draklive'
- $config = "$home/live-config"
- $var_data = "$home/var-data"
+ $config = "${home}/live-config"
+ $var_data = "${home}/var-data"
# TODO merge with bcd
- $isomakers_group = 'mga-iso_makers'
+ $isomakers_group = 'mga-iso_makers'
- include sudo
+ include sudo
group { $login: }
-
+
user { $login:
home => $home,
comment => 'User for creating live ISOs',
@@ -21,24 +21,24 @@ class draklive {
content => template('draklive/sudoers.draklive')
}
- file { $var_data:
- ensure => directory,
- owner => $login,
- group => $login,
- mode => '0755',
- }
+ file { $var_data:
+ ensure => directory,
+ owner => $login,
+ group => $login,
+ mode => '0755',
+ }
- file { '/var/lib/draklive':
- ensure => symlink,
- target => $var_data,
- }
+ file { '/var/lib/draklive':
+ ensure => symlink,
+ target => $var_data,
+ }
git::snapshot { $config:
source => "git://git.$::domain/software/build-system/draklive-config",
}
cron { 'build live images':
- command => "$config/tools/build_live.sh",
+ command => "${config}/tools/build_live.sh",
user => $login,
hour => '4',
minute => '30',
@@ -48,7 +48,7 @@ class draklive {
mode => '0755',
source => 'puppet:///modules/draklive/clean-live.sh',
}
-
+
cron { 'clean live build data':
command => '/usr/local/bin/clean-live.sh',
hour => '4',